loss
Evaluate accuracy of learned feature weights on test data
Syntax
Description
returns the mean squared error as the measure of accuracy in
err
= loss(mdl
,Tbl
,ResponseVarName
)err
, for the model mdl
, predictor
values in table Tbl
, and the variable
ResponseVarName
in table Tbl
. Use this
syntax if mdl
was originally trained on a table.
Examples
Input Arguments
Output Arguments
References
[1] Rasmussen, C. E., R. M. Neal, G. E. Hinton, D. van Camp, M. Revow, Z. Ghahramani, R. Kustra, and R. Tibshirani. The DELVE Manual, 1996, https://mlg.eng.cam.ac.uk/pub/pdf/RasNeaHinetal96.pdf.
[2] University of Toronto, Computer Science Department. Delve Datasets. http://www.cs.toronto.edu/~delve/data/datasets.html.
Version History
Introduced in R2016b
See Also
FeatureSelectionNCARegression
| predict
| fsrnca
| refit
| selectFeatures