Unformatted text preview: Create a linear regression model which fit with choose predictors lmTune tune is a function which hyperparameters of statistical methods using a grid search over supplied parameter ranges RMSE Rsquared show us that 87,93% of data is explained by the model. Build principal component model with tune function choose 35 rows on the grids RMSE is 0,73 and Rsquarred 0,8714 We ask to display PCR preventive model vs reality plsTune Run the function Partial Least Square To display RMSE and Rsquared of the ncomp choiced before. RMSE is 0,69 and Rsquared 0,88 with The plot show the correlation between predictive model and actual outcome. To conclude we can say that the PLS model which match the best with a prediction of 88.37% for only 20 components against PCR with Rsquared of 0,8714 with 35 components....
View
Full Document
- Spring '14