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.InstancesdetermineOutputFormat(weka.core.Instances inputFormat)weka.core.CapabilitiesgetCapabilities()String[]getOptions()StringglobalInfo()Enumeration<weka.core.Option>listOptions()static voidmain(String[] argv)Main method for testing this class.protected weka.core.Instancesprocess(weka.core.Instances inst)voidsetOptions(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:
 globalInfoin classweka.filters.SimpleFilter
 
- 
getCapabilities
public weka.core.Capabilities getCapabilities()
- Specified by:
 getCapabilitiesin interfaceweka.core.CapabilitiesHandler- Overrides:
 getCapabilitiesin classweka.filters.Filter
 
- 
determineOutputFormat
protected weka.core.Instances determineOutputFormat(weka.core.Instances inputFormat)
- Specified by:
 determineOutputFormatin classweka.filters.SimpleFilter
 
- 
process
protected weka.core.Instances process(weka.core.Instances inst)
- Specified by:
 processin classweka.filters.SimpleFilter
 
- 
setOptions
public void setOptions(String[] options) throws Exception
- Specified by:
 setOptionsin interfaceweka.core.OptionHandler- Overrides:
 setOptionsin classweka.filters.Filter- Throws:
 Exception
 
- 
listOptions
public Enumeration<weka.core.Option> listOptions()
- Specified by:
 listOptionsin interfaceweka.core.OptionHandler- Overrides:
 listOptionsin classweka.filters.Filter
 
- 
getOptions
public String[] getOptions()
- Specified by:
 getOptionsin interfaceweka.core.OptionHandler- Overrides:
 getOptionsin 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
 
 - 
 
 -