假設現在有n個數據,每個數據發生的機率即為概率質量函數(Probability Mass Function): P(X = xi) = Pi,i = 1,2,... 使用Python中的choice()來產生特定機率隨機數 choice( ...
確定! 回上一頁