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

Procedure For Corporate High-Tech Investigations

Blog banner

Different memory allocation strategies

Blog banner

Deadlock in operating system

Blog banner

What your Favorite colour says about You?

Blog banner

Memory Management

Blog banner

Preparing Students for Higher Education: How International Schools Shape Future Success

Blog banner

SQL Injection practice on DVWA

Blog banner

Every body is beautiful

Blog banner

Types of OS

Blog banner

MEMORY MANAGEMENT

Blog banner

Explain DBMS in Brief

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

OS ASSIGNMENT

Blog banner

Why Travellers from Miami & Orlando Are Visiting Arcadia for Weekend Getaways?

Blog banner

Synchronization

Blog banner

Women Empowerment

Blog banner

What is a Malware ?

Blog banner

THE ACTORS LIFE

Blog banner

Operating system evolution

Blog banner

Celebrate Diwali the Delicious Way with Meal Maharaj Catering

Blog banner

Disk scheduling

Blog banner

Memory Management in Operating System

Blog banner

Consumer to consumer Business model

Blog banner

How To Secure Operating Systems ?

Blog banner

Zomato (Income Sources)

Blog banner

Are Social Media Paid Campaigns Worth It?

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Process states

Blog banner

Memory management

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

Virtual Memory

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Functions Of Operating Systems

Blog banner

Why Users Leave Your Website in 5 Seconds (And How UI/UX Fixes It)

Blog banner

LinkedIn

Blog banner

Data Mapping

Blog banner

note taker app

Blog banner

Making Money through Instagram

Blog banner

Fitness regime by Deepesh

Blog banner

Principles of Concurrency

Blog banner