ghislainv / forestatrisk

📦🐍 Python package to model and forecast the risk of deforestation
https://ecology.ghislainv.fr/forestatrisk
GNU General Public License v3.0
116 stars 27 forks source link

Test failed on GitHub but not locally. #84

Closed ghislainv closed 7 months ago

ghislainv commented 7 months ago

Tests failed on GitHub but not locally. Might be a random seed problem. To be checked...

ghislainv commented 7 months ago

This was due to different versions of scikit-learn locally and on GitHub providing different starting values from the logistic regression for betas. Now the test uses a fixed value (0) for starting values avoiding dependency on scikit-learn.