2b5abd2e6175018
http://nhiro.org.s3.amazonaws.com/e/4/e43763b69fe76411db8dd51ac8bdcfcd.jpg https://gyazo.com/e43763b69fe76411db8dd51ac8bdcfcd
(OCR text)
1次元ガウス分布の負の対数尤度
def nllld (args, group):
(mul, sig11)
if sig1l < 0: return np.inf
ret np.log (sig11) len (group) 2
for y in group:
ret diff
= args
** 2 (2 sig11)
if np.isnan(ret): return np.inf
return ret
Nolian1dM,
t
2T
2