Oracle Data Mining Java API Reference
10g Release 1 (10.1)

B12276-01

oracle.dmt.odm
Class ErrorMetric

java.lang.Object
  |
  +--oracle.dmt.odm.Enum
        |
        +--oracle.dmt.odm.ErrorMetric
All Implemented Interfaces:
java.io.Serializable

public class ErrorMetric
extends Enum

The enumeration class ErrorMetric that is used by support vector machines (SVM) RegressionFunctionSettings. The mining function settings contains an error metric and the specified value of an error is described by an enum to indicate that the metric is used by test to report the model prediction error rate.

The semantics of the value are as follows:

Since:
10.0.0
See Also:
Serialized Form

Field Summary
static ErrorMetric meanAbsoluteDeviation
          Specifies the use of MeanAbsoluteDeviation metric in SVM mining Regression test.
static ErrorMetric rootMeanSquareError
          Specifies the use of RootMeanSquareError metric in SVM mining Regression test.

 

Method Summary
static ErrorMetric getInstance(int id)
          Returns ErrorMetric enumeration object corresponding to the specified id.
static ErrorMetric getInstance(java.lang.String name)
          Returns ErrorMetric enumeration object corresponding to the specified name.
static ErrorMetric[] list()
          Returns the list of all ErrorMetric enumerations defined.
static java.lang.String[] listNames()
          Returns the list of names of all ErrorMetric enumerations defined..

 

Methods inherited from class oracle.dmt.odm.Enum
getEnum, getID, isEqual

 

Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

rootMeanSquareError

public static final ErrorMetric rootMeanSquareError
Specifies the use of RootMeanSquareError metric in SVM mining Regression test.

meanAbsoluteDeviation

public static final ErrorMetric meanAbsoluteDeviation
Specifies the use of MeanAbsoluteDeviation metric in SVM mining Regression test.
Method Detail

listNames

public static java.lang.String[] listNames()
Returns the list of names of all ErrorMetric enumerations defined..
Returns:
array of names for the ErrorMetric enumeration

list

public static ErrorMetric[] list()
Returns the list of all ErrorMetric enumerations defined.
Returns:
array of enumeration values for the ErrorMetric enumeration

getInstance

public static ErrorMetric getInstance(java.lang.String name)
Returns ErrorMetric enumeration object corresponding to the specified name.
Returns:
instance of the ErrorMetric enumeration object corresponding to the given name, null if there is no enumeration for this name.

getInstance

public static ErrorMetric getInstance(int id)
Returns ErrorMetric enumeration object corresponding to the specified id.
Returns:
instance of the ErrorMetric enumeration object corresponding to the given id, null if there is no enumeration for id.

Copyright © 2003 Oracle Corporation. All Rights Reserved.