Class ContrastRegressionFinder

All Implemented Interfaces:
IPenalizedFinder, AutoCloseable

public class ContrastRegressionFinder extends RegressionFinder implements IPenalizedFinder
  • Constructor Details

  • Method Details

    • getAttributePenalties

      public AttributePenaltyCollection getAttributePenalties()
      Specified by:
      getAttributePenalties in interface IPenalizedFinder
    • grow

      public int grow(Rule rule, IExampleSet dataset, Set<Integer> uncovered)
      Invokes grow method from the super class and verifies negative coverage requirement.
      Overrides:
      grow in class AbstractFinder
      Parameters:
      rule - Rule to be grown.
      dataset - Training set.
      uncovered - Set of positive examples yet uncovered by the model.
      Returns:
      Number of conditions added.
    • postprocess

      public void postprocess(Rule rule, IExampleSet dataset)
      Postprocess a rule.
      Overrides:
      postprocess in class AbstractFinder
      Parameters:
      rule - Rule to be postprocessed.
      dataset - Training set.