Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
probml
GitHub Repository: probml/pyprobml
Path: blob/master/notebooks/book1/04/fig_4_20.ipynb
1193 views
Kernel: Unknown Kernel

(a) Logistic regression for classifying if an Iris flower is Versicolor (y=1y=1) or setosa (y=0y=0) using a single input feature xx corresponding to sepal length. Labeled points have been (vertically) jittered to avoid overlapping too much. Vertical line is the decision boundary. Generated by logreg_iris_1d.ipynb . (b) Same as (a) but showing posterior distribution. Adapted from Figure 4.4 of \citep{Martin2018}. Generated by logreg_iris_bayes_1d_pymc3.ipynb .