|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.rapidminer.operator.learner.subgroups.utility.UtilityFunction
com.rapidminer.operator.learner.subgroups.utility.Precision
public class Precision
Calculates the precision of a rule.
Field Summary |
---|
Fields inherited from class com.rapidminer.operator.learner.subgroups.utility.UtilityFunction |
---|
ACCURACY, BIAS, BINOMIAL, COVERAGE, FUNCTIONS, LIFT, NEGATIVE_CLASS, ODDS, ODDS_RATIO, POSITIVE_CLASS, PRECISION, SQUARED, totalNegativeWeight, totalPositiveWeight, totalWeight, WRACC |
Constructor Summary | |
---|---|
Precision(double totalWeight,
double totalPositiveWeight)
|
Method Summary | |
---|---|
java.lang.String |
getAbbreviation()
|
java.lang.String |
getName()
|
double |
optimisticEstimate(Hypothesis hypothesis)
|
double |
utility(Rule rule)
|
Methods inherited from class com.rapidminer.operator.learner.subgroups.utility.UtilityFunction |
---|
getTotalNegativeWeight, getTotalPositiveWeight, getTotalWeight, getUtilityFunction, getUtilityFunctionClass, getUtilityFunctionClasses, getUtilityFunctions, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Precision(double totalWeight, double totalPositiveWeight)
Method Detail |
---|
public double utility(Rule rule)
utility
in class UtilityFunction
public double optimisticEstimate(Hypothesis hypothesis)
optimisticEstimate
in class UtilityFunction
public java.lang.String getName()
getName
in class UtilityFunction
public java.lang.String getAbbreviation()
getAbbreviation
in class UtilityFunction
|
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |