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

IT Service as as Value Creation

Blog banner

BENIFITS OF YOGA

Blog banner

Traditional Unix System

Blog banner

GUIDE TO GIS

Blog banner

The launch of UniMap by HERE

Blog banner

Video games

Blog banner

Virus

Blog banner

PPT methodology

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Consumer to consumer Business model

Blog banner

Place to visit in pune

Blog banner

Socket Programming in Java

Blog banner

Visualization in Data Science

Blog banner

How to grow followers on Instagram business account?

Blog banner

Palliative and End — of — Life Care: A Psychological and Holistic Perspective

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

URL vs Domain

Blog banner

City of Mumbai (Bombay):

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Inventory management software system

Blog banner

Save Environment

Blog banner

Service Design Model

Blog banner

Importance of Network Security Risk

Blog banner

Culture Of Ladakh

Blog banner

EVOLUTION OF THE MIRCOPROCESSOR

Blog banner

SMARTSHEET MANAGEMENT SYSTEM

Blog banner

Amazon

Blog banner

How Men and Women Process Pain Differently

Blog banner

Why Friendship at Work is Important

Blog banner

A Traveller’s Guide to Offbeat Places in Arcadia, Florida

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

USPS mail

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

Deadlock in operating system

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

MAJOR ACHIEVEMENTS OF OS

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Dal Bafla Recipe

Blog banner

IoT Evolution

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner