
This course includes our updated coding exercises so you can practice your skills as you learn.
See a demo
In this screen-recorded lecture you get your working environment ready before any machine learning begins. You see how to install PyCharm, open the course project so the notebooks and datasets are in place, and run your first cell. You also see Google Colab, a browser-based alternative that needs no installation, so you can follow every lecture even if your own computer is short on space or permissions. By the end, you will have one place where you can write code, run it and see the results.
After this lecture you can describe what an ML engineer does day to day, and why the model is only the start of the job. You will see the work as a loop of five stages, using a car price model as the running example, and learn how to read a real job ad with that loop in mind.
What you'll learn
Tools and concepts: ML engineer, data scientist, MLOps, drift, serving, monitoring, CI/CD, containers, PyTorch, LLMs, RAG, evals
Example used: A car price model that goes around the loop from raw rows to a price and back to "is it still right?". In 1,959 MLOps job postings, Python appears in 78.5% and monitoring in 67.7%.
Where this fits: This is the opening lecture. It gives you the map of the job, and Section 02 starts building the foundation you need for it.
After this lecture you can say what machine learning is in plain words, tell the three ways a machine learns apart, and read a table as features and a label. The example is an insurance file with 1,338 customers.
What you'll learn
Tools and concepts: features, label, X and y, supervised learning, regression, classification, clustering, unsupervised learning, reinforcement learning, numerical, nominal and ordinal data, training, model
Example used: An insurance table of 1,338 customers with seven columns. The first customer's charges of 16,885 dollars is the number to predict, and whether they smoke is the category to predict.
Where this fits: This is the first lecture of the section. The next one places these ideas on a nine-stage map of a whole project.
After this lecture you can name the nine stages of a machine learning project and say where each one sits in this course. You will also learn the two rules that protect every result: split first, and no peeking. The running example is predicting a customer's insurance charges.
What you'll learn
Tools and concepts: workflow stages, train test split, test rows, data leakage, fit, tuning, deployment, prediction versus actual value
Example used: The insurance charges table with 1,338 customers. After the split, 1,070 rows train the model, 268 rows are kept back, and the mean age of 39.4 is learned from the training rows only.
Where this fits: The previous lecture defined data, features and labels. This one gives the map, and the next lecture starts the statistics you will use at the explore stage.
After this lecture you can describe any column of numbers with a few everyday statistics, and compute each of them with NumPy. You will not need a statistics degree: the lecture keeps to the centre, the spread and the shape. The example is a class of thirty exam scores, then the insurance charges.
What you'll learn
Tools and concepts: np.mean, np.median, np.std, np.percentile, normal distribution, quartiles, IQR, skew
Example used: Thirty exam scores with a mean of 64.1, a median of 64.5 and a standard deviation of 9.53. The insurance charges have a median of 9,382 and a mean of 13,270, which shows right skew.
Where this fits: The earlier lectures set out the workflow. The next lecture introduces the toolkit that does these calculations, and Sections 03 and 04 use these numbers again.
After this lecture you can say what each tool in the course toolkit is for, and follow one table of data as it moves through all of them. This saves you from guessing which library to reach for. The example is a tiny notebook that loads the insurance file, fits a line and draws it.
What you'll learn
Tools and concepts: Jupyter notebook, cells, pandas, read_csv, DataFrame, NumPy, scikit-learn, LinearRegression, fit, predict, Matplotlib, Seaborn, scatterplot
Example used: The insurance file with 1,338 rows and seven columns. A line learned from age predicts about 10,900 dollars for age 30 and about 18,600 for age 60.
Where this fits: This lecture is the overview. The next four lectures take NumPy, pandas, plotting and scikit-learn apart one at a time.
After this lecture you can create a NumPy array, read its shape, and do maths on a whole array in one line. This is the maths behind every model you will build, so clear arrays make the later sections easier. The examples are a shop basket and the age and bmi of insurance customers.
What you'll learn
Tools and concepts: np.array, shape, ndim, dtype, reshape, axis, broadcasting, boolean mask, np.nan, np.isnan, np.nanmean, dot product, the at operator
Example used: Alex's basket of two sandwiches, one book and three coffees comes to 24 euros. Three insurance customers with age and bmi get three predictions from one line, X @ w + b.
Where this fits: The previous lecture introduced the toolkit. The next one moves to pandas, which holds the tables that become these arrays.
After this lecture you can load a CSV file into pandas, look at what is inside it, and pick exactly the rows and columns you need. Every later section gets its data this way. The example is the insurance file with 1,338 customers.
What you'll learn
Tools and concepts: pd.read_csv, DataFrame, Series, index, dtype, head, shape, info, describe, loc, iloc, boolean filter
Example used: The insurance table has 1,338 rows and seven columns, with no missing values. Filtering on smoker equals yes keeps 274 customers.
Where this fits: The previous lecture covered NumPy arrays. The next lecture continues with pandas: finding gaps, counting, dropping and grouping.
After this lecture you can find gaps in a table, change and remove columns, and summarise data by group. These are the steps that get a table into good shape before a model sees it. The example is the insurance file, where one line shows that smokers pay almost four times as much.
What you'll learn
Tools and concepts: isnull, value_counts, nunique, select_dtypes, drop, map, astype, sort_values, groupby, agg
Example used: The insurance table has 1,064 non-smokers who pay about 8,400 dollars on average and 274 smokers who pay about 32,000 dollars. The southeast region holds 364 customers, about 27%.
Where this fits: The previous lecture covered reading and selecting. The next lecture turns these tables into pictures.
After this lecture you can turn a table into a picture, and pick the right plot by starting from your question. You will see how Matplotlib provides the canvas and Seaborn draws on it. The example is the insurance data, with four plots you will use again and again.
What you'll learn
Tools and concepts: plt.subplots, figure, axes, sns.histplot, sns.scatterplot, hue, sns.boxplot, corr, sns.heatmap, annot
Example used: All 1,338 insurance customers. The charges histogram has a long right tail, and age against charges has a correlation of 0.30, the strongest link to charges among the number columns.
Where this fits: The previous lecture summarised data with numbers. The next lecture introduces scikit-learn and the pattern behind every model.
After this lecture you can use any scikit-learn model with one habit: create, fit, predict, score. You will also see how a scaler follows the same pattern with transform. The example predicts insurance charges from age and bmi.
What you'll learn
Tools and concepts: train_test_split, LinearRegression, fit, predict, score, coef_, intercept_, StandardScaler, mean_, scale_, transform, fit_transform, KMeans
Example used: A model using age and bmi learns coefficients of about 223.8 and 330.8. Its test score is 0.153, which is low because two columns say little about charges.
Where this fits: The previous lectures covered the tools one by one. The next lecture is the section review, with questions on all of them.
This review lecture revisits the main ideas of Section 02: kinds of learning, statistics, NumPy, pandas, plotting and the scikit-learn pattern. Each question is shown on screen, you are asked to pause and answer, and then the code is run and the answer explained. It is a quick way to find what you should rewatch.
What you'll learn
Tools and concepts: regression, classification, mean and median, axis, Series and DataFrame, drop, boxplot, fit, coef_, tips dataset
Example used: Seven questions on the insurance table of 1,338 customers. A closing exercise uses the tips dataset: name the features and label, then fit a line on total bill to predict the tip for a 50 dollar bill.
Where this fits: This closes Section 02. Section 03 begins with the first look at a dataset.
After this lecture you can run six quick checks on any new dataset before you plot or build anything. They tell you where to look, not what to fix. The example is the weather table Rain in Australia, which has plenty of surprises.
What you'll learn
Tools and concepts: shape, dtypes, isnull, sum, sort_values, describe, value_counts, normalize, duplicated, drop_duplicates, imbalanced label
Example used: Rain in Australia has 142,193 rows and 24 columns. Sunshine is missing on about 48% of days, and 77.6% of days are "no rain tomorrow", so always answering no scores 0.776.
Where this fits: Section 02 gave you the tools. This lecture starts the explore stage, and the next one looks at columns one at a time.
After this lecture you can look at a single column and say where most values sit, which way it leans and what stands apart. You will draw histograms, density curves and counts, and reshape a long tail with a log. The examples are restaurant bills and iris flowers.
What you'll learn
Tools and concepts: histplot, bins, kde, kdeplot, hue, countplot, displot, col, univariate analysis, skew, np.log1p
Example used: The tips data has 244 bills with a median of 17.795 and a mean of 19.79. The biggest bill is 50.81, and dinner has 176 bills against 68 for lunch.
Where this fits: The previous lecture checked the whole table. The next lecture looks at how two columns relate.
After this lecture you can see how two columns relate by drawing dots, colouring them by group, and drawing every pair at once. A clear picture can even give you a simple rule. The examples are the iris flowers and restaurant tips.
What you'll learn
Tools and concepts: sns.scatterplot, hue, plt.axvline, boolean rule, sns.pairplot, math.comb, positive relationship
Example used: Iris has 150 flowers. Four columns give 6 pairs, but the 24-column weather table gives 276 pairs and 100 columns give 4,950.
Where this fits: The previous lecture looked at one column. The next lecture looks at the values that sit far from the rest.
After this lecture you can spot outliers in a picture, flag them with the IQR rule, and decide what to do with each one. The reason an outlier exists decides the action. The example is the restaurant bills in the tips data.
What you'll learn
Tools and concepts: sns.boxplot, sns.violinplot, quartiles, IQR, fences, np.percentile, clip, capping
Example used: For the 244 bills, Q1 is 13.35, Q3 is 24.13 and the IQR is 10.78. The upper fence is 40.3, nine bills lie above it, and the biggest bill of 50.81 is capped to 40.3.
Where this fits: The previous lecture drew pairs of columns. The next lecture puts one number on how strongly columns move together.
After this lecture you can put one number on how two columns move together, and scan every pair of columns at once. You will also learn what that number cannot tell you. The examples are study hours and exam scores, iris and insurance.
What you'll learn
Tools and concepts: np.cov, np.corrcoef, DataFrame.corr, numeric_only, sns.heatmap, annot, vmin, vmax, multicollinearity, correlation versus causation
Example used: Five students give a correlation of 0.992 for hours and score, in hours or in minutes. For insurance charges, smoker against charges is 0.79, age is 0.3 and children is almost zero.
Where this fits: The earlier lectures drew relationships by eye. The next lecture is the review of Section 03.
This review lecture revisits Section 03: the first look at a dataset, distributions, relationships, outliers and correlation. Each question is shown, you are asked to pause and answer, and then the code is run and the answer explained. It ends with an exercise on a new dataset.
What you'll learn
Tools and concepts: value_counts, imbalanced label, histogram and skew, scatter plot, IQR fences, correlation, health check
Example used: Five questions on the tips, iris and weather tables. The closing exercise asks you to run the health check on insurance, draw a histogram, scatter plot, box plot and heatmap, and write down three observations.
Where this fits: This closes Section 03. Section 04 moves on to splitting and preparing the data.
After this lecture you can split a dataset correctly and explain why the split must come before anything that learns from the data. You will also learn how to catch a leak when a score looks too good. The example is the Rain in Australia table.
What you'll learn
Tools and concepts: train_test_split, stratify, random_state, data leakage, StandardScaler, fit, transform, RISK_MM, decision tree
Example used: In the rain data, a scaler fitted on all rows gives a first mean of 12.186, and one fitted on training rows gives 12.173. A tree that sees only RISK_MM scores 1.0, which is too good to be true.
Where this fits: This starts Section 04. The next lecture deals with missing data, using only the training rows.
After this lecture you can decide whether to drop or fill missing values, and fill them correctly with SimpleImputer. A model cannot train on blanks, so this step comes before training. The example is the Rain in Australia table, after the split.
What you'll learn
Tools and concepts: isnull, dropna, SimpleImputer, strategy, median, most_frequent, statistics_, fit, transform
Example used: Sunshine is missing about 54,000 times in the training rows. The imputer learns a median of 12 for minimum temperature and 4.8 for evaporation, and the blank count falls to zero in both train and test.
Where this fits: The previous lecture set up the split. The next lecture turns text columns into numbers.
After this lecture you can turn words into numbers the right way, and pick the encoder that fits each kind of column. Models only understand numbers, so this step decides what the model can learn from text. The examples are T-shirt sizes and colours, then the weather data.
What you'll learn
Tools and concepts: OrdinalEncoder, OneHotEncoder, sparse_output, drop, handle_unknown, dummy variable trap, nunique, pd.to_datetime, dt.month, LabelEncoder, classes_
Example used: Five shirts have sizes encoded as 0, 1, 2, 1, 3. In the weather data, location has 49 values and date has 3,436, so the month with only 12 values is the better column.
Where this fits: The previous lecture filled the blanks. The next lecture puts numeric columns on the same scale.
After this lecture you can put features on a comparable scale and know which models need it. The idea is that every feature should get a fair say. The examples are Ann and Tom with salary and age, then rain features and the wine data.
What you'll learn
Tools and concepts: StandardScaler, MinMaxScaler, standardisation, mean_, scale_, K nearest neighbours, decision tree, load_wine, fit on train only
Example used: The wine data has proline up to 1,680 while hue stays below 2. Rain features run from humidity at 0 to 100 up to rainfall at 371.
Where this fits: The previous lecture encoded text. The next lecture packs all these steps into a single pipeline.
After this lecture you can pack imputing, encoding and scaling into one Pipeline so that raw rows go in and predictions come out, with no leaks. You will see exactly what one fit and one score do. The example is the Rain in Australia table.
What you'll learn
Tools and concepts: Pipeline, ColumnTransformer, make_column_selector, SimpleImputer, StandardScaler, OneHotEncoder, handle_unknown, LogisticRegression, set_params, predict_proba
Example used: Twenty-one columns become 115 inside the pipeline. The test accuracy is 0.849, and the scaler's learned mean for Rainfall, 2.3373, matches the training rows exactly.
Where this fits: The earlier lectures covered each step on its own. The next lecture adds feature selection to the pipeline.
After this lecture you can explain why more columns can hurt, and keep only the columns that matter with SelectKBest. You will place the selector inside the pipeline so it is fitted on training rows only. The example is the preprocessed rain data.
What you'll learn
Tools and concepts: curse of dimensionality, feature selection, corrwith, SelectKBest, f_classif, k, get_support, Pipeline, logistic regression
Example used: One-hot encoding turns 21 columns into 115. Humidity at 3 pm scores highest, then sunshine, and "rain today no" and "rain today yes" score the same, so one is spare.
Where this fits: The previous lecture built the full preparation pipeline. The next lecture is a project that applies every step to one dataset.
After this lecture you can take a messy table and turn it into model-ready data from start to finish. This project puts the whole section to work on the Rain in Australia weather table. Nothing is trained yet, and the aim is clean inputs and a baseline to beat.
What you'll learn
Tools and concepts: pd.to_datetime, dt.month, select_dtypes, SimpleImputer, StandardScaler, OneHotEncoder, ColumnTransformer, fit_transform, transform, baseline accuracy
Example used: Rain in Australia has 142,193 rows. The result has 127 columns with no blanks: 16 numbers, plus 111 columns from text. Always predicting no scores 0.776, the baseline any model must beat.
Where this fits: This project brings together the lectures of Section 04. The next lecture reviews them with questions.
This review lecture revisits Section 04: splitting, missing data, encoding, scaling, pipelines, feature selection and the preprocessing project. Each question is shown, you are asked to pause and answer, and then the code is run and the answer explained. A short exercise follows on a new dataset.
What you'll learn
Tools and concepts: data leakage, dropna, SimpleImputer, handle_unknown, StandardScaler, K nearest neighbours, decision tree, Pipeline, SelectKBest, ColumnTransformer
Example used: Seven questions on the weather table with 142,193 days. The closing exercise uses the insurance dataset: split without stratify, build the same two lanes, fit on training rows, transform the test rows and print the shapes.
Where this fits: This closes Section 04 and the preparation stage. Next you move on to training your first models.
After this lecture you will be able to draw a straight line through data and score how good that line is with one number. You will work with six kids, their age and their weight, so every step can be checked by hand. Every regression model you train later is judged by a score like this.
What you'll learn
Tools and concepts: linear regression, residual, MSE, cost function, slope w, intercept b, pandas, numpy, np.polyfit, df.assign
Example used: Six kids with age and weight in kids age weight.csv. A steep line (w 5, b 0) scores an MSE of 94.5, and the best-fit line (about 2.4 kilos per year, starting at 7.13) scores 0.889.
Where this fits: This is the first lecture of the regression section, and the next one shows how the computer walks to the best line by itself.
After this lecture you will understand how a computer finds the best weights without being handed the answer. You will watch gradient descent walk down the cost curve of the kids' weight data. The same walk is how neural networks learn.
What you'll learn
Tools and concepts: gradient, learning rate, update rule, convergence, local minimum, cost curve, MSE, numpy loops
Example used: The six-kid age and weight table. With b frozen at 7.13, a start at w 5 and a learning rate of 0.01 converges to w of 2.4 and an MSE of 0.889.
Where this fits: The previous lecture scored a line, and the next one lets scikit-learn do this search for you on real insurance data.
After this lecture you will be able to fit a linear regression in scikit-learn, read the numbers it learned, and use it to predict an insurance bill. You will start with age alone, then add more columns inside a pipeline. This matters because reading the coefficients tells you what the model actually believes about each column.
What you'll learn
Tools and concepts: LinearRegression, fit, predict, coef_, intercept_, Pipeline, ColumnTransformer, SimpleImputer, OneHotEncoder, train_test_split
Example used: The insurance dataset, 1,070 training rows and 268 test rows. Age alone gives about 240.6 dollars per year on a base fee of about 3,877, and smoker yes adds about 23,651 dollars.
Where this fits: This follows the hand-built line and gradient descent, and the next lecture asks whether this model is actually any good.
After this lecture you will be able to score a regression model honestly and say whether it beats a sensible baseline. You will measure the insurance model from the last lecture with MAE, RMSE and R squared. This matters because a score on its own means little until you compare it with something.
What you'll learn
Tools and concepts: mean_absolute_error, mean_squared_error, r2_score, DummyRegressor, RMSE, adjusted R squared, residual plot
Example used: The insurance model on 268 test rows: MAE 4,181, RMSE 5,796, R squared 0.784, against a dummy that always predicts 13,346.
Where this fits: The last lecture built the model, and the next one shows what happens when you give a model too much flexibility.
After this lecture you will be able to bend a linear model into a curve and tell when it has bent too far. You will compare train and test scores for several degrees on the income of Canada data and on the insurance data. This matters because a model that looks perfect on training data can fail on new data.
What you'll learn
Tools and concepts: PolynomialFeatures, degree, StandardScaler, Pipeline, bias, variance, train score, test score
Example used: Income per person in Canada over 47 years (18 for training, 29 for testing), where degree 16 scores 0.999 on train but 0.404 on test. On insurance, degree 2 has the best test score, 0.867.
Where this fits: This builds on the regression metrics, and the next lecture adds a penalty that keeps flexible models under control.
After this lecture you will be able to reduce overfitting by putting a price on big weights. You will swap Ridge and Lasso into the degree-four insurance pipeline and watch the test score recover. This matters because regularisation is often the quickest way to rescue a model that has too many columns.
What you'll learn
Tools and concepts: Ridge, Lasso, ElasticNet, alpha, penalty, weights, pipeline, test score
Example used: The degree-four insurance model with 495 columns. Plain regression scores 0.754 on test, Ridge at alpha 100 scores 0.843, and Lasso at alpha 100 keeps 40 columns and scores 0.862.
Where this fits: This follows the polynomial overfitting lecture, and the next one reviews the whole regression section with questions.
This review lecture revisits the whole regression section with six multiple-choice questions, one for each lecture, and a short exercise at the end. Each question is shown on screen, you are asked to pause and answer, and then the code is run and the answer explained. It matters because testing yourself is the quickest way to find what has not yet sunk in.
What you'll learn
Tools and concepts: MSE, gradient descent, learning rate, coef_, R squared, DummyRegressor, PolynomialFeatures, Ridge, Lasso, RMSE
Example used: The kids age and weight table and the insurance data, with a dummy RMSE of 12,466 as the benchmark for the closing exercise.
Where this fits: This closes the regression section, and the next section moves from predicting numbers to predicting classes.
After this lecture you will be able to turn a score into a probability and then into a yes or no answer. You will guess whether a vehicle is a bike or a car from its price alone, using eight vehicles. This matters because logistic regression is the starting point for almost every classification model.
What you'll learn
Tools and concepts: classification, logistic regression, sigmoid, np.exp, np.where, threshold, decision boundary, log loss
Example used: Eight vehicles priced from 12,000 to 18,000 dollars and above. With w 0.5 and b minus 7.5 the boundary is 15,000 dollars, and a 16,000 dollar vehicle gets a probability of 0.62, so it is a car.
Where this fits: This opens the classification section, and the next lecture uses scikit-learn to do the same job on real weather data.
After this lecture you will be able to train a logistic regression in scikit-learn, ask it for labels and for probabilities, and use it on more than two classes. You will predict whether it rains tomorrow in the Australian weather data. This matters because a chance attached to an answer lets you decide what to do with it.
What you'll learn
Tools and concepts: LogisticRegression, predict, predict_proba, classes_, max_iter, stratify, softmax, decision_function, StandardScaler
Example used: The weather AUS data with about 113,000 training rows (78 percent No, 22 percent Yes), scoring 0.849. For Mount Gambier the chance of rain is 0.54, and the iris model scores 0.933.
Where this fits: The previous lecture built the sigmoid by hand, and the next one asks why accuracy alone can mislead you.
After this lecture you will be able to explain why a model can be 99 percent accurate and still catch no fraud, and read a confusion matrix to see the real picture. You will use a table of 20,000 card payments where only 200 are fraud. This matters because accuracy hides the mistakes that usually cost the most.
What you'll learn
Tools and concepts: DummyClassifier, confusion_matrix, ravel, ConfusionMatrixDisplay, accuracy, false positive, false negative, Type one error, Type two error
Example used: Card payments with 1 percent fraud. The logistic regression scores 0.994 accuracy, with 4,949 true negatives, 1 false alarm, 29 missed frauds and 21 caught.
Where this fits: This follows the sigmoid and scikit-learn lectures, and the next one turns the four boxes into precision, recall and F1.
After this lecture you will be able to ask two honest questions of every yes a model gives, and combine the answers into one score. You will calculate them from the four boxes of the fraud model and then let scikit-learn do the work. This matters because the right score depends on which mistake costs you more.
What you'll learn
Tools and concepts: precision, recall, sensitivity, specificity, F1, precision_score, recall_score, f1_score, classification_report, macro average, weighted average
Example used: The fraud model with 21 true positives, 1 false positive and 29 false negatives. Precision is 0.955, recall is 0.42 and F1 is 0.583, while accuracy was 99.4 percent.
Where this fits: The confusion matrix gave you the four boxes, and the next lecture shows how moving the cut-off changes these scores.
After this lecture you will be able to move the decision threshold, read an ROC curve, and choose a cut-off without peeking at the test data. You will do this on the fraud model with a validation split. This matters because the default 0.5 cut is only a default.
What you'll learn
Tools and concepts: threshold, TPR, FPR, ROC curve, AUC, RocCurveDisplay, roc_auc_score, average_precision_score, precision_recall_curve, validation split
Example used: The fraud data with a 3,750-row validation part holding 37 frauds. AUC is 0.877, the best cut is 0.258, and on the test part it catches 25 of 50 frauds with 2 false alarms.
Where this fits: This builds on precision and recall, and the next lecture tackles the rare-class problem at its source.
After this lecture you will be able to help a model notice a rare class and then judge it fairly. You will compare stratified splits, class weights, oversampling and SMOTE on the fraud data. This matters because a model with too few examples of a class will simply ignore it.
What you'll learn
Tools and concepts: stratify, class_weight, SMOTE, imblearn Pipeline, sampling_strategy, recall, F1, data leakage
Example used: 14,850 normal and 150 fraud training payments. Full balancing lifts recall to about 0.84 but precision falls to 0.06, while SMOTE at 0.05 lifts F1 from 0.58 to 0.64 on test.
Where this fits: This uses the metrics from the last three lectures, and the next one makes your scores more trustworthy with cross-validation.
After this lecture you will be able to score a model on several different test parts instead of one lucky split. You will report a mean and a spread for the fraud model, and compare four models on the same folds. This matters because one split is partly luck.
What you'll learn
Tools and concepts: KFold, StratifiedKFold, cross_val_score, cross_validate, scoring, mean, standard deviation, SMOTE pipeline
Example used: The fraud data with 15,000 training rows. The plain model scores an F1 of 0.544 with a spread of 0.101, and the SMOTE 0.05 pipeline wins at 0.558, then 0.642 on test.
Where this fits: This pulls together splitting, metrics and resampling, and the next lecture reviews the section with questions.
This review lecture revisits the classification and evaluation section with seven multiple-choice questions and a closing exercise. Each question is shown, you are asked to pause and answer, and then the code is run and the answer explained. It matters because it shows you which lecture to rewatch.
What you'll learn
Tools and concepts: sigmoid, predict, predict_proba, confusion_matrix, classification_report, DummyClassifier, threshold, SMOTE, StratifiedKFold
Example used: The vehicles table, the weather data and the payments table, with 20,000 rows and 200 frauds.
Where this fits: This closes the classification section, and the next one introduces the classic algorithms one by one.
After this lecture you will be able to explain K-Nearest Neighbours, build it by hand and use it in scikit-learn. You will price a new house from its three nearest neighbours, then classify wines. This matters because KNN is the easiest model to understand, and it shows clearly why scaling is a must.
What you'll learn
Tools and concepts: KNeighborsRegressor, KNeighborsClassifier, distance, k, StandardScaler, Pipeline, cross_val_score, argmax
Example used: A new 82 square metre, 4 bedroom house, valued at 280 thousand raw and 296.7 thousand scaled. On the wine data raw KNN stays near 0.71, scaled reaches 0.972 with the best k of 17, and the test accuracy is 1.0.
Where this fits: This starts the classic algorithms section, and the next lecture covers a model built on counting and multiplying probabilities.
After this lecture you will be able to explain Naive Bayes as a first guess updated by every clue, and build a tiny spam filter by hand. You will then use Gaussian Naive Bayes on iris flowers. This matters because it shows how a model can train by simply counting.
What you'll learn
Tools and concepts: prior, likelihood, posterior, naive assumption, Laplace smoothing, alpha, log probabilities, GaussianNB, theta_, pd.read_csv
Example used: Eighteen messages (10 normal, 8 spam) and four words. Free tonight scores 0.0231 for normal and 0.0098 for spam after smoothing. Gaussian NB scores 0.967 on iris.
Where this fits: The last lecture used distance, and this one uses probability, and the next one looks at the widest-road idea of support vector machines.
After this lecture you will be able to explain how a Support Vector Machine draws the widest road between two groups, and tune its main settings. You will use two villages of houses, a medicine dose, two curved moons and wine data. This matters because SVMs are strong on medium-sized data once you scale and tune them.
What you'll learn
Tools and concepts: SVC, SVR, margin, support vectors, kernel, RBF, C, gamma, epsilon, StandardScaler, cross-validation
Example used: Twelve houses from two villages (road width 2.19), then wine data where C 1 with gamma scale scores 0.986 in cross-validation and 0.972 on test using 61 support vectors.
Where this fits: This follows KNN and Naive Bayes, and the next lecture covers decision trees, which need no scaling at all.
After this lecture you will be able to grow a small decision tree, read why it gave an answer, and stop it from overfitting. You will predict rain tomorrow from the number columns of the weather data. This matters because trees are easy to explain and form the base of forests and boosting.
What you'll learn
Tools and concepts: DecisionTreeClassifier, DecisionTreeRegressor, gini, entropy, max_depth, feature_importances_, overfitting, leaf
Example used: A 10,000-day sample of the rain data with 16 number columns. Depth 4 scores 0.822 on test, no limit scores 1.0 on train but 0.77 on test, and humidity at 3 p.m. holds an importance of 0.65.
Where this fits: This builds on cross-validation for choosing depth, and the next lecture combines many trees into a forest.
After this lecture you will be able to explain why many shaky trees voting together give a steadier answer, and build a random forest. You will use the same rain sample as the trees lecture. This matters because a forest is often a strong model with very little tuning.
What you'll learn
Tools and concepts: bagging, bootstrap, RandomForestClassifier, RandomForestRegressor, n_estimators, max_features, n_jobs, variance
Example used: The rain data with 8,000 training and 2,000 test days. Single trees score about 0.75 to 0.77, while a forest of 100 trees scores 0.85, and 300 trees reach 0.854.
Where this fits: The last lecture trained one tree, and the next one trains trees one after another so each fixes the previous mistakes.
After this lecture you will be able to explain boosting as small trees in a row, each fixing what is still wrong, and use XGBoost. You will first watch it on six kids' weights and then on the rain data. This matters because XGBoost is a practical default for table data.
What you'll learn
Tools and concepts: residuals, learning rate, AdaBoostClassifier, GradientBoostingClassifier, XGBClassifier, XGBRegressor, n_estimators, SimpleImputer
Example used: Six kids where the MSE falls from 36.89 to 15.56, 7.96 and 4.49. On the rain data XGBoost with 300 trees at a rate of 0.05 scores 0.846, and a house valued at 272.9 thousand.
Where this fits: This comes after random forests, and the next lecture combines different models into a team.
After this lecture you will be able to combine different models into a team and check honestly whether the team beats its best member. You will use logistic regression, KNN and a shallow tree on the rain data. This matters because an ensemble does not always win.
What you'll learn
Tools and concepts: VotingClassifier, StackingClassifier, hard voting, soft voting, final_estimator, cv, ensemble, predict_proba
Example used: Rain data with 2,000 test days. Logistic regression scores 0.846, hard voting 0.84, soft voting 0.839 and stacking 0.848, which is only 4 more correct days than logistic regression.
Where this fits: This ends the run of algorithms, and the next lecture reviews the section with questions.
This review lecture revisits the classic algorithms section with seven multiple-choice questions and a closing exercise. Each question is shown, you are asked to pause and answer, and then the code is run and the answer explained. It matters because it points you back to the lecture you need.
What you'll learn
Tools and concepts: KNN, StandardScaler, Naive Bayes, SVM, gamma, decision tree, random forest, residuals, soft voting, XGBoost
Example used: The wine data, the rain data, the spam word counts and the six kids table.
Where this fits: This closes the algorithms section, and the next section shows how to tune, explain and package a model.
After this lecture you will be able to let the computer try model settings for you and keep the best ones. You will tune a random forest with grid search and XGBoost with random search on the rain data. This matters because good settings can lift a model a long way without changing the algorithm.
What you'll learn
Tools and concepts: hyperparameter, GridSearchCV, RandomizedSearchCV, param_grid, n_iter, cv, scoring, best_estimator_, XGBClassifier, scale_pos_weight
Example used: Rain in Australia, 16,000 training and 4,000 test days. The default forest scores an F1 of 0.558, the grid forest 0.63, random XGBoost 0.649 in 50 fits, and the test F1 is 0.637.
Where this fits: This follows the algorithms section, and the next lecture explains what the tuned model relies on.
After this lecture you will be able to ask a model why it gave an answer. You will explain a rain prediction from the tuned XGBoost model using three tools. This matters because people will ask why a loan was refused or a rain warning issued, and you need a real answer.
What you'll learn
Tools and concepts: feature_importances_, permutation_importance, n_repeats, SHAP, TreeExplainer, XGBoost, pipeline, F1
Example used: Test day 17 in Moree, with 94 percent humidity and no sunshine, which the model gives a 97 percent chance of rain. Shuffling humidity drops F1 from 0.637 to 0.453, and SHAP adds 3.39 for humidity.
Where this fits: The search chose the settings in the last lecture, and the next one puts the whole workflow into one project.
After this lecture you will be able to run a complete classification project from raw data to a tested and saved model. You will build one notebook on Rain in Australia that auditions six models, tunes the best two, picks a threshold and tests once. This matters because you can reuse this template for your own classification problems.
What you'll learn
Tools and concepts: train_test_split, ColumnTransformer, cross_validate, StratifiedKFold, RandomizedSearchCV, GridSearchCV, cross_val_predict, threshold, ROC AUC, joblib
Example used: Rain in Australia, 16,000 training and 4,000 test days. XGBoost leads the board at an F1 of 0.606, tuned reaches 0.64, and the test AUC is 0.872 with a recall of 0.76 at a threshold of 0.4.
Where this fits: This brings together the preprocessing, models, evaluation and tuning from the earlier sections, and the next lecture reviews the section with questions.
This review lecture revisits tuning, explanation and the project with five multiple-choice questions and a closing exercise. Each question is shown, you are asked to pause and answer, and then the code is run and the answer explained. It matters because it shows which lecture to revisit.
What you'll learn
Tools and concepts: RandomizedSearchCV, n_iter, param_grid, clf__ naming, permutation_importance, threshold, joblib, Pipeline
Example used: The rain data with 16,000 training and 4,000 test days, and an XGBoost pipeline with the step names preprocess and clf.
Where this fits: This closes the model selection and tuning section, and it is the last lecture of this section.
After this lecture you can group customers with K-means when nobody has given you labels, and explain what the algorithm does at each round. You start with eight homes and two pizza shops, work through the assign and update loop by hand, and then run the same idea on a file of 2,600 customers described by a visit score and a spending rank.
What you'll learn
Tools and concepts: KMeans, fit_predict, centroids, inertia, k-means++, n_init, random_state, StandardScaler, argmin, pandas
Example used: 2,600 customers with a visit score and a spending rank, grouped into four clusters with an inertia of about 440,000.
Where this fits: This opens Section 09 and our first model with no labels at all. The next lecture shows how to choose k instead of guessing it.
After this lecture you can decide how many groups really exist in your data, and then describe each group in plain words a shop owner can use. You use two scores on the same 2,600 customers, the elbow of the inertia curve and the silhouette, and finish by profiling every cluster. K-means always returns k groups, even when k is wrong.
What you'll learn
Tools and concepts: inertia, elbow plot, silhouette_score, a and b distances, groupby, KMeans, cluster profile
Example used: The same 2,600 customers, where the silhouette peaks at 0.647 for k equals four.
Where this fits: The previous lecture introduced K-means and inertia. The next one shows two other ways to find groups, hierarchical clustering and DBSCAN.
After this lecture you can read a dendrogram and run DBSCAN on data with odd shapes and stray points. You build the family tree for the eight homes, compare four linkage methods on the customer data, and then see DBSCAN follow two moons that K-means cuts in half. It matters because K-means is not the right tool for every shape of data.
What you'll learn
Tools and concepts: linkage, ward, dendrogram, agglomerative clustering, DBSCAN, eps, min_samples, noise label -1, make_moons
Example used: Eight homes for the tree, and 312 points from make_moons where DBSCAN finds two clusters and seven noise points.
Where this fits: The last lecture was about choosing k for K-means. The next one moves from grouping rows to squeezing columns with PCA.
After this lecture you can shrink a table of many columns into a few new ones and say how much information you kept. You work with 178 wines described by 13 measurements, and you turn them into two columns you can plot. It matters because fewer columns are easier to draw, store and feed into a model.
What you'll learn
Tools and concepts: PCA, n_components, explained_variance_ratio_, StandardScaler, Pipeline, LogisticRegression, train_test_split with stratify
Example used: The scikit-learn wine data with 178 wines. Two components keep about 55 percent of the spread and score 0.911 in a logistic regression.
Where this fits: Earlier lectures in this section grouped rows. This one works on columns, and the next lecture looks at items bought together.
After this lecture you can find which items are bought together and score each rule with support, confidence and lift. You start with eight small baskets and calculate everything by hand, then run Apriori on 14,963 real grocery baskets. It matters because a rule only helps a shop if it is common enough and stronger than plain popularity.
What you'll learn
Tools and concepts: support, confidence, lift, Apriori, min_support, mlxtend, TransactionEncoder, association_rules, frequent item sets
Example used: 38,765 grocery lines grouped into 14,963 baskets, giving 750 frequent item sets and 240 rules at a minimum support of 0.001.
Where this fits: The previous lecture reduced columns. The next one uses ratings to recommend books.
After this lecture you can build an item-based recommender that suggests books readers rate in the same way. You begin with a tiny table of sixteen ratings, then move to the Book-Crossing data and recommend books close to A Painted House. It matters because real rating tables are huge and mostly empty, so memory and luck both need handling.
What you'll learn
Tools and concepts: pivot_table, user-item matrix, corr, cosine similarity, value_counts, csr_matrix, sparse matrix, collaborative filtering
Example used: 433,671 ratings above zero, reduced to 537 books and 21,078 readers, where a dense table would need 90.6 MB.
Where this fits: The last lecture found items bought together. The next lecture reviews the whole section with questions.
This review lecture revisits the whole of Section 09 with six multiple choice questions, one for each lecture, followed by a small exercise on the customer data. Each question is shown on screen, you are asked to pause the video and choose your answer, and then the code is run and the answer is explained. It helps you find which lecture to watch again.
What you'll learn
Tools and concepts: KMeans, inertia, silhouette, DBSCAN, eps, PCA, StandardScaler, lift, correlation, dropna
Example used: The 2,600 customers, the 312 moon points and the 178 wines from this section.
Where this fits: This closes Section 09 on unsupervised learning. Section 10 moves on to turning text into numbers.
After this lecture you can turn a movie review into a row of word counts that a model can use. You clean the text, count the words with CountVectorizer, and see why a bag of words forgets word order and how n-grams bring a little of it back. It matters because a model only does maths, and plain text makes it fail.
What you'll learn
Tools and concepts: CountVectorizer, tokens, stop words, build_analyzer, document-term matrix, sparse matrix, ngram_range, n-grams
Example used: 2,000 movie reviews, half positive and half negative, giving a matrix of 39,659 word columns.
Where this fits: This starts Section 10 in the Prepare stage. The next lecture makes the counts smarter with TF-IDF.
After this lecture you can weight words so that common ones fade and distinctive ones stand out. You work through four restaurant reviews by hand, see why mouldy beats food, and then compare raw counts with TF-IDF on 2,000 movie reviews. It matters because plain counts treat every word as equally important.
What you'll learn
Tools and concepts: TF, IDF, TfidfVectorizer, idf_, CountVectorizer, row normalisation, stop words, top five words
Example used: Four restaurant reviews, then 2,000 movie reviews with 39,354 columns, where counts favour film and movie and TF-IDF favours teen, sagemiller and memento.
Where this fits: The last lecture produced plain word counts. The next one trains a classifier on TF-IDF features.
After this lecture you can train a classifier that reads a movie review and answers positive or negative, and check it fairly on reviews it has never seen. You build one Pipeline that holds TF-IDF and a model, compare naive Bayes with a linear SVM, and look at the confusion matrix. It matters because a pipeline stops information from the test reviews leaking into training.
What you'll learn
Tools and concepts: Pipeline, TfidfVectorizer, MultinomialNB, LinearSVC, f1_score, ConfusionMatrixDisplay, train_test_split, data leakage
Example used: 2,000 movie reviews, where LinearSVC gets 340 of 400 test reviews right.
Where this fits: The previous lecture built TF-IDF features. The next lecture reviews the section.
This review lecture revisits Section 10 with five multiple choice questions on the movie reviews, followed by a short exercise. Each question is shown on screen, you are asked to pause and choose an answer, and then the code is run and the answer is explained. It tells you which lecture to rewatch if you missed one.
What you'll learn
Tools and concepts: CountVectorizer, ngram_range, idf, TfidfVectorizer, Pipeline, LinearSVC, F1 score, confusion matrix, data leakage
Example used: 2,000 movie reviews split into 1,600 for training and 400 for testing.
Where this fits: This closes Section 10. Section 11 starts neural networks, using pictures of digits.
MACHINE LEARNING ENGINEER: FROM FIRST MODEL TO ML ENGINEER
Bonus: get a FREE 6-month licence for PyCharm Professional or another JetBrains IDE of your choice. A short lecture near the start shows you how to claim it.
Are you ready to stop writing notebooks that die on your laptop and start shipping models that run in production?
This course is built for both complete newcomers to machine learning and experienced developers who already write code but have never owned a model end to end. You start with Python functions and object-oriented programming, move into the real mechanics of machine learning — data, features, metrics, algorithms — and then keep going past the point where most courses stop: serving, monitoring, retraining, deep learning, LLMs, RAG, and four full production use cases. By the end you will not just know what a random forest is. You will know how to pick it, prove it, deploy it, watch it degrade, and defend every decision in an interview.
You begin with the Python an ML engineer actually uses. Functions, scope, args and kwargs, map, filter and lambda, then a full object-oriented programming track — classes, inheritance, polymorphism, MRO and mixins, encapsulation, special methods, composition, abstract classes and dataclasses. This is the foundation everything else sits on, and it is taught with practice use cases and skills tests rather than theory for its own sake.
From there you move into the fundamentals of machine learning itself. You learn what ML really is in terms of data, features and labels, the statistics you genuinely need (and none that you don't), and the toolkit: NumPy arrays with shape, axis and vectorised maths, pandas for reading, selecting, cleaning and summarising data, Matplotlib and Seaborn for plotting, and scikit-learn's single repeating pattern of fit, predict and transform. Then you learn to look at data properly — distributions, scatter and pair plots, outliers with box and violin plots, correlation and heatmaps.
As you progress you take on the parts that decide whether a model is real or an illusion. Train-test splits and data leakage, missing data, categorical encoding, feature scaling, pipelines and ColumnTransformer, feature selection and the curse of dimensionality. Then regression — linear regression, cost functions, gradient descent, regression metrics, polynomial regression, overfitting and underfitting, Ridge and Lasso regularisation. Then classification done honestly: logistic regression and the sigmoid, why accuracy lies, the confusion matrix, precision, recall and F1, ROC and AUC, threshold selection, imbalanced data and cross-validation.
Take your skills to the next level with the classic algorithms every ML engineer is expected to know cold — K-Nearest Neighbours, Naive Bayes, Support Vector Machines, decision trees, bagging and random forests, AdaBoost, Gradient Boosting and XGBoost, voting and stacking — followed by hyperparameter tuning with grid and random search, model explainability, unsupervised learning with K-Means, hierarchical clustering, DBSCAN, PCA, association rules and recommender systems, and classic NLP with bag of words, TF-IDF and text classifiers.
Then the course turns into engineering. You build neural networks from the forward pass, activation functions, loss and backpropagation, and the training loop, in both Keras and PyTorch. You learn embeddings, CNNs and similarity search. You save and load models, serve them with FastAPI, and deliver a full capstone car price predictor end to end. And then — where most courses finish — you keep going into virtual environments, Git and GitHub, pytest, config and logging, SQL, time and group splits, point-in-time correctness, data validation, training-serving skew, feature stores, DVC, MLflow experiment tracking, model registries, calibration, slice evaluation and fairness checks.
The production track goes deep. Docker, containerising a model API, choosing between online, batch and streaming serving, batch scoring, latency math, OpenTelemetry and Locust, ONNX, batching and quantisation, sizing and autoscaling, training DAGs, retries and backoff, CI/CD quality gates on models, cloud choices from IaaS to serverless, Kubernetes at a high level, managed platforms like SageMaker, Vertex AI and Azure ML, and cost thinking. Then monitoring: drift detection in code, shadow, canary and rollback, A/B tests for models, late-arriving labels, retraining triggers, user feedback loops and debugging a model in production.
Finally, you move into modern AI. Transfer learning, attention explained without the maths, transformer building blocks in PyTorch, Hugging Face pretrained models, GPU training with mixed precision and checkpoints, when NOT to fine-tune, full fine-tuning vs LoRA vs QLoRA, distillation, and serving open models with vLLM. Then LLMs and RAG for ML engineers — context windows, tokens and cost, structured output, embedding models, chunking, vector databases, hybrid search, reranking, retrieval evals, golden datasets and the discipline of never shipping without an eval. The course closes with four complete production use cases and two full interview-preparation sections.
Course Highlights
221+ video lectures across 27 sections
28 knowledge-check quizzes, one per major topic
Practice role plays that put you in real workplace conversations — code reviews, incident calls, stakeholder explanations
Coding exercises and skills tests built into the learning path
Downloadable project files and presentation materials for every major section
Four end-to-end production use cases, not toy demos
Two dedicated interview-preparation sections, including live-scored mock interviews
Built on the current Python ML stack — scikit-learn, pandas, NumPy, PyTorch, Keras, FastAPI, Docker, MLflow, Hugging Face
What Sets Us Apart?
Extensive Content
Over 220 lectures spanning Python foundations through production MLOps, deep learning and LLM systems. This is not an introduction with a deployment chapter bolted on — roughly half the course is about what happens after the model works.
Latest Tools and Technologies
You work with the stack teams actually use in 2026: scikit-learn pipelines, PyTorch and Keras, FastAPI, Docker, MLflow, DVC, ONNX, OpenTelemetry, vLLM, Hugging Face, Chroma and pgvector, XGBoost, and LoRA/QLoRA fine-tuning.
Focus on Production and Modern AI
Drift, calibration, slice evaluation, training-serving skew, latency budgets, canary releases, retrieval evals and golden datasets. These are the topics that separate someone who can train a model from someone who can own one.
Uncover the top skills taught in our course
Machine Learning Engineering
Python Programming and OOP
Data Preprocessing and Feature Engineering
Model Evaluation and Metrics
Deep Learning with PyTorch and Keras
MLOps and Experiment Tracking
Model Serving and API Development
Production Monitoring and Drift Detection
LLM Applications and RAG Systems
ML System Design and Interview Preparation
New Addition
AI Job Preparation for ML Engineers
But that's not all! A complete new section covers the AI-systems questions now appearing in ML engineer interviews — the ones that have nothing to do with training a model and everything to do with running one at scale.
You work through a single realistic use case, a multi-tenant support assistant, and build out every piece of its reliability and performance story:
Retries with backoff and jitter
Fallback models
Back pressure
Load balancing for LLM traffic
Message queues
Caching for AI apps and semantic caching
RAG end to end, vector indexes and hybrid search
Citations and abstention
Embedding migration
Testing a RAG bot before it ships
Model routing
Observability and tracing
Cutting p95 latency and cost in half
Guardrails
Full design round: a multi-tenant RAG assistant, requirements and numbers
Design case: taking a 500 MB PDF pipeline from 50 s to 2 s
Coding round: top-k merge and rank fusion
A final question bank and a live-scored mock interview
What You'll Learn
Build a complete machine learning model from raw data to a deployed API
Choose the right algorithm and prove it with the right metric
Write preprocessing that never leaks future information into training
Serve a model with FastAPI inside Docker against a real latency budget
Monitor a live model for drift and retrain it on a trigger
Fine-tune a small transformer with LoRA and serve it efficiently
Build a RAG pipeline with hybrid search, reranking and retrieval evals
Answer ML system design questions with a repeatable framework
Python functions, scope, args and kwargs, map, filter, lambda
Object-oriented programming: classes, inheritance, polymorphism, MRO, mixins, dataclasses
NumPy, pandas, Matplotlib, Seaborn, scikit-learn
Exploratory data analysis and correlation analysis
Train-test splits, missing data, encoding, scaling, pipelines
Linear and polynomial regression, gradient descent, Ridge and Lasso
Logistic regression, confusion matrix, precision, recall, F1, ROC, AUC
KNN, Naive Bayes, SVM, decision trees, random forests, XGBoost, stacking
Hyperparameter tuning and model explainability
K-Means, DBSCAN, hierarchical clustering, PCA, association rules, recommenders
Bag of words, TF-IDF, text classification
Neural networks, backpropagation, CNNs, embeddings, similarity search
Docker, Git, pytest, SQL, virtual environments, config and logging
MLflow, model registries, DVC, feature stores, data validation
ONNX, quantisation, batching, autoscaling, latency measurement
Airflow DAGs, CI/CD quality gates, cloud and Kubernetes fundamentals
Transformers, Hugging Face, LoRA, QLoRA, distillation, vLLM
LLM cost and context management, structured output, guardrails
Course Curriculum Content
Start With the Python an ML Engineer Actually Writes
Before any model, you need Python that holds up in a codebase. This opening block covers the job itself and then the language features you will use every day.
Topics covered:
What an ML Engineer Actually Does
Setup: PyCharm and Google Colab
How to access the presentation and project files
Functions, Scope, Args and Kwargs
Map, Filter, Lambda and Python Packages
Practice Use Cases and Prompt Building
Test your Functions and Methods skills
Project files
Master Object-Oriented Programming in Python
Every production ML codebase is object-oriented. This section takes you from naming conventions to abstract classes and dataclasses, with practice cases throughout.
Topics covered:
OOP Introduction, Classes, Objects and Naming Conventions
Class Methods, Static Methods and Properties
Inheritance and Polymorphism
Multiple Inheritance, MRO and Mixins
Encapsulation and Special Methods
Composition, Abstract Classes and Dataclasses
OOP Use Cases and Practice
Test your OOP skills
Project files
Build a Strong Foundation in Machine Learning
Now the core ideas. What ML is, the workflow that maps the rest of the course, the statistics you need, and the toolkit you will use for everything that follows.
Topics covered:
What ML Is: Data, Features and Labels
The ML Workflow: the Map of This Course
Statistics You Actually Need
Your Toolkit: Who Does What
NumPy Arrays: Shape, Axis and Vectorised Maths
pandas 1: Reading and Selecting Data
pandas 2: Cleaning and Summarising
Plotting: Matplotlib and Seaborn in One Picture
scikit-learn's One Pattern: fit, predict, transform
Section Review: Q&A and MCQs
Learn to Read a Dataset Before You Model It
Exploratory data analysis is where good models are won. You learn to look at one variable, then relationships, then the things that will quietly ruin your results.
Topics covered:
First Look at a Dataset
Distributions: One Variable at a Time
Relationships: Scatter and Pair Plots
Outliers with Box and Violin Plots
Correlation and Heatmaps
Section Review: Q&A and MCQs
Preprocess Data Without Leaking the Future
This is where most beginner models go wrong. You learn splits, imputation, encoding, scaling and pipelines — and the leakage traps hiding in each one.
Topics covered:
Train-Test Split and Data Leakage
Handling Missing Data
Encoding Categorical Data
Feature Scaling
Pipelines and ColumnTransformer
Feature Selection and the Curse of Dimensionality
Project: Preprocess Rain in Australia
Section Review: Q&A and MCQs
Predict Numbers With Regression
From the cost function and gradient descent up to regularisation, you learn how regression works internally and how to keep it from overfitting.
Topics covered:
Linear Regression and the Cost Function
Gradient Descent
Linear Regression in scikit-learn
Regression Metrics
Polynomial Regression, Overfitting and Underfitting
Regularisation: Ridge and Lasso
Section Review: Q&A and MCQs
Coding exercise: Compute MAE and RMSE
Classify and Evaluate Honestly
Accuracy is the most misleading number in machine learning. This section replaces it with the metrics that actually tell you whether a classifier works.
Topics covered:
Logistic Regression and the Sigmoid
Logistic Regression in scikit-learn
Why Accuracy Lies: the Confusion Matrix
Precision, Recall and F1
ROC, AUC and Choosing a Threshold
Handling Imbalanced Data
Cross-Validation
Section Review: Q&A and MCQs
Know the Classic Algorithms Cold
Interviewers ask about these, and production teams still ship them. You learn each one's intuition, its failure mode and when to reach for it.
Topics covered:
K-Nearest Neighbours
Naive Bayes
Support Vector Machines
Decision Trees
Bagging and Random Forest
Boosting: AdaBoost, Gradient Boosting and XGBoost
Voting and Stacking
Section Review: Q&A and MCQs
Select and Tune the Right Model
A trained model is not a finished model. You learn to search the hyperparameter space, explain what the model is using, and assemble a reusable project template.
Topics covered:
Hyperparameter Tuning: Grid and Random Search
Which Features Matter: Explaining a Model
Project: The Classification Master Template
Section Review: Q&A and MCQs
Find Structure Without Labels
Unsupervised learning, from clustering to dimensionality reduction to recommendations, with the practical question of how to choose k.
Topics covered:
K-Means Clustering
Choosing k: Elbow and Silhouette
Hierarchical Clustering and DBSCAN
Dimensionality Reduction with PCA
Association Rules: Market Basket Analysis
Recommender Systems
Section Review: Q&A and MCQs
Turn Text Into Something a Model Can Use
Classic NLP still powers an enormous amount of production text work, and it is the right baseline before any transformer.
Topics covered:
Text to Numbers: Bag of Words
TF-IDF
Building a Text Classifier
Section Review: Q&A and MCQs
Understand Neural Networks From the Inside
You build the forward pass, the loss, backpropagation and the training loop, then implement the same network twice — once in Keras, once in PyTorch.
Topics covered:
Why Neural Networks
The Forward Pass and Activation Functions
Loss and Backpropagation
The Training Loop: Epochs, Batches and Optimisers
Your First Network with Keras
The Same Network in PyTorch
Convolutional Neural Networks Basics
Embeddings: Words as Vectors
Similarity Search: Finding the Closest Vectors
Section Review: Q&A and MCQs
Deploy Your First Model
Saving a model and serving it behind an API is the moment ML becomes software. You do it here, simply and completely.
Topics covered:
Saving and Loading Models
FastAPI Hello World
Deploy the Model with FastAPI
Build an End-to-End Capstone
You bring the whole first half together into a working product, then get a clear map of where to go next.
Topics covered:
Capstone: Car Price Predictor End to End
What's Next: From Classic ML to LLMs
Move From Notebook to Engineering Project
Notebooks don't ship. This section gives you the engineering practices that turn experiments into maintainable projects.
Topics covered:
Virtual Environments
Git and GitHub Fundamentals
Testing with pytest and FastAPI
Config and Logging Instead of Hard-Coded Values
SQL Essentials
Section Review: Q&A
Handle Data and Features the Way Production Does
Random splits lie about time-series data. This section covers the correctness problems that only show up once a model is live.
Topics covered:
Splits That Match Reality: Time and Group Splits
Time Series Basics
Feature Engineering Patterns That Win
Point-in-Time Correctness
Data Validation and Schema Checks
Training-Serving Skew
Feature Stores: When You Need One and When You Don't
Data Versioning with DVC
Section Review: Q&A and MCQs
Track Experiments and Prove Model Quality
You learn to make results reproducible, versioned and defensible — including the evaluation work that a single accuracy number hides.
Topics covered:
MLOps in One Picture
Experiment Tracking with MLflow
Model Registry and Loading by Version
Baselines and the Cost of Being Wrong
Calibration: Can You Trust the 0.8
Slice Evaluation and Fairness Checks
Section Review: Q&A and MCQs
Serve Models in Production
Containers, serving patterns, latency budgets and inference optimisation — everything between a saved model and a service that holds up under load.
Topics covered:
Docker Essentials
Containerising a Model API
Online, Batch and Streaming: Picking the Serving Pattern
A Production FastAPI for a Model
Batch Scoring
Latency Math
Measuring Latency: OpenTelemetry and Locust
Making Inference Fast: ONNX, Batching and Quantisation
Sizing and Autoscaling an Inference Service
Section Review: Q&A and MCQs
Automate Pipelines, CI/CD and Cloud
You turn training into a DAG, put a quality gate in front of releases, and learn enough cloud to make a sensible choice rather than a default one.
Topics covered:
The Training Pipeline as a DAG
Orchestrating with Airflow
Reliable Tasks: Retries and Backoff
CI with GitHub Actions
CI/CD for ML: A Quality Gate on the Model
Which Cloud for What
IaaS, PaaS, Containers and Serverless: Choosing
Kubernetes at a High Level
Managed ML Platforms: SageMaker, Vertex AI and Azure ML
Project: Deploy the Model API to AWS
Cost Thinking
Section Review: Q&A and MCQs
Monitor, Release and Close the Feedback Loop
Models decay. This section is about noticing it early, releasing safely, and debugging a model that is already live.
Topics covered:
Monitoring Drift and Retraining
Drift Detection in Code
Shadow, Canary and Rollback
A/B Tests for Models
When Labels Arrive Weeks Late
Retraining Triggers and the Retrain Pipeline
The User Feedback Loop
Debugging a Model in Production
Section Review: Q&A and MCQs
Take Deep Learning to Production
Regularisation, transfer learning, transformers, fine-tuning strategies and efficient serving of open models.
Topics covered:
Keeping Networks Honest: Dropout, Early Stopping and Batch Norm
Transfer Learning on Images
Attention Explained Without the Maths
Transformer Building Blocks in PyTorch
Pretrained Models from Hugging Face
Loading a Model and Running Inference
Model Size, Memory and Ways to Run It
Training on a GPU: Mixed Precision and Checkpoints
When NOT to Fine-Tune
Full Fine-Tuning vs LoRA vs QLoRA
LoRA Fine-Tune of a Tiny Model
Distilling a Big Model Into a Small One
Serving Open Models: vLLM, Batching and Cold Starts
Section Review: Q&A and MCQs
Build LLM and RAG Systems as an Engineer
Not prompt tips — retrieval architecture, measurement and the decision of whether to fine-tune at all.
Topics covered:
What an LLM Can and Cannot Do
Context Windows, Tokens and Cost
Structured Output and Typed LLM Output
Real Embedding Models
Why RAG Exists
Chunking Strategies That Actually Matter
Vector Databases: Chroma and pgvector
Build a RAG Pipeline From Scratch
Prompt Assembly and Citation
Hybrid Search: Dense Plus BM25
Reranking
Retrieval Evals: Recall@K, MRR and nDCG
Why You Cannot Ship Without an Eval
Building a Golden Dataset
Regression Testing in CI
Fine-Tuning vs RAG vs Prompting
Section Review: Q&A and MCQs
Bonus Modules
Use Case 1: Real-Time Fraud Scoring
A full production build under a hard latency budget, with time splits, leak-free features and a release plan.
Topics in this section:
The Problem, the Metric and the Baseline
Training With Time Splits and Leak-Free Features
Serving It: FastAPI, Docker and a 50 ms Budget
Release and Monitoring: Shadow, Drift and Late Labels
Use Case 2: Recommendations and Ranking
The two-stage architecture behind every real recommender, built and served with caching and fallbacks.
Topics in this section:
Two Stages: Candidates, Then Ranking
Candidate Generation With Embeddings
The Ranker and Offline Metrics
Serving Recommendations: FastAPI, Cache and Fallback
Use Case 3: Demand Forecasting Pipeline
Forecasting framed as a business decision, trained with backtesting and run as a nightly batch job.
Topics in this section:
Forecasting as a Business Problem
Training With Backtesting
The Nightly Batch Pipeline
Serving and Monitoring the Forecasts
Use Case 4: A Small Model for Ticket Routing
When a small fine-tuned encoder beats an LLM — and how to quantise, host, measure and release it safely.
Topics in this section:
Rules, TF-IDF or a Model: Starting With a Baseline
Fine-Tuning a Small Encoder
Quantise, Host and Measure
Canary, Rollback and Can It Reason
The ML Engineer Job Hunt
A complete interview track: the loop, the frameworks, three full design walk-throughs, coding and depth rounds, and a scored mock interview.
Topics in this section:
The ML Engineer Interview Loop
The Answer Framework
From Symptom to Pattern
The ML System Design Framework
Design Walk-Through: Fraud Detection
Design Walk-Through: A Recommendation Feed
Design Walk-Through: Ad Click Prediction
Serving and Monitoring a Small Model
ML Coding Round: From Scratch
ML Depth Round: The Questions That Always Come
Mock Interview: An ML Engineer Question, Scored Live
Portfolio: Presenting Your Work
Reading a Job Ad and Shaping Your CV
Key Learning Objectives
Python and OOP: Write the functional and object-oriented Python that production ML codebases are built from.
Data and Features: Clean, encode, scale and engineer features inside pipelines that never leak information.
Modelling: Train, tune and compare regression, classification, clustering and ensemble models with scikit-learn and XGBoost.
Evaluation: Choose and defend the right metric, calibrate probabilities and evaluate by slice rather than by average.
Deep Learning: Build and train networks in PyTorch and Keras, apply transfer learning, and fine-tune transformers with LoRA.
MLOps: Track experiments with MLflow, version data with DVC, orchestrate training as a DAG and gate releases in CI/CD.
Serving: Containerise and serve models with FastAPI and Docker, measure latency, and optimise inference with ONNX and quantisation.
Monitoring: Detect drift, run canary and A/B releases, handle late labels and trigger retraining.
LLMs and RAG: Build retrieval pipelines with hybrid search, reranking, citations, guardrails and real retrieval evals.
Interviews: Answer ML depth, coding and system design questions using repeatable frameworks.
Course Features
Take a dataset from raw CSV to a monitored, containerised API
Build four complete production systems across fraud, recommendations, forecasting and routing
Fine-tune and serve a small transformer on your own hardware or a single GPU
Build and evaluate a RAG system end to end
Walk into an ML engineer interview with three design walk-throughs and a question bank already practised
Practice role plays that simulate code reviews, incident calls and stakeholder conversations
Why Choose This Course?
Comprehensive Content — Over 220 lectures and 28 quizzes covering Python foundations, classic ML, deep learning, MLOps, LLMs and interview preparation in one continuous path.
Unique Teaching Style — Every concept is taught the way it appears at work: the idea, the code, the failure mode, then a practice case or role play where you have to explain or defend it.
Comprehensive Learning — You don't stop at model accuracy. You cover leakage, calibration, drift, latency, cost and fairness, which is where real ML engineering lives.
Hands-On Approach — Projects, coding exercises, skills tests and four full production use cases, with downloadable project files throughout.
Career Booster — Two dedicated interview sections, a portfolio module and CV guidance, so the course ends with job readiness rather than a certificate.
Why Learn Machine Learning Engineering?
Companies have no shortage of people who can train a model in a notebook. What they are desperately short of is engineers who can take that model and make it work reliably for real users — deployed, measured, monitored and retrained. That gap is exactly why ML engineer roles command the salaries they do, and why interview loops focus so heavily on system design, evaluation and failure handling rather than algorithm trivia. Every industry now runs on predictions: fraud scoring in banking, demand forecasting in retail, routing and triage in support, recommendations in media and commerce. The engineers who can own those systems end to end, and now extend them with LLMs and retrieval, are the ones writing their own career terms.
About the Instructor
Chaand Sheikh is a bestseller instructor with over 251,000 students across 25+ courses, combining more than a decade of software engineering experience with hands-on machine learning work as a former Machine Learning Engineer and an MSc. in Artificial Intelligence. His teaching style is deliberately practical: short, focused lectures, real code, and a constant emphasis on why a decision matters in production rather than only how to write it.
Enroll Risk-Free
Your enrollment is protected by a 30-day money-back guarantee. If the course isn't right for you, you get a full refund — no questions asked.
Stop collecting notebooks. Start shipping models.
Your first model is a few lectures away. Your first production system is a few sections after that.
Enroll today and become the ML engineer teams are actually hiring for.
See you on the course!