|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--weka.filters.Filter | +--weka.filters.DynamicReductDiscretize
Field Summary | |
protected double[][] |
cutPoints
Store the current cutpoints |
Fields inherited from class weka.filters.Filter |
m_Debug, m_NewBatch |
Constructor Summary | |
DynamicReductDiscretize()
|
Method Summary | |
boolean |
batchFinished()
Signifies that this batch of input to the filter is finished. |
protected void |
calculateCutPoints()
|
String |
confidenceTipText()
|
protected void |
convertInstance(Instance instance)
Convert a single instance over. |
String |
dynamicStabilityTipText()
|
String |
fastTipText()
|
double |
getConfidence()
Get the value of confidence. |
double |
getDynamicStability()
Get the value of dynamicStability. |
double |
getMaxError()
Get the value of maxError. |
int |
getNumSubtables()
Get the value of numSubtables. |
String[] |
getOptions()
Gets the current settings of the Classifier. |
double |
getReductsRatio()
Get the value of reductsRatio. |
String |
globalInfo()
Returns a string describing this filter |
boolean |
input(Instance instance)
Input an instance for filtering. |
boolean |
isFast()
Get the value of fast. |
Enumeration |
listOptions()
Returns an enumeration of all the available options. |
static void |
main(String[] argv)
Main method for testing this class. |
String |
maxErrorTipText()
|
String |
numSubtablesTipText()
|
String |
numSubTablesTipText()
|
void |
printInfo()
|
void |
setConfidence(double v)
Set the value of confidence. |
void |
setDynamicStability(double v)
Set the value of dynamicStability. |
void |
setFast(boolean v)
Set the value of fast. |
boolean |
setInputFormat(Instances instanceInfo)
Sets the format of the input instances. |
void |
setMaxError(double v)
Set the value of maxError. |
void |
setNumSubtables(int v)
Set the value of numSubtables. |
void |
setOptions(String[] options)
Parses a given list of options. |
protected void |
setOutputFormat()
Set the output format. |
void |
setReductsRatio(double v)
Set the value of reductsRatio. |
Methods inherited from class weka.filters.Filter |
batchFilterFile, bufferInput, copyStringValues, copyStringValues, filterFile, flushInput, getInputFormat, getInputStringIndex, getOutputFormat, getOutputStringIndex, getStringIndices, inputFormat, isOutputFormatDefined, numPendingOutput, output, outputFormat, outputFormatPeek, outputPeek, push, resetQueue, setOutputFormat, useFilter |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected double[][] cutPoints
Constructor Detail |
public DynamicReductDiscretize()
Method Detail |
protected void calculateCutPoints() throws Exception
Exception
public boolean input(Instance instance)
input
in class Filter
instance
- the input instance
IllegalStateException
- if no input format has been defined.public boolean setInputFormat(Instances instanceInfo) throws Exception
setInputFormat
in class Filter
instanceInfo
- 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 batchFinished() throws Exception
batchFinished
in class Filter
IllegalStateException
- if no input structure has been defined
Exception
- if there was a problem finishing the batch.protected void setOutputFormat()
protected void convertInstance(Instance instance)
instance
- the instance to convertpublic double getReductsRatio()
public void setReductsRatio(double v)
v
- Value to assign to reductsRatio.public String numSubTablesTipText()
public int getNumSubtables()
public void setNumSubtables(int v)
v
- Value to assign to numSubtables.public String numSubtablesTipText()
public boolean isFast()
public void setFast(boolean v)
v
- Value to assign to fast.public String fastTipText()
public double getConfidence()
public void setConfidence(double v)
v
- Value to assign to confidence.public String confidenceTipText()
public double getMaxError()
public void setMaxError(double v)
v
- Value to assign to maxError.public String maxErrorTipText()
public double getDynamicStability()
public void setDynamicStability(double v)
v
- Value to assign to dynamicStability.public String dynamicStabilityTipText()
public Enumeration listOptions()
OptionHandler
listOptions
in interface OptionHandler
public void setOptions(String[] options) throws Exception
setOptions
in interface OptionHandler
options
- the list of options as an array of strings
Exception
- if an option is not supportedpublic String[] getOptions()
getOptions
in interface OptionHandler
public void printInfo()
public String globalInfo()
public static void main(String[] argv)
argv
- should contain arguments to the filter: use -h for help
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |