public class MultiBoostAB extends AdaBoostM1 implements TechnicalInformationHandler
@article{Webb2000, address = {Boston}, author = {Geoffrey I. Webb}, journal = {Machine Learning}, number = {No.2}, publisher = {Kluwer Academic Publishers}, title = {MultiBoosting: A Technique for Combining Boosting and Wagging}, volume = {Vol.40}, year = {2000} }Valid options are:
-C <num> Number of sub-committees. (Default 3)
-P <num> Percentage of weight mass to base training on. (default 100, reduce to around 90 speed up)
-Q Use resampling for boosting.
-S <num> Random number seed. (default 1)
-I <num> Number of iterations. (default 10)
-D If set, classifier is run in debug mode and may output additional info to the console
-W Full name of base classifier. (default: weka.classifiers.trees.DecisionStump)
Options specific to classifier weka.classifiers.trees.DecisionStump:
-D If set, classifier is run in debug mode and may output additional info to the consoleOptions after -- are passed to the designated classifier.
Constructor and Description |
---|
MultiBoostAB() |
Modifier and Type | Method and Description |
---|---|
void |
buildClassifier(Instances training)
Method for building this classifier.
|
int |
getNumSubCmtys()
Get the number of sub committees to use
|
java.lang.String[] |
getOptions()
Gets the current settings of the Classifier.
|
java.lang.String |
getRevision()
Returns the revision string.
|
TechnicalInformation |
getTechnicalInformation()
Returns an instance of a TechnicalInformation object, containing
detailed information about the technical background of this class,
e.g., paper reference or book this class is based on.
|
java.lang.String |
globalInfo()
Returns a string describing classifier
|
java.util.Enumeration |
listOptions()
Returns an enumeration describing the available options
|
static void |
main(java.lang.String[] argv)
Main method for testing this class.
|
java.lang.String |
numSubCmtysTipText()
Returns the tip text for this property
|
void |
setNumSubCmtys(int subc)
Set the number of sub committees to use
|
void |
setOptions(java.lang.String[] options)
Parses a given list of options.
|
java.lang.String |
toString()
Returns description of the boosted classifier.
|
distributionForInstance, getCapabilities, getUseResampling, getWeightThreshold, setUseResampling, setWeightThreshold, toSource, useResamplingTipText, weightThresholdTipText
getSeed, seedTipText, setSeed
getNumIterations, numIterationsTipText, setNumIterations
classifierTipText, getClassifier, setClassifier
classifyInstance, debugTipText, forName, getDebug, makeCopies, makeCopy, setDebug
public java.lang.String globalInfo()
globalInfo
in class AdaBoostM1
public TechnicalInformation getTechnicalInformation()
getTechnicalInformation
in interface TechnicalInformationHandler
getTechnicalInformation
in class AdaBoostM1
public java.util.Enumeration listOptions()
listOptions
in interface OptionHandler
listOptions
in class AdaBoostM1
public void setOptions(java.lang.String[] options) throws java.lang.Exception
-C <num> Number of sub-committees. (Default 3)
-P <num> Percentage of weight mass to base training on. (default 100, reduce to around 90 speed up)
-Q Use resampling for boosting.
-S <num> Random number seed. (default 1)
-I <num> Number of iterations. (default 10)
-D If set, classifier is run in debug mode and may output additional info to the console
-W Full name of base classifier. (default: weka.classifiers.trees.DecisionStump)
Options specific to classifier weka.classifiers.trees.DecisionStump:
-D If set, classifier is run in debug mode and may output additional info to the consoleOptions after -- are passed to the designated classifier.
setOptions
in interface OptionHandler
setOptions
in class AdaBoostM1
options
- the list of options as an array of stringsjava.lang.Exception
- if an option is not supportedpublic java.lang.String[] getOptions()
getOptions
in interface OptionHandler
getOptions
in class AdaBoostM1
public java.lang.String numSubCmtysTipText()
public void setNumSubCmtys(int subc)
subc
- the number of sub committeespublic int getNumSubCmtys()
public void buildClassifier(Instances training) throws java.lang.Exception
buildClassifier
in class AdaBoostM1
training
- the data to train withjava.lang.Exception
- if the training failspublic java.lang.String toString()
toString
in class AdaBoostM1
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class AdaBoostM1
public static void main(java.lang.String[] argv)
argv
- the options