|
RegressionMetric
Compute the regression metric to evaluate the quality of the predicted data compared to the true data
double vector::RegressionMetric(
|
Parameters
vector_true/matrix_true
[in] Vector or matrix of true values.
metric
[in] Metric type from the ENUM_REGRESSION_METRIC enumeration.
axis
[in] Axis. 0 — horizontal axis, 1 — vertical axis.
Return Value
The calculated metric which evaluates the quality of the predicted data compared to the true data.
Note
Example:
vector y_true = {3, -0.5, 2, 7};
|