Skip to content

jayamanikharyono/NaiveBayesImplementation

Repository files navigation

NaiveBayesImplementation

Description

This repo for Naive Bayes Implmentation in Python. there are three naive bayes classifier, first is for Handle Discrete Value, Second for Handle Continu Value and the Last for both.

Instalation

--

Training

To Train Model Execute Build Model Function

  • For Discrete or Continu Features (NaiveBayesCategoricalValue.py or NaiveBayesContinuValue.py)

    model = build_model(X_train, Y_train)
  • For Both Discrete and Continu Value (NaiveBayes.py), where param numerical_column use as flag for Continu Features

    model = build_model(X_train, Y_train, numerical_column = list_numerical_feature)

Dataset

References

TO DO

  • Convert to OOP
  • Model Saving

License

Copyright © 2018 Jaya Haryono Manik. See LICENSE for details.

About

This repo for Naive Bayes Implmentation

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages