|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectweka.filters.Filter
weka.filters.unsupervised.attribute.PotentialClassIgnorer
weka.filters.unsupervised.attribute.NormalizeAdaptive
public class NormalizeAdaptive
Normalizes all numeric values in the given dataset (apart from the class attribute, if set). The resulting values are in [0,1] for the data used to compute the normalization intervals.
| Field Summary |
|---|
| Fields inherited from class weka.filters.unsupervised.attribute.PotentialClassIgnorer |
|---|
m_ClassIndex, m_IgnoreClass |
| Fields inherited from class weka.filters.Filter |
|---|
m_FirstBatchDone, m_InputRelAtts, m_InputStringAtts, m_NewBatch, m_OutputRelAtts, m_OutputStringAtts |
| Constructor Summary | |
|---|---|
NormalizeAdaptive()
|
|
| Method Summary | |
|---|---|
boolean |
batchFinished()
Signify that this batch of input to the filter is finished. |
weka.core.Capabilities |
getCapabilities()
Returns the Capabilities of this filter. |
int |
getClassIndex()
|
String |
getRevision()
|
double |
getScale()
|
String |
globalInfo()
Returns a string describing this filter |
boolean |
input(weka.core.Instance instance)
Input an instance for filtering. |
static void |
main(String[] argv)
Main method for testing this class. |
void |
setClassIndex(int classIndex)
|
boolean |
setInputFormat(weka.core.Instances instanceInfo)
Sets the format of the input instances. |
void |
setScale(double fScale)
|
| Methods inherited from class weka.filters.unsupervised.attribute.PotentialClassIgnorer |
|---|
getIgnoreClass, getOptions, getOutputFormat, ignoreClassTipText, listOptions, setIgnoreClass, setOptions |
| Methods inherited from class weka.filters.Filter |
|---|
batchFilterFile, bufferInput, copyValues, copyValues, filterFile, flushInput, getCapabilities, getInputFormat, initInputLocators, initOutputLocators, inputFormatPeek, isFirstBatchDone, isNewBatch, isOutputFormatDefined, 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 |
| Constructor Detail |
|---|
public NormalizeAdaptive()
| Method Detail |
|---|
public String globalInfo()
public weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class weka.filters.FilterCapabilities
public boolean setInputFormat(weka.core.Instances instanceInfo)
throws Exception
setInputFormat in class weka.filters.unsupervised.attribute.PotentialClassIgnorerinstanceInfo - an Instances object containing the input
instance structure (any instances contained in the object are
ignored - only the structure is required).
Exception - if the input format can't be set
successfullypublic boolean input(weka.core.Instance instance)
input in class weka.filters.Filterinstance - the input instance
IllegalStateException - if no input format has been set.public boolean batchFinished()
batchFinished in class weka.filters.FilterIllegalStateException - if no input structure has been definedpublic void setScale(double fScale)
public double getScale()
public void setClassIndex(int classIndex)
public int getClassIndex()
public static void main(String[] argv)
argv - should contain arguments to the filter:
use -h for helppublic 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 | |||||||||