oracle.dmt.odm.result
Class RegressionTestResult
java.lang.Object
|
+--oracle.dmt.odm.MiningObject
|
+--oracle.dmt.odm.LocatableObject
|
+--oracle.dmt.odm.result.MiningResult
|
+--oracle.dmt.odm.result.MiningTestResult
|
+--oracle.dmt.odm.result.RegressionTestResult
- All Implemented Interfaces:
- java.io.Serializable
- public class RegressionTestResult
- extends MiningTestResult
An instance of RegressionTestResult
represents the result of the test operation for a RegressionTestResult model. It contains a root mean square error value.
- Since:
- 10.0.0
- See Also:
- Serialized Form
Method Summary |
float |
getRootMeanSquareError()
Returns the computed square root of the average value of the squared differences between the predicted and actual target values as measured on the test data. |
static RegressionTestResult |
restore(Connection dmsCon, java.lang.String resultName)
Restores the specified mining test result from the DMS server into the client space. |
java.lang.String |
showScientific(float coefficient)
|
java.lang.String |
toString()
Converts the mining test result to a string representation for convienent output. |
java.lang.String |
toStringSN()
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
showScientific
public java.lang.String showScientific(float coefficient)
getRootMeanSquareError
public float getRootMeanSquareError()
- Returns the computed square root of the average value of the squared differences between the predicted and actual target values as measured on the test data.
-
- Returns:
- the mean square error value
restore
public static RegressionTestResult restore(Connection dmsCon,
java.lang.String resultName)
throws InvalidArgumentException,
ODMException,
java.sql.SQLException
- Restores the specified mining test result from the DMS server into the client space.
-
- Throws:
InvalidArgumentException
- dmsCon or resultName is null
ODMException
- unable to restore the mining test result into the client space
InvalidArgumentException
ODMException
java.sql.SQLException
toString
public java.lang.String toString()
- Converts the mining test result to a string representation for convienent output.
-
- Overrides:
toString
in class java.lang.Object
-
- Returns:
- String
toStringSN
public java.lang.String toStringSN()