code:naive_bayes

# Differences

This shows you the differences between two versions of the page.

 code:naive_bayes [2016/11/15 13:50]asa created code:naive_bayes [2016/11/15 13:50] (current)asa 2016/11/15 13:50 asa 2016/11/15 13:50 asa created 2016/11/15 13:50 asa 2016/11/15 13:50 asa created Line 2: Line 2: Scikit-learn provides both Gaussian and multinomial/​binomial flavors of Naive Bayes. Scikit-learn provides both Gaussian and multinomial/​binomial flavors of Naive Bayes. - Here's a code snippet that uses the Gaussian version and shows the resulting decision boundary for toy 2-d data (it uses decision_boundary.py from a [[code:​nearest_neighbors | previous demo]]): + Here's a code snippet that uses the Gaussian version and shows the resulting decision boundary for toy 2-d data (it uses ''​decision_boundary.py'' ​from a [[code:​nearest_neighbors | previous demo]]):