|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.core.ConsoleObject
adams.core.option.AbstractOptionHandler
adams.data.weka.predictions.AbstractErrorScaler
adams.data.weka.predictions.AutoScaler
public class AutoScaler
Applies the specified numeric scaler to the data in case of a numeric class attribute, otherwise just passes on the data.
Valid options are:-scaler <adams.data.weka.predictions.AbstractErrorScaler [options]> (property: scaler) The scaler to use for numeric data. default: adams.data.weka.predictions.RelativeNumericErrorScaler
| Field Summary | |
|---|---|
protected AbstractErrorScaler |
m_Scaler
the scaler to use for numeric classes. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
AutoScaler()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
weka.core.Capabilities |
getCapabilities()
Returns the capabilities of this object. |
AbstractErrorScaler |
getScaler()
Returns the scaler for numeric data. |
String |
globalInfo()
Returns a string describing the object. |
ArrayList<Integer> |
scale(ArrayList data)
Scales the errors. |
String |
scalerTipText()
Returns the tip text for this property. |
void |
setScaler(AbstractErrorScaler value)
Sets the scaler to use for numeric data. |
| Methods inherited from class adams.data.weka.predictions.AbstractErrorScaler |
|---|
compareTo, equals, forCommandLine, forName, getErrorScalers, shallowCopy, shallowCopy, toString |
| Methods inherited from class adams.core.option.AbstractOptionHandler |
|---|
cleanUpOptions, debug, debug, debugLevelTipText, destroy, finishInit, getDebugLevel, getOptionManager, initialize, isDebugOn, newOptionManager, reset, setDebugLevel, toCommandLine |
| Methods inherited from class adams.core.ConsoleObject |
|---|
getDebugging, getSystemErr, getSystemOut, sizeOf |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected AbstractErrorScaler m_Scaler
| Constructor Detail |
|---|
public AutoScaler()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setScaler(AbstractErrorScaler value)
value - the scalerpublic AbstractErrorScaler getScaler()
public String scalerTipText()
public weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class AbstractErrorScalerCapabilitiespublic ArrayList<Integer> scale(ArrayList data)
scale in class AbstractErrorScalerdata - the data containing the errors to scale
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||