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

Fix Probability distribution #256

Merged
merged 3 commits into from
May 4, 2022
Merged

Fix Probability distribution #256

merged 3 commits into from
May 4, 2022

Conversation

Quantum-0
Copy link
Contributor

Fix Probability distribution to uniform distribution

Previously, the chance of any random letter and any digit was equal, but the chance of a specific number was 1/(2*10) = 5% and the chance of a specific letter was 1/2/16 = 8.(3)%
Now the chance of a specific number and a specific letter are equals.

@NetanelBasal NetanelBasal merged commit 86a0950 into ngneat:main May 4, 2022
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.

2 participants