Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jesly-joji/spam-ham-classifier-with-handing-of-data-imbalance

Spam/Ham Classifier with SMOTE Technique
https://github.com/jesly-joji/spam-ham-classifier-with-handing-of-data-imbalance

Last synced: about 2 months ago
JSON representation

Spam/Ham Classifier with SMOTE Technique

Awesome Lists containing this project

README

        

# Spam/Ham Classifier with Handing of Data-Imbalance

Used the Naive-Bayes Algorithm

Use SMOTE[Synthetic Minority Oversampling Technique] to handle the data imbalance

SMOTE (synthetic minority oversampling technique) is one of the most commonly used oversampling methods to solve the imbalance problem. It aims to balance class distribution by randomly increasing minority class examples by replicating them

Distribution of Dataset


![__results___24_0](https://github.com/user-attachments/assets/d52dc556-39cb-4575-b5aa-aa103f59e746)
![__results___26_0](https://github.com/user-attachments/assets/9f81e053-6ec2-4bb7-88e0-89bbad873511)

CONFUSION MATRIX



F1- Score: 98%

![download](https://github.com/user-attachments/assets/6ee636e6-5a35-4815-b323-3f55a8a81fc6)

OUTPUT

![Screenshot (747)](https://github.com/user-attachments/assets/d215fd86-6418-4e53-b7d6-c96db4f163dc)
![Screenshot (748)](https://github.com/user-attachments/assets/1073aebd-1781-44f8-94a2-6ff0a515c0f7)