O
- Object typepublic class ClassifierHoldoutEvaluationTask<O> extends AbstractApplication
Modifier and Type | Class and Description |
---|---|
static class |
ClassifierHoldoutEvaluationTask.Parameterizer<O>
Parameterization class.
|
Modifier and Type | Field and 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.
|
protected java.util.Collection<IndexFactory<?>> |
indexFactories
Indexes to add.
|
private static Logging |
LOG
Class logger.
|
REFERENCE, VERSION
Constructor and Description |
---|
ClassifierHoldoutEvaluationTask(DatabaseConnection databaseConnection,
java.util.Collection<IndexFactory<?>> indexFactories,
Classifier<O> algorithm,
Holdout holdout)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
static void |
main(java.lang.String[] args)
Runs the classifier evaluation task accordingly to the specified
parameters.
|
void |
run()
Runs the application.
|
printErrorMessage, runCLIApplication, usage
private static final Logging LOG
protected DatabaseConnection databaseConnection
protected java.util.Collection<IndexFactory<?>> indexFactories
protected Classifier<O> algorithm
protected Holdout holdout
public ClassifierHoldoutEvaluationTask(DatabaseConnection databaseConnection, java.util.Collection<IndexFactory<?>> indexFactories, Classifier<O> algorithm, Holdout holdout)
databaseConnection
- Data sourceindexFactories
- Data indexesalgorithm
- Classification algorithmholdout
- Evaluation holdoutpublic void run()
AbstractApplication
run
in class AbstractApplication
public static void main(java.lang.String[] args)
args
- parameter list according to descriptionCopyright © 2019 ELKI Development Team. License information.