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, setNumIterationsclassifierTipText, getCapabilities, getClassifier, setClassifierclassifyInstance, debugTipText, distributionForInstance, forName, getDebug, getRevision, makeCopies, makeCopy, runClassifier, setDebugpublic ParallelIteratedSingleClassifierEnhancer()
public Enumeration listOptions()
listOptions in interface OptionHandlerlistOptions in class IteratedSingleClassifierEnhancerpublic 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 OptionHandlersetOptions in class IteratedSingleClassifierEnhanceroptions - the list of options as an array of stringsException - if an option is not supportedpublic String[] getOptions()
getOptions in interface OptionHandlergetOptions in class IteratedSingleClassifierEnhancerpublic 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 ClassifierbuildClassifier in class IteratedSingleClassifierEnhancerdata - 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.