Giter Site home page Giter Site logo

fzsun316 / naive_bayes_classifier Goto Github PK

View Code? Open in Web Editor NEW

This project forked from llsourcell/naive_bayes_classifier

0.0 2.0 0.0 2 KB

This is the code for "Probability Theory - The Math of Intelligence #6" By Siraj Raval on Youtube

Python 100.00%

naive_bayes_classifier's Introduction

naive_bayes_classifier

This is the code for "Probability Theory - The Math of Intelligence #6" By Siraj Raval on Youtube

Coding Challenge - Due Date, Thursday July 27 2017 at 12 PM PST

Write your own Naive Bayes Classifer for any text dataset. Any improvements from my code in the video, (example - Using n-grams instead of counting individual words, TFIDF instead of bag of words, etc.) will be bonus points. Good luck!

Overview

This is the code for this video on Youtube by Siraj Raval as part of The Math of Intelligence course. I uses a Naive Bayes classifier to label some text as spam or not spam by training on this Kaggle dataset as training data.

Dependencies

  • numpy

Install numpy using pip

Usage

Type python naive_bayes.py to run the code.

Credits

Credits go to AlanBuzdar. I've merely created a wrapper to get people started.

naive_bayes_classifier's People

Contributors

llsourcell avatar

Watchers

James Cloos avatar Fangzhou Sun avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.