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
0 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

Travelling blog

Blog banner

Operating System

Blog banner

Operating System

Blog banner

Memory management

Blog banner

Honeypot in cyber security

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Cache memory

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

"Mahakali cave"

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Elegant fashion style

Blog banner

What is Email? Uses of Emails

Blog banner

What are Virtual Machines

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

"Games and the future"

Blog banner

BITCOIN WALLET

Blog banner

Memory Management - operating system

Blog banner

Cache Memory

Blog banner

Explain Kernel in OS

Blog banner

Diwali

Blog banner

IOT- Internet Of Things

Blog banner

Footprinting

Blog banner

Harsh Rathod

Blog banner

Know your Processors!

Blog banner

Deadlock and Starvation

Blog banner

Hypothesis Testing in Data Science

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

Computer Security

Blog banner

The New Classic: Indo Western Patola Outfits for Today’s Woman

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

Indian Culture and Tradition

Blog banner

Race condition

Blog banner

Life of an army person

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

Bots and Cyber Security

Blog banner

I/O buffer and its techniques

Blog banner

Unlocking Success: Mastering Google Ads Strategies

Blog banner

social media issue

Blog banner

Principal of concurrency

Blog banner