|
||||||||||
| 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.FixedSizeErrorScaler
public class FixedSizeErrorScaler
Scales the errors to a fixed size.
Valid options are:-size <int> (property: size) The size of the errors after scaling. default: 4 minimum: 1
| Field Summary | |
|---|---|
protected int |
m_Size
the size. |
| Fields inherited from class adams.core.option.AbstractOptionHandler |
|---|
m_DebugLevel, m_OptionManager |
| Constructor Summary | |
|---|---|
FixedSizeErrorScaler()
|
|
| Method Summary | |
|---|---|
void |
defineOptions()
Adds options to the internal list of options. |
weka.core.Capabilities |
getCapabilities()
Returns the capabilities of this object. |
int |
getSize()
Returns the size for the errors. |
String |
globalInfo()
Returns a string describing the object. |
ArrayList<Integer> |
scale(ArrayList data)
Scales the errors. |
void |
setSize(int value)
Sets the size for the errors. |
String |
sizeTipText()
Returns the tip text for this property. |
| 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_Size
| Constructor Detail |
|---|
public FixedSizeErrorScaler()
| Method Detail |
|---|
public String globalInfo()
globalInfo in class AbstractOptionHandlerpublic void defineOptions()
defineOptions in interface OptionHandlerdefineOptions in class AbstractOptionHandlerpublic void setSize(int value)
value - the sizepublic int getSize()
public String sizeTipText()
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 | |||||||||