Numpyのファンシーインデックス(Fancy Index)で配列を自由に操作する - Qiita
うへぇ・・・
import numpy as np y = np.array(range(300,300+100)) rgen = np.random.RandomState(1) randomly_permutated_y = y[rgen.permutation(len(y))]
でランダムに並んだ [300, 301, ..., 398, 399]
が得られるとな・・・
確率的勾配降下法のシャッフルに使えますと・・・
Is there a difference between Stochastic and Probabilistic? - Quoraが気になるが英語を読む気が・・・。確率微分方程式は Stochastic differential equation だしなぁ・・・。確率論は Probability theory だしなぁ・・・
どうでもいいけど、この分野の内積の記述は何故 $\langle w,x \rangle$ や $w \cdot x$ ではなく $w^T x$ なんだろうなぁ・・・