This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
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 |
OlderNewer