Gaussian Naive Bayes (GaussianNB) classifier
Branch: master
Clone or download
Latest commit d3af80c Feb 20, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore Initial commit Feb 19, 2018
LICENSE Initial commit Feb 19, 2018
README.md Updated readme Feb 21, 2018
gaussianNB.py Added source code Feb 21, 2018
glass.csv Added source code Feb 21, 2018
requirements.txt Added source code Feb 21, 2018

README.md

GaussianNB

Gaussian Naive Bayes (GaussianNB) classifier

Simple Gaussian Naive Bayes classifier implementation. It also implements 5-fold cross-validation. Compared performance with Zero-R algorithm.

Dataset

Glass.csv

Attribute and Class Information:

  1. RI: refractive index
  2. Na: Sodium (unit measurement: weight percent in corresponding oxide, as are attributes 4-10)
  3. Mg: Magnesium
  4. Al: Aluminum
  5. Si: Silicon
  6. K: Potassium
  7. Ca: Calcium
  8. Ba: Barium
  9. Fe: Iron
  10. Type of glass: (class) -- 1 window glass (from vehicle or building) -- 2 not window glass (containers, tableware, or headlamps)