Class ContrastRegressionRuleSet

All Implemented Interfaces:
Serializable

public class ContrastRegressionRuleSet extends ContrastRuleSet
See Also:
  • Field Details

    • trainingMean

      protected double trainingMean
      Training set label mean.
    • groupMeans

      protected List<Double> groupMeans
      Collection of label means for contrast groups.
  • Constructor Details

    • ContrastRegressionRuleSet

      public ContrastRegressionRuleSet(IExampleSet exampleSet, boolean isVoting, InductionParameters params, Knowledge knowledge)
      Invokes base class constructor.
      Parameters:
      exampleSet - Training set.
      isVoting - Voting flag.
      params - Induction parameters.
      knowledge - User's knowledge.
  • Method Details

    • getGroupMeans

      public List<Double> getGroupMeans()
    • getTrainingMean

      public double getTrainingMean()
    • toString

      public String toString()
      Generates text representation of the contrast survival rule set. Beside list of rules, it contains survival function estimates of the training set, contrast groups set, and particular rules.
      Overrides:
      toString in class ContrastRuleSet
      Returns:
      Rule set in the text form.