1 min readfrom Machine Learning

Catching bugs in scikit-learn [D]

sklearn 1.9 fixed a bug in how BayesianRidge computes its uncertainty. We traced predict on 1.8 and 1.9 and compared the two formulas it actually computes, see if you can spot what changed before the notebook tells you.

https://github.com/aadya940/scikit-verify/blob/master/examples/sklearn_bug_hunting.ipynb

submitted by /u/Lost-Dragonfruit-663
[link] [comments]

Want to read more?

Check out the full article on the original site

View original article

Tagged with

#scikit-learn
#sklearn
#bug
#bug hunting
#BayesianRidge
#uncertainty
#predict
#formula
#version 1.8
#version 1.9
#machine learning
#scikit-verify
#github
#notebook
#code
#regression
#algorithm
#mathematical model
#statistical modeling
#debugging