Class ContrastRegressionRule
java.lang.Object
adaa.analytics.rules.logic.representation.rule.Rule
adaa.analytics.rules.logic.representation.rule.ClassificationRule
adaa.analytics.rules.logic.representation.rule.ContrastRule
adaa.analytics.rules.logic.representation.rule.ContrastRegressionRule
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Field Summary
FieldsFields inherited from class adaa.analytics.rules.logic.representation.rule.ContrastRule
CONTRAST_ATTRIBUTE_ROLE, redundancy
Fields inherited from class adaa.analytics.rules.logic.representation.rule.Rule
consequence, coveredNegatives, coveredPositives, inducedConditionsCount, premise, pvalue, ruleOrderNum, stats, weight, weighted_n, weighted_N, weighted_p, weighted_P
-
Constructor Summary
ConstructorsConstructorDescriptionContrastRegressionRule
(CompoundCondition premise, ElementaryCondition consequence) Creates contrast rule with a given premise and a consequence. -
Method Summary
Modifier and TypeMethodDescriptiondouble
GetsmeanLabel
.void
setMeanLabel
(double v) SetsmeanLabel
.Methods inherited from class adaa.analytics.rules.logic.representation.rule.ContrastRule
getRedundancy, getTableHeader, printStats, setRedundancy, toTable
Methods inherited from class adaa.analytics.rules.logic.representation.rule.ClassificationRule
covers, covers, covers, covers, getClassLabel, updateWeightAndPValue
Methods inherited from class adaa.analytics.rules.logic.representation.rule.Rule
clone, copyFrom, coversUnlabelled, equals, getConsequence, getCoveredNegatives, getCoveredPositives, getCoveringInformation, getInducedConditionsCount, getPremise, getPValue, getRuleOrderNum, getStat, getWeight, getWeighted_n, getWeighted_N, getWeighted_p, getWeighted_P, putStat, setConsequence, setCoveredNegatives, setCoveredPositives, setCoveringInformation, setInducedContitionsCount, setPremise, setPValue, setRuleOrderNum, setWeight, setWeighted_n, setWeighted_N, setWeighted_p, setWeighted_P, toString
-
Field Details
-
meanLabel
protected double meanLabelMean label of covered examples.
-
-
Constructor Details
-
ContrastRegressionRule
Creates contrast rule with a given premise and a consequence.- Parameters:
premise
- Rule premise.consequence
- Rule consequence.
-
-
Method Details