
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 Collection<IndexFactory<?,?>> |
indexFactories
Indexes to add.
|
private static Logging |
LOG
Class logger.
|
REFERENCE, VERSION| Constructor and Description |
|---|
ClassifierHoldoutEvaluationTask(DatabaseConnection databaseConnection,
Collection<IndexFactory<?,?>> indexFactories,
Classifier<O> algorithm,
Holdout holdout)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
main(String[] args)
Runs the classifier evaluation task accordingly to the specified
parameters.
|
void |
run()
Runs the application.
|
printErrorMessage, runCLIApplication, usageprivate static final Logging LOG
protected DatabaseConnection databaseConnection
protected Collection<IndexFactory<?,?>> indexFactories
protected Classifier<O> algorithm
protected Holdout holdout
public ClassifierHoldoutEvaluationTask(DatabaseConnection databaseConnection, Collection<IndexFactory<?,?>> indexFactories, Classifier<O> algorithm, Holdout holdout)
databaseConnection - Data sourceindexFactories - Data indexesalgorithm - Classification algorithmholdout - Evaluation holdoutpublic void run()
throws UnableToComplyException
AbstractApplicationrun in class AbstractApplicationUnableToComplyException - if an error occurs during running the
applicationpublic static void main(String[] args)
args - parameter list according to descriptionCopyright © 2015 ELKI Development Team, Lehr- und Forschungseinheit für Datenbanksysteme, Ludwig-Maximilians-Universität München. License information.