Main Content

Regression error

returns the mean squared error between the predictions of `L`

= loss(`tree`

,`Tbl`

,`ResponseVarName`

)`tree`

to the data in `Tbl`

, compared to the true responses
`Tbl.ResponseVarName`

.

computes the error in prediction with additional options specified by one or more
`L`

= loss(___,`Name,Value`

)`Name,Value`

pair arguments, using any of the previous
syntaxes.