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

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

The Rich Heritage Of Patola Sarees: Gujarat’s Timeless Weaving Art

Blog banner

Deadlock

Blog banner

Deadlock

Blog banner

Importance of Website

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

My 1stNull Puliya session

Blog banner

File system

Blog banner

Operating Systems

Blog banner

What do you mean by online marketing and why do you need to know about it

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

IOT- Internet Of Things

Blog banner

File Allocation Methods

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

Decoding Confusion Matrix

Blog banner

The Impact of Tolerances and Wall Thickness on Pipeline Integrity

Blog banner

How Cyber Forensics help prevent Crimes

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Wedding photographer

Blog banner

Education: Key to your Prosperity

Blog banner

Modern OS

Blog banner

Deadlock and Starvation

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

Apache Kafka

Blog banner

Why You Should Not Use Free VPNs

Blog banner

Multiprocessor and Multicore Organization

Blog banner

RACI model in IT services

Blog banner

Operating system

Blog banner

Studying Denial of service attack using DOSHTTP tool

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Koinex is shutting down and here is how you can withdraw...

Blog banner

Virtual Machine

Blog banner

10 Survival Tips that might save your life

Blog banner

New Horizon Europe project ‘EvoLand’ sets off to develop new prototype services.

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner

To-Do List In LISP

Blog banner

Understanding - Proof of Work!

Blog banner

Uniprocessor Scheduling

Blog banner

Memory Management

Blog banner

Pink sauce pasta

Blog banner

5 Interesting facts about Diwali

Blog banner