Watched the videos of resampling methods Estimation of prediction error and validation set approach, K-fold cross validation, cross validation: right and wrong ways.
Estimating the prediction error:
We typically measure the prediction error of a linear regression model with a metric known as Mean Square Error, which stands for root mean squared error.
It is calculated as:
RMSE = √Σ(ŷi – yi)2 / ni
ŷi is the predicted value for the ith observation, yi is the observed value for the ith observation andn is the sample size.
Validation set approach is a method that estimates a model error rate by holding a subset of the data from the fitting process.
Be First to Comment