Package elki.application
Class ClassifierHoldoutEvaluationTask.Par<O>
- java.lang.Object
-
- elki.application.AbstractApplication.Par
-
- elki.application.ClassifierHoldoutEvaluationTask.Par<O>
-
- All Implemented Interfaces:
Parameterizer
- Enclosing class:
- ClassifierHoldoutEvaluationTask<O>
public static class ClassifierHoldoutEvaluationTask.Par<O> extends AbstractApplication.Par
Parameterization class.- Author:
- Erich Schubert
-
-
Field Summary
Fields Modifier and Type Field Description protected Classifier<O>
algorithm
Classifier to evaluate.protected DatabaseConnection
databaseConnection
Holds the database connection to get the initial data from.protected Holdout
holdout
Holds the holdout.static OptionID
HOLDOUT_ID
Parameter to specify the holdout for evaluation, must extendHoldout
.protected java.util.Collection<? extends IndexFactory<?>>
indexFactories
Indexes to add.-
Fields inherited from class elki.application.AbstractApplication.Par
DATABASE_ID, DEBUG_ID, DESCRIPTION_ID, HELP_ID, HELP_LONG_ID, INPUT_ID, OUTPUT_ID, VERBOSE_ID
-
-
Constructor Summary
Constructors Constructor Description Par()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
configure(Parameterization config)
Configure the class.ClassifierHoldoutEvaluationTask<O>
make()
Make an instance after successful configuration.-
Methods inherited from class elki.application.AbstractApplication.Par
applyLoggingLevels, getParameterInputFile, getParameterInputFile, getParameterOutputFile, getParameterOutputFile, parseDebugParameter, parseVerbose
-
-
-
-
Field Detail
-
HOLDOUT_ID
public static final OptionID HOLDOUT_ID
Parameter to specify the holdout for evaluation, must extendHoldout
.
-
databaseConnection
protected DatabaseConnection databaseConnection
Holds the database connection to get the initial data from.
-
indexFactories
protected java.util.Collection<? extends IndexFactory<?>> indexFactories
Indexes to add.
-
algorithm
protected Classifier<O> algorithm
Classifier to evaluate.
-
holdout
protected Holdout holdout
Holds the holdout.
-
-
Method Detail
-
configure
public void configure(Parameterization config)
Description copied from interface:Parameterizer
Configure the class.Note: the status is collected by the parameterization object, so that multiple errors may arise and be reported in one run.
- Parameters:
config
- Parameterization
-
make
public ClassifierHoldoutEvaluationTask<O> make()
Description copied from interface:Parameterizer
Make an instance after successful configuration.Note: your class should return the exact type, only this very broad interface should use
Object
as return type.- Specified by:
make
in interfaceParameterizer
- Specified by:
make
in classAbstractApplication.Par
- Returns:
- a new instance
-
-