aimclub / GOLEM

Graph Optimiser for Learning and Evolution of Models
https://thegolem.readthedocs.io
BSD 3-Clause "New" or "Revised" License
60 stars 7 forks source link

Fix hyperopt.hp.randint #250

Closed MorrisNein closed 9 months ago

MorrisNein commented 9 months ago

Monkey-patch the hyperopt.hp.randint near the definition of HyperoptTuner.

Makes it return an int instead of a np.int64.

pep8speaks commented 9 months ago

Hello @MorrisNein! Thanks for updating this PR. We checked the lines you've touched for PEP 8 issues, and found:

There are currently no PEP 8 issues detected in this Pull Request. Cheers! :beers:

Comment last updated at 2023-12-12 14:41:08 UTC
codecov-commenter commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (085ca3d) 71.91% compared to head (45695fa) 71.88%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #250 +/- ## ========================================== - Coverage 71.91% 71.88% -0.04% ========================================== Files 136 136 Lines 8140 8145 +5 ========================================== + Hits 5854 5855 +1 - Misses 2286 2290 +4 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.