|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.rapidminer.tools.AbstractObservable<Operator>
com.rapidminer.operator.Operator
com.rapidminer.operator.OperatorChain
com.rapidminer.operator.visualization.ROCBasedComparisonOperator
public class ROCBasedComparisonOperator
This operator uses its inner operators (each of those must produce a model) and calculates the ROC curve for each of them. All ROC curves together are plotted in the same plotter. The comparison is based on the average values of a k-fold cross validation. Alternatively, this operator can use an internal split into a test and a training set from the given data set. Please note that a former predicted label of the given example set will be removed during the application of this operator.
| Field Summary | |
|---|---|
static java.lang.String |
PARAMETER_NUMBER_OF_FOLDS
The parameter name for the number of folds. |
static java.lang.String |
PARAMETER_SAMPLING_TYPE
The parameter name for "Defines the sampling type of the cross validation (linear = consecutive subsets, shuffled = random subsets, stratified = random subsets with class distribution kept constant)" |
static java.lang.String |
PARAMETER_SPLIT_RATIO
The parameter name for "Relative size of the training set" |
static java.lang.String |
PARAMETER_USE_EXAMPLE_WEIGHTS
Indicates if example weights should be used. |
| Constructor Summary | |
|---|---|
ROCBasedComparisonOperator(OperatorDescription description)
|
|
| Method Summary | |
|---|---|
void |
doWork()
Performs the actual work of the operator and must be implemented by subclasses. |
java.util.List<ParameterType> |
getParameterTypes()
Returns a list of ParameterTypes describing the parameters of this operator. |
| Methods inherited from class com.rapidminer.tools.AbstractObservable |
|---|
addObserver, addObserverAsFirst, fireUpdate, removeObserver |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String PARAMETER_NUMBER_OF_FOLDS
public static final java.lang.String PARAMETER_SPLIT_RATIO
public static final java.lang.String PARAMETER_SAMPLING_TYPE
public static final java.lang.String PARAMETER_USE_EXAMPLE_WEIGHTS
| Constructor Detail |
|---|
public ROCBasedComparisonOperator(OperatorDescription description)
| Method Detail |
|---|
public void doWork()
throws OperatorException
Operatorapply().
doWork in class OperatorChainOperatorExceptionpublic java.util.List<ParameterType> getParameterTypes()
Operator
getParameterTypes in interface ParameterHandlergetParameterTypes in class Operator
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||