The Dirichlet Distribution in Federated Learning: From Probability Vectors to Non-IID Data Partitioning

When a paper says it used a Dirichlet split, what did it assign to whom? I walk through both directions and count the results with NumPy.

· 11 min

How to Get the Top K of WeChat Red Envelopes

Simulating WeChat red envelope distribution with Python to compare the probability of entering the Top K based on different claiming orders, …

· 6 min