|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.operator.Operator
com.rapidminer.operator.performance.AbstractPerformanceEvaluator
com.rapidminer.operator.performance.SimplePerformanceEvaluator
public class SimplePerformanceEvaluator
In contrast to the other performance evaluation methods, this performance
evaluator operator can be used for all types of learning tasks. It will
automatically determine the learning task type and will calculate the most
common criteria for this type. For more sophisticated performance calculations,
you should check the operators RegressionPerformanceEvaluator,
PolynominalClassificationPerformanceEvaluator, or
BinominalClassificationPerformanceEvaluator. You can even
simply write your own performance measure and calculate it with the
operator UserBasedPerformanceEvaluator.
The operator expects a test ExampleSet
as input, whose elements have both true and predicted labels, and delivers as
output a list of most commmon performance values for the provided learning
task type (regression of (binominal) classification. If an input performance
vector was already given, this is used for keeping the performance values.
| Field Summary |
|---|
| Fields inherited from class com.rapidminer.operator.performance.AbstractPerformanceEvaluator |
|---|
PARAMETER_COMPARATOR_CLASS, PARAMETER_MAIN_CRITERION, PARAMETER_SKIP_UNDEFINED_LABELS |
| Constructor Summary | |
|---|---|
SimplePerformanceEvaluator(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
protected void |
checkCompatibility(ExampleSet exampleSet)
Does nothing. |
protected double[] |
getClassWeights(Attribute label)
Returns null. |
java.util.List<PerformanceCriterion> |
getCriteria()
Delivers the list of criteria which is able for this operator. |
protected void |
init(ExampleSet testSet)
Uses this example set in order to create appropriate criteria. |
protected boolean |
showComparatorParameter()
Returns false. |
protected boolean |
showSkipNaNLabelsParameter()
Returns false. |
| Methods inherited from class com.rapidminer.operator.performance.AbstractPerformanceEvaluator |
|---|
apply, evaluate, evaluate, getInputClasses, getInputDescription, getOutputClasses, getParameterTypes, showCriteriaParameter |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SimplePerformanceEvaluator(OperatorDescription description)
| Method Detail |
|---|
protected void checkCompatibility(ExampleSet exampleSet)
throws OperatorException
checkCompatibility in class AbstractPerformanceEvaluatorOperatorException
protected double[] getClassWeights(Attribute label)
throws UndefinedParameterError
getClassWeights in class AbstractPerformanceEvaluatorUndefinedParameterErrorprotected void init(ExampleSet testSet)
init in class AbstractPerformanceEvaluatorprotected boolean showSkipNaNLabelsParameter()
showSkipNaNLabelsParameter in class AbstractPerformanceEvaluatorprotected boolean showComparatorParameter()
showComparatorParameter in class AbstractPerformanceEvaluatorpublic java.util.List<PerformanceCriterion> getCriteria()
AbstractPerformanceEvaluator
getCriteria in class AbstractPerformanceEvaluator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||