How to generate a probability distribution of a given size in python?

前端 未结 0 1814
陌清茗
陌清茗 2021-02-19 12:20

I want to generate a distribution given a size and shape of the distribution. Example :

[0.5 ,0.25, 0.125, 0.125] is a probability distribution which is of s

相关标签:
回答
  • 消灭零回复
提交回复
热议问题