<DataInsights />
  • 🏠 Home
  • 📊 SQL
  • 🐍 Python
  • 📈 Power BI
  • 📗 Excel
  • 💼 Career
  • 🎯 Interview Q&A
  • 📁 Case Study
  • 📥 Downloads
  • 🚀 My Portfolio
<DataInsights />

Practical Data Analytics tutorials covering SQL, Python, Power BI, Excel and career guidance for aspiring analysts — 100% free.

Topics

  • SQL Tutorials
  • Python Guide
  • Power BI
  • Excel Tips
  • Career Guide

Quick Links

  • 🛠️ All Tools
  • 🗓️ Archive
  • 📬 Contact
  • 🔍 Search
  • Portfolio
  • Kaggle
  • GitHub

Legal & Info

  • About
  • Contact
  • Privacy Policy
  • Disclaimer
  • Terms & Conditions
  • DMCA
  • Sitemap
Copyright © 2026 Data Insights by Jatin Kumar. All Rights Reserved.Built with ❤️ for Data Analysts
Home/Career/Types Of Machine Learning...

Types Of Machine Learning

A
August 21, 2026 Jatin Kumar 5 min read Career
Data Insights ML Handbook — Chapter 2

⭐ Types of Learning in Machine Learning ⭐

Machine Learning systems learn from data. Depending on how the data is used to train the model, ML is of different types. This chapter covers all 4 types — Supervised, Unsupervised, Semi-Supervised & Reinforcement Learning with examples, algorithms, use cases & comparison. On Data Insights.

📑 Topics Covered:

  • Supervised Learning
  • Unsupervised Learning
  • Semi-Supervised Learning
  • Reinforcement Learning
  • Comparison of Different Types
  • When to Use Which Type?

What are Types of Learning?

Based on the nature of data and the way a model learns, Machine Learning is mainly divided into four types:

1. Supervised Learning
The model is trained on labeled data. It learns the mapping from input to output.

2. Unsupervised Learning
The model is trained on unlabeled data. It finds patterns or structure in data.

3. Semi-Supervised Learning
The model is trained on both labeled and unlabeled data.

4. Reinforcement Learning
The model learns by interacting with an environment and getting rewards.

💡 Key Idea:

Data + Experience → Learning → Patterns → Better Predictions & Decisions

Why Different Types of Learning?

  • Different problems require different learning approaches.
  • Availability of data (labeled or unlabeled) decides the type.
  • Each type has its own use cases, strengths and limitations.
  • Choosing the right type improves performance and accuracy.
🎯 Right Type → Better Results

Learning Types Overview

TYPES OF LEARNING IN ML
Supervised
Learning
Unsupervised
Learning
Semi-Supervised
Learning
Reinforcement
Learning

1. Supervised Learning

In supervised learning, the model is trained using labeled data. Each training example has input features and the correct output.

🔧 How it works?

Input
(Features)
Algorithm
(Learning)
Output
(Target/Label)
Prediction
(New Data)
X₁, X₂, X₃, ...→ Learns pattern →YŶ (predicted)

📊 Example:

Predict employee salary based on features:

Experience (years)DepartmentPerformanceSalary (₹)
3ITGood55,000
5HRExcellent72,000
4FinanceAverage65,000
6MarketingExcellent80,000

🤖 Common Algorithms:

Linear RegressionLogistic RegressionDecision TreeRandom ForestK-Nearest Neighbors (KNN)Support Vector Machine (SVM)

🎯 Use Cases:

📧 Spam detection🏠 Salary prediction🏥 Medical diagnosis📊 Employee classification

2. Unsupervised Learning

In unsupervised learning, the model is trained using unlabeled data. The model tries to find hidden patterns, groups or structure.

🔧 How it works?

Input Data
(Unlabeled)
Algorithm
(Finding Patterns)
Patterns/Structure
(Clusters, Groups)
Raw data without labels→ Discovers structure →Groups, Clusters, Rules

📊 Example:

Employee segmentation in a company:

NameExperienceSalary (₹)Performance Score
Aarav355,00078
Ishita572,00092
Kabir465,00085
Diya258,00070
Rohan680,00095

↑ No "label" column — model finds groups on its own (e.g., high performers vs average)

🤖 Common Algorithms:

K-Means ClusteringHierarchical ClusteringDBSCANPrincipal Component Analysis (PCA)

🎯 Use Cases:

👥 Employee segmentation📈 Market basket analysis🔍 Anomaly detection🖼️ Image compression
⚡ Key Point: There is no correct output in unsupervised learning. Model finds patterns by itself.

3. Semi-Supervised Learning

In semi-supervised learning, the model is trained using a small amount of labeled data and a large amount of unlabeled data.

🔧 How it works?

Labeled
Data
Algorithm
(Learning)
Unlabeled
Data
Model
(Prediction)
Small set (labeled)→ Learns from both →Large set (unlabeled)Better predictions

📊 Example:

Employee performance prediction:

NameExperienceSalary (₹)Performance Label
Aarav355,000Good ✅ (labeled)
Ishita572,000Excellent ✅ (labeled)
Kabir465,000❓ (unlabeled)
Diya258,000❓ (unlabeled)
Rohan680,000❓ (unlabeled)

↑ Only 2 employees have labels, rest 3 are unlabeled. Model learns from both!

🎯 Use Cases:

📄 Text classification🏥 Medical image analysis🌐 Web page classification🗣️ Speech analysis
💡 Key Idea: Labeling data is expensive and time-consuming. Semi-supervised learning reduces cost by using mostly unlabeled data with a few labels.

4. Reinforcement Learning

In reinforcement learning, the model (agent) learns by interacting with an environment. It gets rewards for good actions and penalties for bad actions.

🔧 How it works?

AgentStateActionEnvironmentReward
(World)
ModelCurrent positionDecision madeReal world+1 / -1

📊 Example:

Employee task assignment optimization:

Agent ActionEnvironment ResponseReward
Assign Aarav to Python projectAarav has Python skills → Completed on time+1 ✅ (Good match)
Assign Ishita to coding taskIshita is HR, not developer → Delayed-1 ❌ (Bad match)
Assign Kabir to finance reportKabir is Finance → Delivered perfectly+1 ✅ (Perfect match)

↑ Agent learns from rewards — next time better task assignments!

💡 Key Idea: Learn from experience. Why? From experience → learn through trial and error.

🎯 Use Cases:

🎮 Game playing (AlphaGo)🤖 Robotics🚗 Self-driving cars📈 Stock trading🔄 Recommendation systems

Comparison of Different Types

TypeData RequiredLabel Needed?Goal
Supervised LearningLabeledYesPredict output for new data
Unsupervised LearningUnlabeledNoFind patterns or structure
Semi-SupervisedBothFew labelsLearn from limited labels
ReinforcementInteractionNo (rewards)Improve model by trial & error

When to Use Which Type?

ScenarioBest TypeWhy
Predict employee salarySupervisedHave labeled salary data
Group similar employeesUnsupervisedNo labels, find patterns
Some employees rated, most notSemi-SupervisedMix of labeled + unlabeled
Optimize task assignmentsReinforcementLearn from outcomes
Spam email detectionSupervisedLabeled spam/not-spam
Customer segmentationUnsupervisedFind natural groups
Game playing AIReinforcementTrial and error learning
Medical image + few labelsSemi-SupervisedExpensive to label all

""

MADE WITH 100% DEDICATION BY → DATA INSIGHTS

Next: ML Handbook — Chapter 3

Next chapter mein hum cover karenge: Supervised Learning Deep Dive — Regression vs Classification, Linear Regression, Logistic Regression, Decision Trees, aur real-world implementation. Data Insights par!

Happy Learning & Keep Exploring! 🚀

👤
Jatin Kumar
Data Analyst & Educator

Python, SQL, Power BI aur Excel mein practical tutorials likhta hoon — taaki data analytics seekhna aasan ho. Portfolio: jatinanalytics.co.in

Portfolio LinkedIn GitHub Kaggle All Articles
Share:

💬 Comments (0)

Spam/links allowed nahi hain — respectful comments welcome!

Loading comments...

Was this article helpful?