
Learn machine learning end to end by building one complete credit card fraud detection project in Python, through 15 hours of video.
This course is for DevOps, SRE, and cloud engineers moving into machine learning, as well as developers, students, and Python learners ready for their first machine learning project. You need Python basics, but no machine learning experience. We build a working model and API first, then explore the data and improve the model.
What You'll Learn
Introduction
See the fraud detector you will build, why business value matters when evaluating a model, and the steps a typical machine learning project follows.
Machine Learning Fundamentals
Learn what AI and machine learning are, each stage of the machine learning workflow from data collection to monitoring, and how our fraud detection project follows it.
Python Environment Setup
Install Miniconda, create a Python conda environment, and install the version-locked course packages.
Synthetic Dataset Generation
Run a ready-made script that creates 10,000 synthetic card transactions with built-in fraud patterns.
Model Training and Evaluation
Build the training script in 7 small versions: split the data, train a scikit-learn Pipeline, evaluate it with technical and business metrics, and save the model.
Model Serving: Inference API
Wrap the saved model in a FastAPI inference API with input validation, then test it from the Swagger docs, a web page, and a Python script.
Exploratory Data Analysis
Study class imbalance, fraud patterns, and correlations with charts and two automated EDA tools, then use what you discover to identify an idea for a new feature.
Feature Engineering
Live-code a new feature that shows how unusual a purchase is for each customer, then retrain the model and compare it with the baseline.
Hyperparameter Tuning
Tune the model with RandomizedSearchCV, GridSearchCV, and 5-fold cross-validation, using a custom business scorer that ranks each candidate by the dollars it saves.
Model Serving: Tuned Inference API
Serve the tuned model through a second API, compare its decisions with the baseline on the same request, and recap what you built.
Build One Fraud Detection Project, Piece by Piece
Part 1 - Training Pipeline Script
A plain Python script that trains, evaluates, and saves your model.
Part 2 - Inference API with a Web Page
An API that returns FRAUD or LEGITIMATE with a fraud probability and risk level, plus a web page to try it.
Part 3 - Improved and Tuned Model
A new feature inspired by your data analysis, plus a tuned model that beats the baseline on Net Benefit, our business metric in dollars.
Part 4 - Tuned Inference API
A second API that serves the tuned model, so you can compare its decisions with the baseline.
A Hands-On, Business-First Approach
After one theory section on the machine learning fundamentals, the whole course is one project that grows in every section. You'll run a working baseline first, then build it step by step in plain Python scripts, not notebooks.
Only about 3% of transactions are fraud, so accuracy alone can be misleading. That is why we evaluate the models using Net Benefit, a business-value metric expressed in dollars. You'll also see honest results: some steps help a lot, some help only a little, and one makes the result worse.
You'll learn why each step helps or hurts the model, not just which code to type.
Good to know
The data is synthetic, both APIs run on your own machine, and containers and cloud deployment are not part of this course. Model monitoring and retraining are explained as ideas only.
When you finish, you'll have built a tuned fraud detection model and served it through your own API.
If you know some Python and want a machine learning project you can build, run, and explain in business terms, this is your path from raw data to a working fraud detection API.