类 ClassAssigner
java.lang.Object
weka.filters.Filter
weka.filters.SimpleFilter
weka.filters.SimpleStreamFilter
weka.filters.unsupervised.attribute.ClassAssigner
Filter that can set and unset the class index.
Valid options are:
-D Turns on output of debugging information.
-C <num|first|last|0> The index of the class attribute. Index starts with 1, 'first' and 'last' are accepted, '0' unsets the class index. (default: last)
- 版本:
- $Revision: 5543 $
- 作者:
- fracpete (fracpete at waikato dot ac dot nz)
- 另请参阅:
-
字段概要
字段 -
构造器概要
构造器 -
方法概要
修饰符和类型方法说明Returns the tip text for this property.Returns the Capabilities of this filter.returns the class index.String[]
Gets the current settings of the filter.Returns the revision string.Returns a string describing this classifier.Returns an enumeration describing the available options.static void
Main method for executing this class.void
setClassIndex
(String value) sets the class index.void
setOptions
(String[] options) Parses a list of options for this object.从类继承的方法 weka.filters.SimpleStreamFilter
batchFinished, input
从类继承的方法 weka.filters.SimpleFilter
debugTipText, getDebug, setDebug, setInputFormat
从类继承的方法 weka.filters.Filter
batchFilterFile, filterFile, getCapabilities, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, numPendingOutput, output, outputPeek, toString, useFilter, wekaStaticWrapper
-
字段详细资料
-
构造器详细资料
-
ClassAssigner
public ClassAssigner()
-
-
方法详细资料
-
globalInfo
Returns a string describing this classifier.- 指定者:
globalInfo
在类中SimpleFilter
- 返回:
- a description of the classifier suitable for displaying in the explorer/experimenter gui
-
listOptions
Returns an enumeration describing the available options.- 指定者:
listOptions
在接口中OptionHandler
- 覆盖:
listOptions
在类中SimpleFilter
- 返回:
- an enumeration of all the available options.
-
setOptions
Parses a list of options for this object. Valid options are:-D Turns on output of debugging information.
-C <num|first|last|0> The index of the class attribute. Index starts with 1, 'first' and 'last' are accepted, '0' unsets the class index. (default: last)
- 指定者:
setOptions
在接口中OptionHandler
- 覆盖:
setOptions
在类中SimpleFilter
- 参数:
options
- the list of options as an array of strings- 抛出:
Exception
- if an option is not supported- 另请参阅:
-
SimpleFilter.reset()
-
getOptions
Gets the current settings of the filter.- 指定者:
getOptions
在接口中OptionHandler
- 覆盖:
getOptions
在类中SimpleFilter
- 返回:
- an array of strings suitable for passing to setOptions
-
classIndexTipText
Returns the tip text for this property.- 返回:
- tip text for this property suitable for displaying in the explorer/experimenter gui
-
setClassIndex
sets the class index.- 参数:
value
- the class index
-
getClassIndex
returns the class index.- 返回:
- the class index
-
getCapabilities
Returns the Capabilities of this filter.- 指定者:
getCapabilities
在接口中CapabilitiesHandler
- 覆盖:
getCapabilities
在类中Filter
- 返回:
- the capabilities of this object
- 另请参阅:
-
getRevision
Returns the revision string.- 指定者:
getRevision
在接口中RevisionHandler
- 覆盖:
getRevision
在类中Filter
- 返回:
- the revision
-
main
Main method for executing this class.- 参数:
args
- should contain arguments for the filter: use -h for help
-