|
||||||||||
| 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.RelativeNumericErrorScaler
public class RelativeNumericErrorScaler
Scales the errors for numeric class attributes.
Valid options are:-max <int> (property: maxSize) The maximum size of the errors after scaling. default: 20 minimum: 1
| Field Summary | |
|---|---|
protected int |
m_MaxSize
the maximum size. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
RelativeNumericErrorScaler()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
weka.core.Capabilities |
getCapabilities()
Returns the capabilities of this object. |
int |
getMaxSize()
Returns the maximum size for the errors. |
String |
globalInfo()
Returns a string describing the object. |
String |
maxSizeTipText()
Returns the tip text for this property. |
ArrayList |
scale(ArrayList data)
Scales the errors. |
void |
setMaxSize(int value)
Sets the maximum size for the errors. |
| 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 int m_MaxSize
| Constructor Detail |
|---|
public RelativeNumericErrorScaler()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setMaxSize(int value)
value - the sizepublic int getMaxSize()
public String maxSizeTipText()
public weka.core.Capabilities getCapabilities()
getCapabilities in interface weka.core.CapabilitiesHandlergetCapabilities in class AbstractErrorScalerCapabilitiespublic ArrayList 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 | |||||||||