{"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Frandommemory.hatenablog.com%2Fentry%2F2015%2F09%2F27%2F181637\" title=\"\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_title":"\u3089\u3093\u3060\u3080\u306a\u8a18\u61b6","type":"rich","provider_name":"Hatena Blog","author_name":"derwind","title":"\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc","blog_url":"https://randommemory.hatenablog.com/","provider_url":"https://hatena.blog","height":"190","published":"2015-09-27 18:16:37","width":"100%","author_url":"https://blog.hatena.ne.jp/derwind/","description":"\u30cb\u30e5\u30fc\u30e9\u30eb\u30cd\u30c3\u30c8\u30ef\u30fc\u30af (3) - \u3089\u3093\u3060\u3080\u306a\u8a18\u61b6\u3067\u8a18\u8f09\u3057\u305f \\begin{equation} \\mathrm{Cost}(h_\\Theta(x)_k,\\ y_k) = -y_k \\log(h_\\Theta(x)_k) - (1 - y_k)\\log(1 - h_\\Theta(x)_k),\\ 1 \\le k \\le K \\end{equation} \u306e\u3088\u3046\u306a\u3084\u3064\u306f\u4ea4\u5dee\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc(cross entropy)\u3068\u547c\u3076\u3093\u3060\u306a\u3002 \u307e\u3041\u3001\u78ba\u304b\u306b\u3001\u60c5\u5831\u7406\u8ad6\u306e\u30a8\u30f3\u30c8\u30ed\u30d4\u30fc $-p \\log p$ \u307f\u305f\u3044\u306a\u3084\u3064\u304c\u304c\u3063\u3061\u3083\u3093\u3053\u3057\u3066\u3044\u3066\u3001$y_k \\in \\{0,\\ 1\\}$\u304c\u3069\u3063\u3061\u306e\u5024\u3092\u3068\u308b\u304b\u3067\u7247\u65b9\u3060\u3051\u304c\u751f\u304d\u2026","categories":["machine_learning"],"image_url":null,"version":"1.0","url":"https://randommemory.hatenablog.com/entry/2015/09/27/181637"}