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

SESSION HIJACKING

Blog banner

Race Condition

Blog banner

Process states

Blog banner

Deadlock and Starvation

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Importance of self defence for girls

Blog banner

Why Kanye West (Now Ye) is the GOAT: A Legacy Beyond Music

Blog banner

Mariana Trench: The deepest depths

Blog banner

Brain wash of social media

Blog banner

Visualization in Data Science

Blog banner

Android Flashlight Application

Blog banner

Rain bow

Blog banner

memory management

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

A Day in the Life at Elzee: What Your Child Does Between Drop-Off and Pick-Up

Blog banner

Education: Key to your Prosperity

Blog banner

internet email and it's applications

Blog banner

The Chapped Lips and Dry Mouth Trap: The Sneaky Reason Cavities Spike in Winter

Blog banner

Hypothesis Testing in Data Science

Blog banner

Evolution of the Microprocesor

Blog banner

Pink sauce pasta

Blog banner

Impacts of Data Breach On Companies Challenges and Prevention

Blog banner

What is Vishing?

Blog banner

CONCURRENCY: MUTUAL EXCLUSION AND SYNCHRONIZATION-het karia

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

Music is life

Blog banner

Blockchain Security Technique

Blog banner

Understanding - Proof of Work!

Blog banner

Full Disk Encryption

Blog banner

The launch of UniMap by HERE

Blog banner

A Journey By Train

Blog banner

Policies for Service Transition

Blog banner

Cache Memory in Operating Systems

Blog banner

Question

Blog banner

10 Reasons to date your best friend

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

The Memory Hierarchy

Blog banner

File management -disha parekh

Blog banner

HUBSPOT

Blog banner

Deadlock and Starvation

Blog banner

How social media affect

Blog banner

Virtual memory

Blog banner