We're using np.nextafter(0, 1) to get an epsilon in a couple of places (git grep nextafter). We should be using dtype.eps, I think.
Activity
timfong1015 commentedon Jul 23, 2018
I am a new contributor (just been a scikit-learn user so far) and would be happy to help with this problem.
amueller commentedon Jul 23, 2018
@timfong1015 I already posted an issue in #11611.
timfong1015 commentedon Jul 24, 2018
Sorry for the bother. I didn't understand what was happening with #11611.
qinhanmin2014 commentedon Jul 25, 2018
@timfong1015 We replaced
np.nextafter(0, 1)withdtype.epsand solved the issue.