Explore more

More things

A classification experiment bench for selecting features, encoding categories, scaling numbers, and comparing models.

Figure: Try alternative preprocessing and models, then compare them on validation data.

  • 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 require scaling, especially for iterative solves like "lbfgs". Check how to use StandardScaler for that here.

Other projects

  • Lead scoring - https://www.kaggle.com/ashydv/leads-dataset
  • Default prediction - https://archive.ics.uci.edu/ml/datasets/default+of+credit+card+clients

← Previous: Summary · Next: Evaluation metrics: session overview →

Optional analytics

Optional analytics are off unless you allow them. Your choice does not affect access to DataTalks.Club, Slack, events, or courses.

Current choice: not chosen.

Privacy Policy

If you allow analytics, self-hosted Umami counts anonymous public pageviews without analytics cookies. Private account and learning pages are excluded. Read the Privacy Policy for the complete data boundary.