Skip to content

jain-ruchi/bernoulli-naive-bayes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Bernoulli Naive Bayes Algorithm

Requirements:

  • GNU Octave

The Model:

Source Files:

  • naive_bayes.m: contains function to train model and predict probabilities for evaluation dataset.

Instructions:

  • Call the naive_bayes method with parameters: train_data, train_labels, and eval_data.
  • Outputs probabilities of predicted labels.