Home›Library›AI & Data Science

Curated Library

Machine Learning with Python and Scikit-Learn for Beginners

A 42-lesson, roughly 12-hour course that teaches core supervised and unsupervised machine learning with Python, pandas and scikit-learn. It starts with linear and logistic regression and moves through trees, SVMs, clustering, cross-validation and regularization. It then covers outlier handling and two end-to-end projects: a home price predictor and an image classifier, each with a Flask backend and a web front end. It suits beginners who already know basic Python and want hands-on practice with exercises.

  • 42 lessons
  • 12h 1m total
  • AI & Data Science
  • English
  • Earns YodaCoins
Lessons bycodebasics on YouTube

Curated by YodaHut. These lessons are hosted on YouTube and produced by their original creators, who are not affiliated with YodaHut. You still earn YodaCoins, keep your streak and track progress here.

42 lessons12h 1m total
One block per lesson, sized by its length

What You'll Learn

  • Train and evaluate regression models in scikit-learn, including single- and multi-variable linear regression, and explain gradient descent and cost functions
  • Build classifiers with logistic regression, decision trees, SVM, random forest, KNN and Naive Bayes, and read confusion matrices
  • Encode categorical data with one-hot encoding, split data into train and test sets, and save trained models with pickle or joblib
  • Compare and tune models using K-fold cross-validation, GridSearchCV and RandomizedSearchCV, and reduce overfitting with L1/L2 regularization
  • Apply K-Means clustering, PCA, and bagging ensembles, and describe the bias-variance trade-off
  • Clean data and remove outliers using percentile, standard deviation, z-score and IQR methods
  • Follow two end-to-end projects, from data cleaning and feature engineering to serving a model through a Flask API and a simple website, plus an AWS EC2 deployment walkthrough

Prerequisites

  • Basic Python programming (variables, functions, loops)
  • Familiarity with pandas and Jupyter notebooks is helpful but not required
  • High-school level maths (algebra; derivatives are introduced in the gradient descent lesson)

Course Curriculum

42 lessons · 12h 1m
  1. 01What is Machine Learning?6:51
  2. 02Linear Regression with a Single Variable15:14
  3. 03Linear Regression with Multiple Variables14:08
  4. 04Gradient Descent and Cost Function28:26
  5. 05Saving Models with Joblib and Pickle8:21
  6. 06Dummy Variables and One Hot Encoding21:35
  7. 07Training and Testing Data6:34
  8. 08Logistic Regression: Binary Classification19:19
  9. 09Logistic Regression: Multiclass Classification15:43
  10. 10Decision Tree14:46
  11. 11Support Vector Machine (SVM)23:22
  12. 12Random Forest12:48
  13. 13K-Fold Cross Validation25:20
  14. 14K-Means Clustering25:15
  15. 15Naive Bayes Classifier, Part 113:38
  16. 16Naive Bayes Classifier, Part 2: Spam Detection11:28
  17. 17Hyperparameter Tuning with GridSearchCV16:30
  18. 18L1 and L2 Regularization: Lasso and Ridge Regression19:21
  19. 19K Nearest Neighbors Classification15:42
  20. 20Principal Component Analysis (PCA)24:09
  21. 21Bias vs Variance10:50
  22. 22Ensemble Learning: Bagging23:37
  23. 23Real Estate Price Prediction Project 1: Introduction2:12
  24. 24Real Estate Price Prediction Project 2: Data Cleaning15:21
  25. 25Real Estate Price Prediction Project 3: Feature Engineering8:26
  26. 26Real Estate Price Prediction Project 4: Outlier Removal19:31
  27. 27Real Estate Price Prediction Project 5: Model Building19:12
  28. 28Real Estate Price Prediction Project 6: Flask Server21:13
  29. 29Real Estate Price Prediction Project 7: Website UI13:21
  30. 30Deploying a Machine Learning Model on AWS EC228:39
  31. 31Image Classification Project 1: Introduction4:42
  32. 32Image Classification Project 2: Data Collection5:37
  33. 33Image Classification Project 3: Data Cleaning40:45
  34. 34Image Classification Project 4: Feature Engineering18:23
  35. 35Image Classification Project 5: Training a Model20:01
  36. 36Image Classification Project 6: Flask Server36:16
  37. 37Image Classification Project 7: Building the Website38:14
  38. 38Image Classification Project 8: Deployment and Exercise5:17
  39. 39What is Feature Engineering?5:12
  40. 40Outlier Detection and Removal Using Percentile17:18
  41. 41Outlier Detection and Removal: Z-Score and Standard Deviation20:05
  42. 42Outlier Detection and Removal Using IQR8:02

About the Instructor

codebasics

YouTube creator

42 lessons here 12h 1m

The lessons in this course were produced by codebasics and are published on YouTube. YodaHut selected and sequenced them into this course; we did not make them, and codebasics is not affiliated with YodaHut.

Visit the channel on YouTube

More in the Library: AI & Data Science