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

The percentages calculation looks to be missing a * 100 #52

Closed
jiridanek opened this issue Oct 8, 2024 · 1 comment
Closed

The percentages calculation looks to be missing a * 100 #52

jiridanek opened this issue Oct 8, 2024 · 1 comment

Comments

@jiridanek
Copy link

jiridanek commented Oct 8, 2024

"print(\"{:.5f}\".format(np.squeeze(prediction)) + \"%\")"

I think this should read

print("{:.5f}".format(np.squeeze(prediction) * 100) + "%")

so that the result is between 0 and 100 as a proper percentage, and not from 0 to 1.

@jiridanek jiridanek changed the title The percentages calculation looks to be missing a $\cdot 100$ The percentages calculation looks to be missing a * 100 Oct 8, 2024
@cfchase
Copy link
Collaborator

cfchase commented Oct 11, 2024

Fixed in #50

@cfchase cfchase closed this as completed Oct 11, 2024
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

No branches or pull requests

2 participants