de.dfki.madm.mlwizard.functionality
Class Evaluator
java.lang.Object
de.dfki.madm.mlwizard.functionality.Evaluator
public class Evaluator
- extends java.lang.Object
Constructor Summary |
Evaluator()
creates a new evaluator |
Method Summary |
void |
awaitTermination()
|
void |
cancelThread(java.lang.String classifierName)
cancels the evaluation thread of a given classifier |
void |
cancelThreads()
cancel all evaluation threads |
java.util.Map<Classifier,com.rapidminer.operator.meta.ParameterSet> |
evaluate(java.lang.Iterable<Classifier> classifiers,
com.rapidminer.example.Example queryMetaFeatures,
KnowledgeBase knowledgeBase,
com.rapidminer.example.ExampleSet dataset,
int nThreads)
|
java.util.Map<Classifier,com.rapidminer.operator.meta.ParameterSet> |
evaluate(java.lang.Iterable<Classifier> classifiers,
com.rapidminer.example.Example queryMetaFeatures,
KnowledgeBase knowledgeBase,
com.rapidminer.example.ExampleSet dataset,
int nThreads,
Evaluator.EvaluationListener evaluationListener)
evaluates a set of classifier on one dataset |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Evaluator
public Evaluator()
- creates a new evaluator
evaluate
public java.util.Map<Classifier,com.rapidminer.operator.meta.ParameterSet> evaluate(java.lang.Iterable<Classifier> classifiers,
com.rapidminer.example.Example queryMetaFeatures,
KnowledgeBase knowledgeBase,
com.rapidminer.example.ExampleSet dataset,
int nThreads)
throws com.rapidminer.operator.OperatorCreationException,
java.io.IOException,
com.rapidminer.tools.XMLException
- Throws:
com.rapidminer.operator.OperatorCreationException
java.io.IOException
com.rapidminer.tools.XMLException
evaluate
public java.util.Map<Classifier,com.rapidminer.operator.meta.ParameterSet> evaluate(java.lang.Iterable<Classifier> classifiers,
com.rapidminer.example.Example queryMetaFeatures,
KnowledgeBase knowledgeBase,
com.rapidminer.example.ExampleSet dataset,
int nThreads,
Evaluator.EvaluationListener evaluationListener)
throws com.rapidminer.operator.OperatorCreationException,
java.io.IOException,
com.rapidminer.tools.XMLException
- evaluates a set of classifier on one dataset
- Parameters:
classifierNames
- the set of classifier namesqueryMetaFeatures
- the meta-features of the datasetknowledgeBase
- the knowledge base to usedataset
- the actual datasetnThreads
- number of threads for the evaluationevaluationListener
- the listener of evaluation events (might be null)
- Returns:
- a map of classifiers and their optimized parameter values
- Throws:
com.rapidminer.operator.OperatorCreationException
java.io.IOException
com.rapidminer.tools.XMLException
awaitTermination
public void awaitTermination()
throws java.lang.InterruptedException
- Throws:
java.lang.InterruptedException
cancelThread
public void cancelThread(java.lang.String classifierName)
- cancels the evaluation thread of a given classifier
- Parameters:
classifierName
- the name of the classifier which evaluation should be stopped
cancelThreads
public void cancelThreads()
- cancel all evaluation threads
Copyright © 2001-2009 by Rapid-I