PROGRAM ZERO 18-month live AI, LLM & full-stack programme · ₹17,999 for all 18 months · Starts 9 January 2027
Explore Program Zero →
Careers Ninza — business and startup leadership training
JOIN ZERO NINZA KIDS
JOIN ZERO NINZA KIDS
See all programs → Free live masterclass → Guides & articles → Newsletter →
Careers Ninza
DATA SCIENCE 9 min read · Updated 13 October 2026

Supervised vs unsupervised vs reinforcement learning, with Indian examples

The three main ways machines learn, explained with everyday Indian examples: predicting loan defaults, segmenting shoppers, and learning by trial and error. Plus where self-supervised learning fits.

CN
Careers Ninza data faculty
Careers Ninza · Kolkata, India
Learn this live in Program Zero

Supervised learning trains a model on examples with known answers, such as past loans labelled repaid or defaulted. Unsupervised learning finds structure in data without answers, such as grouping similar shoppers. Reinforcement learning trains an agent by trial and error with rewards, such as optimising a delivery route. Most real projects use supervised learning first.

These three categories are the first thing every machine learning course teaches, and the first thing interviewers ask about. Here they are with examples you will recognise, the algorithms behind them and how to choose.

What is supervised learning?

In supervised learning, every training example has an input and the correct output, called a label. The model learns the mapping and then predicts labels for new inputs. It comes in two main forms: classification, where the answer is a category, and regression, where it is a number.

—Classification: will this loan default? Is this transaction fraud? Is this message spam?
—Regression: what will this flat in Pune sell for? How many minutes until this food order arrives?
—Common algorithms: linear and logistic regression, decision trees, random forests, gradient boosting, neural networks.

What is unsupervised learning?

Unsupervised learning works with data that has no labels and looks for patterns: groups, unusual points or simpler representations.

—Clustering: grouping customers of a grocery app by buying habits for targeted offers.
—Anomaly detection: flagging unusual meter readings or transactions for review.
—Dimensionality reduction: compressing hundreds of features into a few with PCA for visualisation.
—Common algorithms: k-means, hierarchical clustering, DBSCAN, PCA.

What is reinforcement learning?

In reinforcement learning, an agent takes actions in an environment and receives rewards or penalties. Over many attempts it learns a strategy that maximises long-term reward. It suits sequential decisions: game playing, robotics, resource allocation and, importantly, the RLHF step used to align language models. The standard textbook, Reinforcement Learning: An Introduction by Sutton and Barto, is freely available online.

SupervisedUnsupervisedReinforcement
DataLabelled examplesUnlabelled dataRewards from interaction
GoalPredict labelsFind structureLearn a strategy
Indian exampleLoan default predictionShopper segmentationDelivery route decisions
Typical difficultyGetting good labelsJudging if patterns are usefulDesigning rewards and safe exploration

Where does self-supervised learning fit?

Self-supervised learning creates labels from the data itself. Large language models are trained this way: the “label” for each position is simply the next token in the text. It sits between supervised and unsupervised learning and is why models can learn from enormous amounts of unlabelled text. Our explainer on transformers shows how that training works.

How do you choose the right approach?

—If you have historical examples with known outcomes, start with supervised learning.
—If you want to explore data or have no labels, start with unsupervised methods.
—If decisions happen in sequence with feedback, consider reinforcement learning, but only with a safe simulator or careful limits.
—Often, combine them: cluster customers, then build a supervised model per segment.

Labels are usually the bottleneck. A simple model trained on accurate labels beats a complex one trained on noisy labels, so invest in data quality before model complexity.

What does a supervised learning project look like end to end?

Take loan default prediction for a small finance company. You gather past loans with outcomes, clean the data, engineer features such as repayment history and income ratios, split the data by time so the model is tested on later loans, train a baseline and a stronger model, and evaluate with metrics that reflect cost, such as how many defaulters you catch for each good customer wrongly flagged. Finally, you explain the model’s decisions, because lending decisions must be justifiable.

Is semi-supervised learning useful?

Yes, when labels are expensive. Semi-supervised methods train on a small labelled set plus a larger unlabelled one, for example a few hundred labelled support tickets and thousands of unlabelled ones. Combined with pretrained models, this often gets surprisingly good results with limited labelling effort.

What mistakes do beginners make?

—Using unsupervised clusters as if they were ground truth.
—Evaluating supervised models on the data they were trained on.
—Reaching for reinforcement learning when a supervised model would do.
—Ignoring class imbalance, such as fraud being rare, and reporting misleading accuracy.

Our guides to overfitting and the bias-variance trade-off and data science portfolio projects cover evaluation in more depth.

How do these approaches show up in Indian industry?

Banks and lenders use supervised models for credit risk and fraud; retailers and food platforms use clustering for segmentation and recommendations; logistics companies optimise routes and warehouse operations, sometimes with reinforcement learning ideas; and language technology for Indian languages relies heavily on self-supervised pretraining. Knowing which category a problem belongs to is the first step in solving it well.

Where can you learn these in order?

Program Zero’s data science and classical machine learning phase covers supervised and unsupervised learning with real projects, after the data science foundations, and later applies reinforcement learning ideas in LLM alignment.

Program Zero runs live online, so you can learn this from anywhere in India: metros such as Bengaluru, Pune, Hyderabad and Noida, growing cities such as Lucknow, Kanpur, Visakhapatnam and Madurai, and smaller towns such as Siliguri, Jamshedpur, Durgapur and Cuttack. Every learner joins the same evening classes, at the same fee.

Want to learn this live, with mentors?

Program Zero is Careers Ninza’s 18-month live programme in AI, LLMs and full-stack development: classes Monday to Friday, 9:00–10:30 PM IST, all recorded, Saturday projects and Sunday doubt sessions. ₹17,999 for all 18 months; the batch starts 9 January 2027.

PROGRAM ZERO · 18-MONTH LIVE PROGRAMME
Program Zero: AI, LLM & Full-Stack Developer Programme

Learn AI, large language models and full-stack development live with mentors: from your first line of code to building and deploying your own language model.

₹17,999 for all 18 monthsStarts 9 January 2027Mon–Fri, 9:00–10:30 PM ISTEvery class recorded

Frequently asked questions

What is the difference between supervised and unsupervised learning?+

Supervised learning trains on examples with known answers to predict labels for new data, such as loan default or house prices. Unsupervised learning has no labels and finds structure, such as customer groups or unusual transactions.

What is reinforcement learning with an example?+

Reinforcement learning trains an agent through trial and error with rewards. For example, a system deciding delivery routes could be rewarded for faster, cheaper deliveries and gradually learn better routing strategies over many attempts.

What are classification and regression?+

Both are supervised learning. Classification predicts a category, such as fraud or not fraud. Regression predicts a number, such as a delivery time in minutes or a property price.

What is clustering in machine learning?+

Clustering is unsupervised learning that groups similar data points, such as customers with similar buying habits. Common algorithms include k-means, hierarchical clustering and DBSCAN.

Is ChatGPT supervised or unsupervised learning?+

Large language models are pretrained with self-supervised learning, predicting the next token in text, then refined with supervised instruction tuning and preference training such as RLHF or DPO.

Which type of machine learning is used most in business?+

Supervised learning is the most common, because businesses usually have historical data with known outcomes, such as sales, defaults or churn, and want to predict them for new cases.

What is self-supervised learning?+

Self-supervised learning creates training labels from the data itself, for example predicting a hidden word or the next token. It lets models learn from huge amounts of unlabelled data and underpins modern language models.

Where can I learn machine learning types and algorithms in India?+

Program Zero by Careers Ninza teaches supervised and unsupervised learning in its classical machine learning phase and applies reinforcement learning in LLM alignment, within an 18-month live programme for Rs 17,999.

Related reading

DATA SCIENCE Machine Learning Course Syllabus: What a Good ML Course Should Cover A module-by-module guide to a strong machine learning syllabus, from Python and maths to model evaluation, deep learning and deployment, and the red flags that show a course is too shallow. 10 min read DATA SCIENCE Neural Networks Explained for Beginners: How Deep Learning Works What a neural network actually is, how neurons, layers and weights work, how networks learn through backpropagation, and how CNNs, RNNs and transformers differ, explained in plain English. 10 min read DATA SCIENCE PyTorch vs TensorFlow in 2027: Which Should You Learn First? Both frameworks can build any modern model. How they differ in style, ecosystem and use, why PyTorch dominates research and LLM work, where TensorFlow and Keras still fit, and what to learn first. 9 min read

We teach this, live

Every article here comes from something we teach. Sit in on a free masterclass and judge the mentors yourself.