public interface Experiment extends weka.core.OptionHandler, Serializable, LogSupporter
Modifier and Type | Method and Description |
---|---|
void |
addExecutionStageListener(ExecutionStageListener l)
Adds the execution stage listener.
|
void |
addIterationNotificationListener(IterationNotificationListener l)
Adds the iteration listener.
|
void |
addStatisticsNotificationListener(StatisticsNotificationListener l)
Adds the statistics listener.
|
String |
classifiersTipText()
Describes this property.
|
String |
datasetProviderTipText()
Describes this property.
|
String |
evaluatorTipText()
Describes this property.
|
String |
finish()
Finishes the experiment.
|
MultiLabelClassifier[] |
getClassifiers()
Returns the classifiers to be evaluated.
|
DatasetProvider |
getDatasetProvider()
Returns the dataset provider in use.
|
Evaluator |
getEvaluator()
Returns the evaluator in use.
|
String |
getNotes()
Returns the notes.
|
List<EvaluationStatistics> |
getStatistics()
Returns the current statistics.
|
EvaluationStatisticsHandler |
getStatisticsHandler()
Returns the statistics handler.
|
String |
initialize()
Initializes the experiment.
|
boolean |
isInitializing()
Returns whether the experiment is initializing.
|
boolean |
isRunning()
Returns whether the experiment is running.
|
boolean |
isStopping()
Returns whether the experiment is stopping.
|
void |
removeExecutionStageListener(ExecutionStageListener l)
Removes the execution stage listener.
|
void |
removeIterationNotificationListener(IterationNotificationListener l)
Removes the iteration listener.
|
void |
removeStatisticsNotificationListener(StatisticsNotificationListener l)
Removes the statistics listener.
|
String |
run()
Runs the experiment.
|
void |
setClassifiers(MultiLabelClassifier[] value)
Sets the classifiers to be evaluated.
|
void |
setDatasetProvider(DatasetProvider value)
Sets the dataset provider to use.
|
void |
setEvaluator(Evaluator value)
Sets the evaluator to use.
|
void |
setNotes(String value)
Sets the notes.
|
void |
setStatisticsHandler(EvaluationStatisticsHandler value)
Sets the statistics handler.
|
String |
statisticsHandlerTipText()
Describes this property.
|
void |
stop()
Stops the experiment if still running.
|
addLogListener, log, removeLogListener
void setNotes(String value)
value
- the notesString getNotes()
void setClassifiers(MultiLabelClassifier[] value)
value
- the classifiersMultiLabelClassifier[] getClassifiers()
String classifiersTipText()
void setDatasetProvider(DatasetProvider value)
value
- the providerDatasetProvider getDatasetProvider()
String datasetProviderTipText()
void setEvaluator(Evaluator value)
value
- the evaluatorEvaluator getEvaluator()
String evaluatorTipText()
void setStatisticsHandler(EvaluationStatisticsHandler value)
value
- the handlerEvaluationStatisticsHandler getStatisticsHandler()
String statisticsHandlerTipText()
void addExecutionStageListener(ExecutionStageListener l)
l
- the listener to addvoid removeExecutionStageListener(ExecutionStageListener l)
l
- the listener to removevoid addIterationNotificationListener(IterationNotificationListener l)
l
- the listener to addvoid removeIterationNotificationListener(IterationNotificationListener l)
l
- the listener to removevoid addStatisticsNotificationListener(StatisticsNotificationListener l)
l
- the listener to addvoid removeStatisticsNotificationListener(StatisticsNotificationListener l)
l
- the listener to removeString initialize()
boolean isInitializing()
String run()
boolean isRunning()
void stop()
boolean isStopping()
String finish()
List<EvaluationStatistics> getStatistics()
Copyright © 2017. All Rights Reserved.