| hanaml.AccuracyMeasure {hana.ml.r} | R Documentation |
hanaml.AccuracyMeasure is a R wrapper for PAL accuracy measure algorithm.
hanaml.AccuracyMeasure (conn.context, data, evaluation.metric)
conn.context |
|
data |
|
evaluation.metric |
|
Measures are used to check the accuracy of the forecast made by PAL algorithms.
DataFrame
Results of the forecast accuracy measurement, structured as follows:
STAT_NAME: name of the accuracy measures.
STAT_VALUE: values of the accuracy measures.
## Not run:
Input dataFrame data:
> data$Collect()
ACTUALCOL FORECASTCOL
1 1130 1270
2 2410 2340
3 2210 2310
4 2500 2340
Invoke hanaml.AccuracyMeasure():
> am <- hanaml.AccuracyMeasure(conn,
data,
evaluation.metric = list("mse","mpe"))
Output:
> am$Collect()
STAT_NAME STAT_VALUE
1 MPE -1.902426e-02
2 MSE 1.502500e+04
## End(Not run)