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

Implement Random.Zipf extension method #726

Closed
AntyaDev opened this issue Sep 2, 2024 · 0 comments
Closed

Implement Random.Zipf extension method #726

AntyaDev opened this issue Sep 2, 2024 · 0 comments
Labels
5.8 new feature New feature or request
Milestone

Comments

@AntyaDev
Copy link
Contributor

AntyaDev commented Sep 2, 2024

Documentation link

The Zipf distribution is a mathematical concept that describes the frequency of items ranked from most common to least common in a dataset, like word frequencies in a book or city populations.
Also, this distribution can be used to describe hot keys/items in database or popular tweets in Tweeter web service.

var stepIndex = context.Random.Zipf(n: 100, s: 1.0)
@AntyaDev AntyaDev added new feature New feature or request 5.8 labels Sep 2, 2024
@AntyaDev AntyaDev added this to the 5.8.0 milestone Sep 2, 2024
@AntyaDev AntyaDev closed this as completed Sep 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.8 new feature New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant