np.random.randn(8)
时间: 2023-10-22 13:26:08 浏览: 127
np.random.randn(8)是一个numpy函数,用于生成一个包含8个元素的数组,其中每个元素都是服从标准正态分布(均值为0,标准差为1)的随机数。 <span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [为什么你用不好Numpy的random函数?](https://blog.csdn.net/weixin_30693683/article/details/97540604)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [Numpy中np.random.rand()和np.random.randn() 用法和区别详解](https://download.csdn.net/download/weixin_38546622/13706514)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [详述numpy中的np.random.rand()、np.random.randn()、np.random.randint()、np.random.uniform()函数的用法](https://blog.csdn.net/BaoITcore/article/details/125273828)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文