Sample From Zipf Distribution
Sample From Zipf Distribution. The frequency of an item is . Using scipy.stats , you could create a custom discrete distribution:
There is a peak in occurrences at a young age, and another peak of .
The zipf distribution (also known as the zeta distribution) is a continuous probability distribution that satisfies zipf's law: The zipfian distribution is one of a family of related discrete power law probability distributions. The frequency of an item is . Using scipy.stats , you could create a custom discrete distribution: