public abstract class ParallelIteratedSingleClassifierEnhancer extends IteratedSingleClassifierEnhancer
Constructor and Description |
---|
ParallelIteratedSingleClassifierEnhancer() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(Instances data)
Stump method for building the classifiers
|
int |
getNumExecutionSlots()
Get the number of execution slots (threads) to use for building
the members of the ensemble.
|
String[] |
getOptions()
Gets the current settings of the classifier.
|
Enumeration |
listOptions()
Returns an enumeration describing the available options.
|
String |
numExecutionSlotsTipText()
Returns the tip text for this property
|
void |
setNumExecutionSlots(int numSlots)
Set the number of execution slots (threads) to use for building the
members of the ensemble.
|
void |
setOptions(String[] options)
Parses a given list of options.
|
getNumIterations, numIterationsTipText, setNumIterations
classifierTipText, getCapabilities, getClassifier, setClassifier
classifyInstance, debugTipText, distributionForInstance, forName, getDebug, getRevision, makeCopies, makeCopy, runClassifier, setDebug
public ParallelIteratedSingleClassifierEnhancer()
public Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class IteratedSingleClassifierEnhancer
public void setOptions(String[] options) throws Exception
-Z num
Set the number of execution slots to use (default 1 - i.e. no parallelism).
Options after -- are passed to the designated classifier.
setOptions
in interface OptionHandler
setOptions
in class IteratedSingleClassifierEnhancer
options
- the list of options as an array of stringsException
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class IteratedSingleClassifierEnhancer
public void setNumExecutionSlots(int numSlots)
numSlots
- the number of slots to use.public int getNumExecutionSlots()
public String numExecutionSlotsTipText()
public void buildClassifier(Instances data) throws Exception
buildClassifier
in interface Classifier
buildClassifier
in class IteratedSingleClassifierEnhancer
data
- the training data to be used for generating the ensembleException
- if the classifier could not be built successfullyCopyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.