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

What is the point of living if we can die at any moment of our lives ?

Blog banner

Human factor, a critical weak point in the information security of an organization’s IOT

Blog banner

Bharat Maps

Blog banner

Improving defences Proxy Device(defense in depth)

Blog banner

Health and fitness

Blog banner

Smart Shoephone: Is that technology overdose!?

Blog banner

AI and Data Science: Revolutionizing Industries

Blog banner

Evolution of OS

Blog banner

Bots and Cyber Security

Blog banner

Cache memory

Blog banner

Decision Tree: A Diagram Model

Blog banner

Mental Health

Blog banner

Cyber Attacks -- Trends Patterns and Security Countermeasures

Blog banner

Deadlock and Starvation

Blog banner

Trends that began during the pandemic

Blog banner

Hash password! Is it really secured?

Blog banner

Mumbai

Blog banner

Swiggi

Blog banner

Virtual Memory

Blog banner

Memory Management

Blog banner

Image Steganography: Hiding Secrets in Plain Sight

Blog banner

Mendeley (management software)

Blog banner

Old age lifestyle

Blog banner

MEMORY MANAGEMENT

Blog banner

Benefits of yoga and meditation

Blog banner

Data Visualization

Blog banner

Elements and Principles of Photography

Blog banner

What are the different types of E-mail crime and process of email forensic?

Blog banner

Outlook.com

Blog banner

" THE ANSWERS THAT LED INDIAN BEAUTIES TO THE MISS UNIVERSE HISTORIC WIN. "

Blog banner

How to kiss

Blog banner

Vulnerabilities in OnePlus Devices

Blog banner

Soak knowledge and level up your intellectual potential!!!

Blog banner

NIKE

Blog banner

PROCESS STATE:

Blog banner

HR Automation : Need of the hour

Blog banner

Modern Operating System - Khush bagaria

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Hosting basics

Blog banner

Kernel Memory Allocation In Linux.

Blog banner

Socket Programming in Java

Blog banner

Cache Memory

Blog banner