Class RemoveUnusedClassValues
- java.lang.Object
-
- weka.filters.Filter
-
- weka.filters.SimpleFilter
-
- weka.filters.SimpleBatchFilter
-
- weka.filters.unsupervised.attribute.RemoveUnusedClassValues
-
- All Implemented Interfaces:
Serializable
,weka.core.CapabilitiesHandler
,weka.core.CapabilitiesIgnorer
,weka.core.CommandlineRunnable
,weka.core.OptionHandler
,weka.core.RevisionHandler
public class RemoveUnusedClassValues extends weka.filters.SimpleBatchFilter implements weka.core.OptionHandler
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RemoveUnusedClassValues()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected weka.core.Instances
determineOutputFormat(weka.core.Instances inputFormat)
weka.core.Capabilities
getCapabilities()
String[]
getOptions()
String
globalInfo()
Enumeration<weka.core.Option>
listOptions()
static void
main(String[] argv)
Main method for testing this class.protected weka.core.Instances
process(weka.core.Instances inst)
void
setOptions(String[] options)
-
Methods inherited from class weka.filters.SimpleBatchFilter
allowAccessToFullInputFormat, batchFinished, hasImmediateOutputFormat, input, input
-
Methods inherited from class weka.filters.Filter
batchFilterFile, bufferInput, copyValues, copyValues, debugTipText, doNotCheckCapabilitiesTipText, filterFile, flushInput, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getInputFormat, getOutputFormat, getRevision, initInputLocators, initOutputLocators, inputFormatPeek, isFirstBatchDone, isNewBatch, isOutputFormatDefined, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputFormatPeek, outputPeek, postExecution, preExecution, push, push, resetQueue, run, runFilter, setDebug, setDoNotCheckCapabilities, setOutputFormat, testInputFormat, toString, useFilter, wekaStaticWrapper
-
-
-
-
Method Detail
-
globalInfo
public String globalInfo()
- Specified by:
globalInfo
in classweka.filters.SimpleFilter
-
getCapabilities
public weka.core.Capabilities getCapabilities()
- Specified by:
getCapabilities
in interfaceweka.core.CapabilitiesHandler
- Overrides:
getCapabilities
in classweka.filters.Filter
-
determineOutputFormat
protected weka.core.Instances determineOutputFormat(weka.core.Instances inputFormat)
- Specified by:
determineOutputFormat
in classweka.filters.SimpleFilter
-
process
protected weka.core.Instances process(weka.core.Instances inst)
- Specified by:
process
in classweka.filters.SimpleFilter
-
setOptions
public void setOptions(String[] options) throws Exception
- Specified by:
setOptions
in interfaceweka.core.OptionHandler
- Overrides:
setOptions
in classweka.filters.Filter
- Throws:
Exception
-
listOptions
public Enumeration<weka.core.Option> listOptions()
- Specified by:
listOptions
in interfaceweka.core.OptionHandler
- Overrides:
listOptions
in classweka.filters.Filter
-
getOptions
public String[] getOptions()
- Specified by:
getOptions
in interfaceweka.core.OptionHandler
- Overrides:
getOptions
in classweka.filters.Filter
-
main
public static void main(String[] argv)
Main method for testing this class.- Parameters:
argv
- should contain arguments to the filter: use -h for help
-
-