np.random.choice(5, 3) array([0, 3, 4]) >>> #This is equivalent to np.random.randint(0,5,3). 从np.arange(5)生成大小为3的非均匀随机样本:.
確定! 回上一頁