Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace integer division by floating division in Float hyperparameter #1002

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sfo
Copy link
Contributor

@sfo sfo commented Mar 20, 2024

This fixes #1001

I omitted explicitly calling math.floor(), since the result gets cast to int anyway.

Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 98.37%. Comparing base (8aa8dc2) to head (6c36aba).

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #1002   +/-   ##
=======================================
  Coverage   98.37%   98.37%           
=======================================
  Files          50       50           
  Lines        3085     3085           
=======================================
  Hits         3035     3035           
  Misses         50       50           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Contrary to documentation, floating point hyperparameter does not include max_value
1 participant