Skip to content

Tilakraj0308/SpamClassifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpamClassifier

SpamClassifier

Another awesome project to make the world a better place.

⚡️ Introduction

This is a simple Machine learning project made using Multilayer Perceptron (Neural Network). It classifies every example email body into either "Ham" or "Spam".

dataset used --> Kaggle-Spam-collection-dataset

🎯 Features

  • Uses Tokenization
  • Porter Stemming
  • No Stopwords
  • F1 score of 0.98

⚙️ Installation

Make sure you have latest version of python installed. Run this followed commands if using pip:

# Making sure you have latest version of pip
pip3 install --upgrade pip

# Installing jupyter notebook
pip3 install jupyter

If using anaconda installer:

  1. Download Anaconda. We recommend downloading Anaconda’s latest Python 3 version (currently Python 3.7).

  2. Install the version of Anaconda which you downloaded, following the instructions on the download page.

  3. Congratulations, you have installed Jupyter Notebook. To run the notebook:

  #run this command: 
  jupyter notebook

Software

The packages I used to run the code in the book are listed in requirements.txt (Note that some of these exact version numbers may not be available on your platform: you may have to tweak them for your own use). To install the requirements using conda, run the following at the command-line:

   #run this command:
   $ conda install --file requirements.txt

🌱 Third Party Libraries

‎‍💻 Author

⭐️ Contribute

If you want to say thank you and/or support the active development of SpamClassifier:

  1. Add a GitHub Star to the project.
  2. Tweet about the project on your Twitter.
  3. Write a review mail at tilakraj7050@gmail.com.
  4. Support the project by donating a cup of coffee.

🧾 License

MIT license Copyright (c) 2022 Tilak raj.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published