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

Title: Network Sniffing Techniques: Uncovering the Secrets of Data Transfer

Blog banner

Paralysis/Paralysis Stroke

Blog banner

Why Data Security Is Important

Blog banner

Memory Management

Blog banner

Internet of Things and cyber security

Blog banner

Predicting Student Performance with Data Science

Blog banner

Risk mitigation and management

Blog banner

Password Generator - Lisp

Blog banner

Process and Threading

Blog banner

Why is it hard to design an Operating Systems ?

Blog banner

INTERNET SECURITY

Blog banner

Hosting basics

Blog banner

Linux Threads:

Blog banner

Study of Sniffing Tools

Blog banner

Recipe of Paneer Butter Masala

Blog banner

Music helps reduce stress

Blog banner

MPL and how its effects?

Blog banner

GraphX:- A graph processing tool

Blog banner

To travel is to live

Blog banner

What is Influencer Marketing and its Trends

Blog banner

Understanding the 'Ambiverts'

Blog banner

IoT Evolution

Blog banner

indian premier league

Blog banner

Mumbai

Blog banner

Why Soft Skills Matter as Much as Grades?

Blog banner

What are Tenders its various types

Blog banner

therapist blog

Blog banner

Excel records

Blog banner

File Sharing

Blog banner

KEAP MANAGEMENT SYSTEM

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Importance Of Blockchain

Blog banner

Deadlock Prevention

Blog banner

Study of Backdoor and Trojan tools

Blog banner

Threads and concurrency

Blog banner

Intrusion Detection System

Blog banner

Linux VServer Architecture

Blog banner

Child labour

Blog banner

I/O Management and Disk Scheduling

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

Concept and definition of m-commerce

Blog banner

A-B-C of Networking: Part-3 (Topology [Bus & Star])

Blog banner