Skip to content

Latest commit

 

History

History
27 lines (16 loc) · 1.03 KB

14-explore-more.md

File metadata and controls

27 lines (16 loc) · 1.03 KB

3.14 Explore more

More things

  • Try to exclude least useful features

Use scikit-learn in project of last week

  • Re-implement train/val/test split using scikit-learn in the project from the last week
  • Also, instead of our own linear regression, use LinearRegression (not regularized) and RidgeRegression (regularized). Find the best regularization parameter for Ridge
  • There are other ways to implement one-hot encoding. E.g. using the OneHotEncoding class. Check how to use it here.
  • Sometimes numerical features requeire scaling, especially for iterative solves like "lbfgs". Check how to use StandardScaler for that here.

Other projects

Navigation