Online course · Data
Python & Machine Learning
From Python basics to deployed scikit-learn models, with an Indian churn capstone
Created by TrainSkool Trainer
- Data
- All levels
- English
- 23 lessons
- 20h 36m
- 8 assessments
- Certificate
Coming soon Launch price ₹999
This course is not open for enrolment yet.
About this course
A practical, end-to-end course for Indian students, working professionals, analysts and engineers who want to build real machine learning models in Python. You start with Python fundamentals, move through NumPy and pandas for data preparation, learn the statistics and probability that ML decisions rest on, then build supervised models (linear and logistic regression, decision trees, random forests, gradient boosting) and unsupervised ones (k-means, hierarchical clustering, PCA) with scikit-learn. A full module on evaluation covers cross-validation, metrics, thresholds, data leakage and class imbalance, and the final module shows how to save models with joblib and serve them with FastAPI. One running example, churn prediction for a Pune-based DTH provider, ties every module together, and the capstone lets you choose subscriber churn or equipment failure prediction. No prior programming is required, though comfort with school-level maths helps; experienced coders can move quickly through Module 1. Included: text lessons written to teach fully on their own, a slide deck per module, runnable code with expected outputs, hands-on exercises, a graded capstone with rubric, a graded final exam and a certificate on completion. Format: in-depth illustrated text lessons, a slide deck and in-browser slideshow per module, a course trailer, and a downloadable toolkit (setup guide, cheat sheet, exercise workbook with model solutions, starter files and datasets). Recorded lesson videos are in production. Products and services are named descriptively; their trademarks belong to their owners, and TrainSkool is not affiliated with or endorsed by them. What you will be able to do: - You will be able to write clean, testable Python and organise an ML project as a package. - You will be able to load, clean, join and reshape real business data with NumPy and pandas. - You will be able to use descriptive statistics, Bayes' rule and confidence intervals to reason about data and set cost-based thresholds. - You will be able to build and compare linear, logistic, tree, random forest and gradient boosting models in scikit-learn Pipelines. - You will be able to segment customers with k-means and hierarchical clustering and compress features with PCA. - You will be able to evaluate models honestly with cross-validation, the right metrics, leakage checks and imbalance handling. - You will be able to save a model with joblib and serve predictions through a validated FastAPI service. - You will be able to deliver an end-to-end churn or equipment-failure project with a rupee-based business recommendation.
What you'll learn
- Deliver an end-to-end churn or equipment-failure project with a rupee-based business recommendation
- Load, clean, join and reshape real business data with NumPy and pandas
- Write clean, testable Python and organise an ML project as a package
- Use descriptive statistics, Bayes' rule and confidence intervals to reason about data and set cost-based thresholds
- Build and compare linear, logistic, tree, random forest and gradient boosting models in scikit-learn Pipelines
- Segment customers with k-means and hierarchical clustering and compress features with PCA
- Evaluate models honestly with cross-validation, the right metrics, leakage checks and imbalance handling
- Save a model with joblib and serve predictions through a validated FastAPI service
Course content
Chapter 1 · Module 1: Python Fundamentals for Data Work
- Video: Setting Up Python, Notebooks and Your First ScriptMachine learning in industry is written mostly in Python.17 topics · 40 min
- Code lab: Core Types, Control Flow and FunctionsEvery dataset you will ever load, whether a Tally export, a CRM dump or a sensor log from a Coimbatore mill, is ultimately made of a handful of Python types: numbers, strings, booleans, None, and…17 topics · 54 min
- Code lab: Files, Modules, Errors and Clean Code HabitsA churn model is not one clever function; it is a small software project.22 topics · 54 min
Chapter 2 · Module 2: Data Manipulation with NumPy and pandas
- Code lab: NumPy Arrays, Vectorisation and Broadcastingscikit-learn models take NumPy arrays as input, pandas is built on NumPy, and almost every ML error message you will meet in this course ("Expected 2D array, got 1D array instead", "operands could…18 topics · 39 min
- Code lab: pandas DataFrames: Load, Inspect, Select, CleanA DataFrame is a table with labelled columns, each of which can have its own dtype.16 topics · 69 min
- Code lab: Grouping, Merging, Reshaping and Time DataOnce data is clean, most analytical questions are answered by three operations: grouping ("churn rate by state"), joining ("attach each subscriber's complaint tickets") and reshaping ("states as…22 topics · 70 min
Chapter 3 · Module 3: Statistics and Probability for ML
- Code lab: Describing Data: Centre, Spread and DistributionsEvery model is a summary of data, so before you train one you must be able to summarise the data yourself.13 topics · 49 min
- Code lab: Probability, Conditional Probability and BayesClassification models output probabilities, and someone has to turn those probabilities into actions: call this subscriber, inspect this motor, block this UPI transaction.10 topics · 48 min
- Code lab: Sampling, Confidence Intervals and A/B TestsYou never see the whole population, only a sample: last month's subscribers, 1,000 test rows, one campaign in Chennai.17 topics · 54 min
Chapter 4 · Module 4: Supervised Learning with scikit-learn
- Code lab: The scikit-learn Workflow and Linear RegressionSupervised learning is where most paid ML work in Indian companies sits: predicting next month's spend for a DTH subscriber, the loan amount a borrower can repay, delivery time for a Bengaluru food…11 topics · 47 min
- Code lab: Logistic Regression for ClassificationMost business ML questions are yes/no: will this subscriber churn, will this borrower default, is this UPI transaction fraud, will this motor fail this week.11 topics · 52 min
- Code lab: Decision Trees and Random ForestsLinear models assume each feature pushes the prediction one way by a fixed amount.11 topics · 53 min
- Code lab: Gradient BoostingGradient-boosted trees are among the most widely used models for structured business data: fraud and credit scoring at Indian banks and NBFCs, churn at telecoms, demand forecasting at retailers and…16 topics · 48 min
Chapter 5 · Module 5: Unsupervised Learning
- Code lab: K-Means Clustering for Customer Segments" A DTH provider like the one in this course, a telecom operator, a quick-commerce app in Bengaluru or a bank's credit-card team cannot design one offer for ten lakh people.11 topics · 50 min
- Code lab: Hierarchical ClusteringNot every grouping problem involves lakhs of customers. Operations teams often need to group a modest number of things: districts, stores, warehouses, product lines, CNC machines, bank branches.10 topics · 39 min
- Code lab: Principal Component Analysis (PCA)Industrial data in India is growing fast.16 topics · 44 min
Chapter 6 · Module 6: Model Evaluation
- Code lab: Train/Test Splits and Cross-ValidationA model is worth something only if it performs on data it has never seen: next month's DTH subscribers, next week's machine readings at the Chakan plant.11 topics · 69 min
- Code lab: Classification and Regression MetricsThe provider's retention head does not care about "AUC".10 topics · 60 min
- Code lab: Data Leakage and Class ImbalanceTwo problems cause most "brilliant in the notebook, useless in production" models.16 topics · 59 min
Chapter 7 · Module 7: Deployment and Capstone Project
- Code lab: Saving Models with pickle and joblibA model that lives only inside a notebook earns nothing. The provider's retention team in Pune does not open Jupyter at 9 am; they open a call list.10 topics · 56 min
- Code lab: Serving Predictions with FastAPISome decisions cannot wait for the nightly batch.10 topics · 70 min
- Code lab: Capstone Brief: Churn or Equipment-Failure PredictionHiring managers for data analyst, data scientist and ML engineer roles in India see hundreds of portfolios built on the same public datasets with the same notebook: load, fit five models, print…10 topics · 56 min
- Code lab: Capstone Deliverables and Grading RubricA capstone is judged the way a real model release is judged: can someone else run it, trust its numbers and act on its recommendation without you in the room?10 topics · 56 min
Assessments and certificate
- Module 1 quiz: Python Fundamentals for Data Work7 questions · 15 min · pass mark 70%
- Module 2 quiz: Data Manipulation with NumPy and pandas8 questions · 15 min · pass mark 70%
- Module 3 quiz: Statistics and Probability for ML7 questions · 15 min · pass mark 70%
- Module 4 quiz: Supervised Learning with scikit-learn8 questions · 15 min · pass mark 70%
- Module 5 quiz: Unsupervised Learning8 questions · 15 min · pass mark 70%
- Module 6 quiz: Model Evaluation8 questions · 15 min · pass mark 70%
- Module 7 quiz: Deployment and Capstone Project8 questions · 15 min · pass mark 70%
- Python & Machine Learning — final assessment20 questions · 40 min · pass mark 70%