类 RacedIncrementalLogitBoost
java.lang.Object
weka.classifiers.Classifier
weka.classifiers.SingleClassifierEnhancer
weka.classifiers.RandomizableSingleClassifierEnhancer
weka.classifiers.meta.RacedIncrementalLogitBoost
- 所有已实现的接口:
Serializable
,Cloneable
,UpdateableClassifier
,CapabilitiesHandler
,OptionHandler
,Randomizable
,RevisionHandler
,TechnicalInformationHandler
public class RacedIncrementalLogitBoost
extends RandomizableSingleClassifierEnhancer
implements UpdateableClassifier, TechnicalInformationHandler
Classifier for incremental learning of large datasets by way of racing logit-boosted committees.
For more information see:
Eibe Frank, Geoffrey Holmes, Richard Kirkby, Mark Hall: Racing committees for large datasets. In: Proceedings of the 5th International Conferenceon Discovery Science, 153-164, 2002. BibTeX:
For more information see:
Eibe Frank, Geoffrey Holmes, Richard Kirkby, Mark Hall: Racing committees for large datasets. In: Proceedings of the 5th International Conferenceon Discovery Science, 153-164, 2002. BibTeX:
@inproceedings{Frank2002, author = {Eibe Frank and Geoffrey Holmes and Richard Kirkby and Mark Hall}, booktitle = {Proceedings of the 5th International Conferenceon Discovery Science}, pages = {153-164}, publisher = {Springer}, title = { Racing committees for large datasets}, year = {2002} }Valid options are:
-C <num> Minimum size of chunks. (default 500)
-M <num> Maximum size of chunks. (default 2000)
-V <num> Size of validation set. (default 1000)
-P <pruning type> Committee pruning to perform. 0=none, 1=log likelihood (default)
-Q Use resampling for boosting.
-S <num> Random number seed. (default 1)
-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 learner.
- 版本:
- $Revision: 6477 $
- 作者:
- Richard Kirkby (rkirkby@cs.waikato.ac.nz), Eibe Frank (eibe@cs.waikato.ac.nz)
- 另请参阅:
-
字段概要
字段修饰符和类型字段说明static final int
log likelihood pruningstatic final int
no pruningstatic final Tag[]
The pruning types -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明void
buildClassifier
(Instances data) Builds the classifier.double[]
distributionForInstance
(Instance instance) Computes class distribution of an instance using the best committee.int
Get the best committee chunk sizedouble
Get the best committee's error on the validation datadouble
Get the best committee's log likelihood on the validation dataint
Get the number of members in the best committeeReturns default capabilities of the classifier.int
Get the maximum chunk sizeint
Get the minimum chunk sizeString[]
Gets the current settings of the Classifier.Get the pruning typeReturns the revision string.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.boolean
Get whether resampling is turned onint
Get the validation chunk sizeReturns an enumeration describing the available optionsstatic void
Main method for this class.void
setClassifier
(Classifier newClassifier) Set the base learner.void
setMaxChunkSize
(int chunkSize) Set the maximum chunk sizevoid
setMinChunkSize
(int chunkSize) Set the minimum chunk sizevoid
setOptions
(String[] options) Parses a given list of options.void
setPruningType
(SelectedTag pruneType) Set the pruning typevoid
setUseResampling
(boolean r) Set resampling modevoid
setValidationChunkSize
(int chunkSize) Set the validation chunk sizetoString()
Returns description of the boosted classifier.void
updateClassifier
(Instance instance) Updates the classifier.从类继承的方法 weka.classifiers.RandomizableSingleClassifierEnhancer
getSeed, seedTipText, setSeed
从类继承的方法 weka.classifiers.SingleClassifierEnhancer
classifierTipText, getClassifier
从类继承的方法 weka.classifiers.Classifier
classifyInstance, debugTipText, forName, getDebug, makeCopies, makeCopy, setDebug
-
字段详细资料
-
构造器详细资料
-
RacedIncrementalLogitBoost
public RacedIncrementalLogitBoost()Constructor.
-
-
方法详细资料
-
getCapabilities
Returns default capabilities of the classifier.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中SingleClassifierEnhancer
- 返回:
- the capabilities of this classifier
- 另请参阅:
-
buildClassifier
Builds the classifier.- 指定者:
buildClassifier
在类中Classifier
- 参数:
data
- the instances to train the classifier with- 抛出:
Exception
- if something goes wrong
-
updateClassifier
Updates the classifier.- 指定者:
updateClassifier
在接口中UpdateableClassifier
- 参数:
instance
- the next instance in the stream of training data- 抛出:
Exception
- if something goes wrong
-
distributionForInstance
Computes class distribution of an instance using the best committee.- 覆盖:
distributionForInstance
在类中Classifier
- 参数:
instance
- the instance to get the distribution for- 返回:
- the distribution
- 抛出:
Exception
- if anything goes wrong
-
listOptions
Returns an enumeration describing the available options- 指定者:
listOptions
在接口中OptionHandler
- 覆盖:
listOptions
在类中RandomizableSingleClassifierEnhancer
- 返回:
- an enumeration of all the available options
-
setOptions
Parses a given list of options. Valid options are:-C <num> Minimum size of chunks. (default 500)
-M <num> Maximum size of chunks. (default 2000)
-V <num> Size of validation set. (default 1000)
-P <pruning type> Committee pruning to perform. 0=none, 1=log likelihood (default)
-Q Use resampling for boosting.
-S <num> Random number seed. (default 1)
-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 console
- 指定者:
setOptions
在接口中OptionHandler
- 覆盖:
setOptions
在类中RandomizableSingleClassifierEnhancer
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported
-
getOptions
Gets the current settings of the Classifier.- 指定者:
getOptions
在接口中OptionHandler
- 覆盖:
getOptions
在类中RandomizableSingleClassifierEnhancer
- 返回:
- an array of strings suitable for passing to setOptions
-
globalInfo
- 返回:
- a description of the classifier suitable for displaying in the explorer/experimenter gui
-
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.- 指定者:
getTechnicalInformation
在接口中TechnicalInformationHandler
- 返回:
- the technical information about this class
-
setClassifier
Set the base learner.- 覆盖:
setClassifier
在类中SingleClassifierEnhancer
- 参数:
newClassifier
- the classifier to use.- 抛出:
IllegalArgumentException
- if base classifier cannot handle numeric class
-
minChunkSizeTipText
- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setMinChunkSize
public void setMinChunkSize(int chunkSize) Set the minimum chunk size- 参数:
chunkSize
- the minimum chunk size
-
getMinChunkSize
public int getMinChunkSize()Get the minimum chunk size- 返回:
- the chunk size
-
maxChunkSizeTipText
- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setMaxChunkSize
public void setMaxChunkSize(int chunkSize) Set the maximum chunk size- 参数:
chunkSize
- the maximum chunk size
-
getMaxChunkSize
public int getMaxChunkSize()Get the maximum chunk size- 返回:
- the chunk size
-
validationChunkSizeTipText
- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setValidationChunkSize
public void setValidationChunkSize(int chunkSize) Set the validation chunk size- 参数:
chunkSize
- the validation chunk size
-
getValidationChunkSize
public int getValidationChunkSize()Get the validation chunk size- 返回:
- the chunk size
-
pruningTypeTipText
- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setPruningType
Set the pruning type- 参数:
pruneType
- the pruning type
-
getPruningType
Get the pruning type- 返回:
- the type
-
useResamplingTipText
- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setUseResampling
public void setUseResampling(boolean r) Set resampling mode- 参数:
r
- true if resampling should be done
-
getUseResampling
public boolean getUseResampling()Get whether resampling is turned on- 返回:
- true if resampling output is on
-
getBestCommitteeChunkSize
public int getBestCommitteeChunkSize()Get the best committee chunk size- 返回:
- the best committee chunk size
-
getBestCommitteeSize
public int getBestCommitteeSize()Get the number of members in the best committee- 返回:
- the number of members
-
getBestCommitteeErrorEstimate
public double getBestCommitteeErrorEstimate()Get the best committee's error on the validation data- 返回:
- the best committee's error
-
getBestCommitteeLLEstimate
public double getBestCommitteeLLEstimate()Get the best committee's log likelihood on the validation data- 返回:
- best committee's log likelihood
-
toString
Returns description of the boosted classifier. -
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中Classifier
- 返回:
- the revision
-
main
Main method for this class.- 参数:
argv
- the commandline parameters
-