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

COMFORT IS ALL ABOUT FASHION

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

First-Order Logic (FOL): The Foundation of Modern Logic

Blog banner

Multiprocessor scheduling

Blog banner

Should you be using a mouthwash? Know from the experts

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Disk Management

Blog banner

Technological Advancement

Blog banner

Digital Balance: Keeping Children Mindful in the Screen Age

Blog banner

IOT Hacking Techniques

Blog banner

computer security

Blog banner

Skills An Ethical Hacker Must Have

Blog banner

Bots and Cyber Security

Blog banner

IoT Architecture Based Security

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Modern operating system

Blog banner

Multiple processor scheduling

Blog banner

HUBSPOT

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

This Windows 11 encryption bug may cause data damage

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

virtual machines and virtualization

Blog banner

BITCOIN WALLET

Blog banner

Dal Bafla Recipe

Blog banner

Firewall

Blog banner

Android Application Components and Activity Lifecycle

Blog banner

Virtual machine.

Blog banner

SAVE TREES

Blog banner

Fitness regime by Deepesh

Blog banner

File Management system

Blog banner

Tiranga - Abbas Haveliwala

Blog banner

Spotify

Blog banner

Basic Security For SOAP Services

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Session Vulnerabilities

Blog banner

bulk email software

Blog banner

Busted : Common Web Security Myths

Blog banner

Stay Close To Adventure In Arcadia, Florida At Oak Tree Hotel

Blog banner

Diwali

Blog banner

Study of Sniffing Tools

Blog banner

Cyber Laws In India and Around the World

Blog banner