[scikit-learn] Generate data from trained naive bayes

klo uo klonuo at gmail.com
Mon Oct 3 07:30:44 EDT 2016


because naive bayes is a generative model, does that mean that I can
somehow generate data based on trained model?

For example:

clf = BernoulliNB()
clf.fit(train, labels)

Can I generate data for specific label?

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scikit-learn/attachments/20161003/8cf1b152/attachment.html>

More information about the scikit-learn mailing list