naive_bayes.GaussianNB()

sklearn.naive_bayes.GaussianNB

class sklearn.naive_bayes.GaussianNB(priors=None) [source]

Gaussian Naive Bayes (GaussianNB)

Can perform online updates to model parameters via partial_fit method. For details on algorithm used to update feature means and variance online, see Stanford CS tech report STAN-CS-79-773 by Chan, Golub, and LeVeque:

http://i.stanford.edu/pub/cstr/reports/cs/tr/79/773/CS-TR-79-773.pdf

Read more in the 登录查看完整内容