wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Classification Algorithms (Decision trees, SVM, Logistic regreession)

profile
37_Priyanka Bist
Sep 19, 2025
2 Likes
0 Discussions
2 Reads

What are Classification Algorithms?

Classification is a method in Data Science where we predict which category or group a data point belongs to. For example, predicting whether an email is spam or not, or whether a patient has a disease

1. Decision Trees

How it works:

  1. Works like a question-answer game.
  2. It asks questions like “Is age > 30?” and splits data into branches.
  3. The last leaf gives the final class (answer).

Use cases:

  1. Predict if a customer will leave
  2. Medical diagnosis
  3. Loan/credit risk check

Pros (good points):

  1. Very easy to understand
  2. Works with numbers and text
  3. Less data cleaning needed

Cons (bad points):

  1. Can overfit (memorize training data too much)
  2. Small changes in data can make a very different tree


2.Support Vector Machines (SVM)

How it works:

  1. Imagine you have red and blue dots on paper.
  2. SVM draws a line (boundary) to separate them with maximum distance between groups.
  3. This line is called a hyperplane.

Use cases:

  1. Image recognition
  2. Text categorization (like spam detection)
  3. Bioinformatics (like classifying proteins)

Pros (good points):

  1. Works well when there are many features
  2. Memory efficient (uses less space)

Cons (bad points):

  1. Not good for very large datasets
  2. Not good with noisy or overlapping data

3.Logistic Regression

How it works:

  1. Gives a probability between 0 and 1 using an S-shaped curve (sigmoid)
  2. If probability is > 0.5 → class A, else class B

Use cases:

  1. Spam detection
  2. Disease prediction
  3. Will a customer buy a product or not

Pros (good points):

  1. Simple, fast, and easy
  2. Easy to explain

Cons (bad points):

  1. Works best when data is linear
  2. Sensitive to outliers (unusual data points)



Comments ()


Sign in

Read Next

Know your Processors!

Blog banner

Virtual Machine

Blog banner

Hacking Mobile Platforms

Blog banner

Why Oak Tree Hotel Is Arcadia’s Hidden Gem?

Blog banner

Microsoft Windows Overview

Blog banner

Evolution of Operating System

Blog banner

RAID

Blog banner

CONCURRENCY

Blog banner

MYNTRA

Blog banner

How Preschools Help Children Make Their First Friends

Blog banner

Puri Jagannath temple

Blog banner

SQL Injection

Blog banner

Memory Management Techniques

Blog banner

Data Mining

Blog banner

Little Habits, Big Impact: Daily Preschool Routines That Shape the Future

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

Memory Management

Blog banner

How College Events Build Real-world Skills You Can’t Learn From Textbooks

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Ethical Hacking

Blog banner

Tracking Emails & Email Crimes

Blog banner

USES OF WHATSAPP

Blog banner

Why we should do reading

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Real time scheduling

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

The evolution of OS

Blog banner

Evolution of the Microprocesor

Blog banner

5 People who claimed to have Time Traveled

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

Smitten Kitchen Keepers

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Having passion in life

Blog banner

Deadlock and starvation

Blog banner

Interrupts - Types, Working & Importance

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Deadlock

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

Self-love: Being the reason of your own smile

Blog banner