View source: R/cross_validate.R
Root Mean Squared Error (RMSE) of One Prediction Because we don't count the NA value in the following calculation, the length of the vec_pred must minus the NA prediction. Usually, there is no NA in prediction.
1 | cal_rmse(vec_pred, vec_valid)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.