Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Naive Bayes implementation for multiple categorical features.

This repository contains both full implementation and skeleton code. The resources are used for the purpose under 'SNU 4th Industrial Revolution Academy'.

Description of files

  • naive_bayes.py
    • Full implementation of Naive Bayes. Since this code contains the answers of exercise, please do not open until the end of the course.
  • naive_bayes_exercise.py
    • A skeleton code of Naive Bayes. Fill out all TODOs with proper codes. There are some hints for all TODO blocks denoted as ???.
  • play_tennis.csv
    • Training data for Naive Bayes. Please locate this file at the same directory of naive_bayes_exercise.py.

About

Python implementation of Naive Bayes for multiple categorical features.

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages