Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Python 标准差随机高斯分布_Python_Neural Network_Gaussian_Basis - Fatal编程技术网

Python 标准差随机高斯分布

Python 标准差随机高斯分布,python,neural-network,gaussian,basis,Python,Neural Network,Gaussian,Basis,我想初始化一个随机高斯数组,在python中标准偏差为0.08。 我能找到这样的东西 self.biases = [np.random.randn(y, 1) for y in sizes[1:]] 但是,它的标准偏差为1。 help(np.random.randn) 注意事项 ----- 对于来自:math:N(\mu\sigma^2)的随机样本,使用: sigma*np.random.randn(…)+mu

我想初始化一个随机高斯数组,在python中标准偏差为0.08。 我能找到这样的东西

self.biases = [np.random.randn(y, 1) for y in sizes[1:]]
但是,它的标准偏差为1。

help(np.random.randn)
注意事项
-----
对于来自:math:
N(\mu\sigma^2)
的随机样本,使用:
sigma*np.random.randn(…)+mu