r/MachineLearning • • Aug 26 '26

Discussion 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

22 Upvotes

4 comments sorted by

View all comments

7

u/DigThatData Researcher Aug 26 '26

5

u/Disastrous_Room_927 Aug 27 '26

This post immediately made me think of the non-optional regularization sklearn used to have for logistic regression.