Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Getting Intuition behind the implementation of Naive Bayes Classifier with SMS spam collection data.

Notifications You must be signed in to change notification settings

JuzerShakir/Naive-Bayes-Tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Project: Naive Bayes Tutorial

Spervised Learning, Classification


Table Of Contents:


Description

About the project

In this project we need to predict whether a message is spam or ham/not spam with Naive Bayes Classifier. This project will guide us through how to use Bag of Words and Naive Bayes step by step and understand its intuition and how its implemented along the way.


Data

Files

This project contains 2 files and 2 folder:

  • report.ipynb: This is the main file where I have performed my work on the project.
  • data: The project dataset. I have loaded this data in the notebook..
  • export/ : Folder containing HTML and PDF version file of notebook.
  • images/ : Contains Images which are displayed in report.ipynb file.

Dataset file

data file, contains 500+ instances on whether a particular message is spam or not spam / spam or ham.


Loading Project

Requirements

This project requires Python 3.6 and the following Python libraries installed:

You will also need to have software installed to run and execute a Jupyter Notebook

If you do not have Python installed yet, it is highly recommended that you install the Anaconda distribution of Python, which already has the above packages and more included.

Execution

In a terminal or command window, navigate to the top-level project directory Naive_Bayes_Tutorial (that contains this README) and run one of the following commands:

ipython notebook report.ipynb

or

jupyter notebook report.ipynb

This will open the Jupyter/iPython Notebook software and project file in your browser.