Udemy
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
End-to-End Machine Learning: Business Problem to Production
New
3 students

End-to-End Machine Learning: Business Problem to Production

One bank churn problem, from vague request to monitored production model. Python, scikit-learn, fully reproducible.
Created byReal Numbers
Last updated 10/2026
English
English

What you'll learn

  • Turn a vague business request into a modelling problem: define the target, set the outcome window, and agree what success means before writing any code
  • Diagnose and repair a genuinely dirty extract - duplicates, impossible values, mixed date formats and missing data - in the order that does not corrupt the fix
  • Detect target, group and preparation leakage, and explain why a feature that lifts AUC to 0.991 has to be thrown away rather than shipped
  • Choose a metric and a decision threshold from the cost of each error, and show a sponsor the model's value in pounds against a do-nothing baseline
  • Build leak-proof scikit-learn pipelines with cross-validation and honest tuning, and know when a score improvement is smaller than the fold-to-fold noise
  • Hand a model to engineering with a real interface contract, then monitor it for concept drift that no distribution test will ever detect

Course content

10 sections • 54 lectures • 8h 8m total length
  • Welcome, and how to use this course4:05

    How the course is structured, what you need installed, how the hands-on lectures work, and how to get the most out of it.

Requirements

  • You can read Python and have used pandas a little. You do not need to be fluent, and every notebook runs top to bottom unmodified
  • School-level algebra. No calculus and no linear algebra background is assumed anywhere
  • A laptop that runs Python 3.10 or later. Everything is CPU-only - no GPU, no cloud account, no paid service
  • No prior machine learning experience. The lifecycle, the vocabulary and the dataset are all built from scratch in the opening sections

Description

This course contains the use of artificial intelligence.
Most machine learning courses hand you a clean file and a target column. The hard part already happened, off-screen, before you arrived - somebody decided what was worth predicting, argued the definition, found the data, and cleaned it. Then you fit a model, score it, and the course ends. That is not what the job looks like.

This course takes one problem - a retail bank wants to know which customers are about to close their current account, early enough to do something about it - and carries it the whole way. From the moment it is a vague request in a meeting, through defining what 'about to close' even means, to a model running in production with somebody watching it drift.

The data arrives broken, on purpose. Duplicate rows. Ages of minus one and a hundred and ninety-nine. Sixty-two branch cities spelled seventy-one different ways. Three date formats in one column. Missing values that are missing for a reason you can find in another column, which changes what you are allowed to do about them. You fix all of it, in an order that matters - and you find out why it matters when repairing things in the wrong order turns a hundred and eighty duplicates into thirty-eight.

There are two columns in the extract that will take your model's AUC from 0.715 to 0.991. Neither of them exists at the moment you need to score a customer. Finding them, and understanding why a savings balance called 'final' is a harder trap than a flag called 'retention call', is a section of this course rather than a footnote - because leakage is the failure that looks exactly like success, and nobody catches it by being careful.

Modelling is deliberately not the centre of gravity. Logistic regression scores 0.715 here and gradient boosting scores 0.709, and the cross-validated spread across folds is wider than the gap between them. That result is reported as measured, not as expected, and the course spends its time where the value actually is: on framing the target, on choosing a metric that matches the decision, and on the threshold. At the default 0.5 the model catches five per cent of the churners it should. Priced properly - a retention offer costs 40 pounds, a customer walking out costs 610 - the threshold moves to 0.05, recall goes to 0.818, and the campaign becomes cheaper than both doing nothing and offering to everybody. Those three numbers are what you put in front of a sponsor, not the AUC.

It finishes where real projects finish and most courses do not: the handoff contract with engineering, load and performance testing, monitoring that can tell concept drift from data drift, a retraining policy that says who decides and on what, and a capstone you run end to end on a dataset you have not seen.

Every hands-on lecture ships a lab you download and run - notebook, data extract, and the figures file the lecture quotes from. Nothing is asserted that could have been measured instead.

Who this course is for:

  • Analysts and developers who can fit a model but have never taken one from a business conversation through to something running in production
  • Data scientists whose models keep stopping at the notebook, and who suspect the reason is upstream of the modelling
  • Anyone in banking, insurance or another regulated industry who has to defend a model, a threshold and a cost to somebody entitled to overrule them
  • Career changers who finished an introductory course, can fit a classifier, and cannot yet answer 'what would you actually do on Monday'