2017-06-16から1日間の記事一覧
random randn 標準正規分布を出力(標準0、分散1) import numpy as np >>> np.random.randn() #-0.728737781876976 >>> np.random.randn(2,3) #2×3 array([[-0.01827125, -0.38984807, 0.08674773], [ 0.68593183, 0.82708901, -0.15050036]]) max 配列の中…
random randn 標準正規分布を出力(標準0、分散1) import numpy as np >>> np.random.randn() #-0.728737781876976 >>> np.random.randn(2,3) #2×3 array([[-0.01827125, -0.38984807, 0.08674773], [ 0.68593183, 0.82708901, -0.15050036]]) max 配列の中…