dlab-berkeley / R-Machine-Learning-Legacy

D-Lab's 6 hour introduction to machine learning in R. Learn the fundamentals of machine learning, regression, and classification, using tidymodels in R.
Other
47 stars 25 forks source link

Typo: Fitting best model on training dataset #48

Closed vikjam closed 2 years ago

vikjam commented 2 years ago

In lessons/Part3.Rmd, it's mentioned that the finalized LASSO model is fit with the training set, but in Line 158, it seems like a typo that it's fitted with data_test instead of data_train.

https://github.com/dlab-berkeley/R-Machine-Learning/blob/a12e89b65cbfd1356d2df04c736d4b2a914820fe/lessons/Part3.Rmd#L158