|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.filters.Filter
weka.filters.SimpleFilter
weka.filters.SimpleBatchFilter
weka.filters.unsupervised.attribute.AbstractColumnFinderApplier
weka.filters.unsupervised.attribute.DatasetCleaner
public class DatasetCleaner
Removes all columns from the data data that have been indentified.
Valid options are:-D Turns on output of debugging information.
-W <column finder specification> Full class name of column finder to use, followed by scheme options. eg: "adams.data.weka.columnfinder.NullFinder -D 1" (default: adams.data.weka.columnfinder.NullFinder)
-invert Whether to invert the found column indices. (default: off)
| Field Summary | |
|---|---|
protected weka.filters.unsupervised.attribute.Remove |
m_Remove
the remove filter to use. |
| Fields inherited from class weka.filters.unsupervised.attribute.AbstractColumnFinderApplier |
|---|
m_ColumnFinder, m_Invert |
| Fields inherited from class weka.filters.SimpleFilter |
|---|
m_Debug |
| Fields inherited from class weka.filters.Filter |
|---|
m_FirstBatchDone, m_InputRelAtts, m_InputStringAtts, m_NewBatch, m_OutputRelAtts, m_OutputStringAtts |
| Constructor Summary | |
|---|---|
DatasetCleaner()
|
|
| Method Summary | |
|---|---|
protected weka.core.Instances |
apply(weka.core.Instances data,
int[] indices)
Applies the indices to the data. |
String |
columnFinderTipText()
Returns the tip text for this property. |
protected weka.core.Instances |
determineOutputFormat(weka.core.Instances inputFormat)
Determines the output format based on the input format and returns this. |
String |
getRevision()
Returns the revision string. |
String |
globalInfo()
Returns a string describing this classifier. |
| Methods inherited from class weka.filters.unsupervised.attribute.AbstractColumnFinderApplier |
|---|
getCapabilities, getColumnFinder, getInvert, getOptions, invertTipText, listOptions, process, setColumnFinder, setInvert, setOptions |
| Methods inherited from class weka.filters.SimpleBatchFilter |
|---|
batchFinished, hasImmediateOutputFormat, input |
| Methods inherited from class weka.filters.SimpleFilter |
|---|
debugTipText, getDebug, reset, setDebug, setInputFormat |
| Methods inherited from class weka.filters.Filter |
|---|
batchFilterFile, bufferInput, copyValues, copyValues, filterFile, flushInput, getCapabilities, getInputFormat, getOutputFormat, initInputLocators, initOutputLocators, inputFormatPeek, isFirstBatchDone, isNewBatch, isOutputFormatDefined, main, makeCopies, makeCopy, mayRemoveInstanceAfterFirstBatchDone, numPendingOutput, output, outputFormatPeek, outputPeek, push, resetQueue, runFilter, setOutputFormat, testInputFormat, toString, useFilter, wekaStaticWrapper |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected weka.filters.unsupervised.attribute.Remove m_Remove
| Constructor Detail |
|---|
public DatasetCleaner()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class weka.filters.SimpleFilterpublic String columnFinderTipText()
columnFinderTipText in class AbstractColumnFinderApplier
protected weka.core.Instances determineOutputFormat(weka.core.Instances inputFormat)
throws Exception
determineOutputFormat in class AbstractColumnFinderApplierinputFormat - the input format to base the output format on
Exception
protected weka.core.Instances apply(weka.core.Instances data,
int[] indices)
apply in class AbstractColumnFinderApplierdata - the data to processindices - the indices to use
public String getRevision()
getRevision in interface weka.core.RevisionHandlergetRevision in class weka.filters.Filter
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||