public class RemoveDuplicates extends SimpleBatchFilter implements WeightedAttributesHandler, WeightedInstancesHandler
-D Turns on output of debugging information.
Constructor and Description |
---|
RemoveDuplicates() |
Modifier and Type | Method and Description |
---|---|
Capabilities |
getCapabilities()
Returns the Capabilities of this filter.
|
java.lang.String |
getRevision()
Returns the revision string.
|
java.lang.String |
globalInfo()
Returns a string describing this filter.
|
boolean |
input(Instance instance)
Input an instance for filtering.
|
static void |
main(java.lang.String[] args)
Main method for running this filter.
|
allowAccessToFullInputFormat, batchFinished, input
setInputFormat
batchFilterFile, debugTipText, doNotCheckCapabilitiesTipText, filterFile, getCapabilities, getCopyOfInputFormat, getDebug, getDoNotCheckCapabilities, getOptions, getOutputFormat, isFirstBatchDone, isNewBatch, isOutputFormatDefined, listOptions, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputPeek, postExecution, preExecution, run, runFilter, setDebug, setDoNotCheckCapabilities, setOptions, toString, useFilter, wekaStaticWrapper
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
makeCopy
public java.lang.String globalInfo()
globalInfo
in class SimpleFilter
public boolean input(Instance instance) throws java.lang.Exception
input
in class SimpleBatchFilter
instance
- the input instancejava.lang.IllegalStateException
- if no input structure has been definedjava.lang.Exception
- if something goes wrongSimpleBatchFilter.batchFinished()
public Capabilities getCapabilities()
getCapabilities
in interface CapabilitiesHandler
getCapabilities
in class Filter
Capabilities
public java.lang.String getRevision()
getRevision
in interface RevisionHandler
getRevision
in class Filter
public static void main(java.lang.String[] args)
args
- arguments for the filter: use -h for help