Skip to content

Instantly share code, notes, and snippets.

View b00033811's full-sized avatar
🤓

Abdullah Alnuaimi b00033811

🤓
  • United Arab Emirates - Dubai
View GitHub Profile
"""
Univariate Naive Bayes
@author: Abdullah Al Nuaimi
"""
import numpy as np
from scipy.misc import logsumexp
class NB():
def __init__(self,x,r):
# define the input data