<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kujira16</author_name>
  <author_url>https://blog.hatena.ne.jp/kujira16/</author_url>
  <blog_title>くじらにっき++</blog_title>
  <blog_url>https://kujira16.hateblo.jp/</blog_url>
  <categories>
    <anon>Python</anon>
    <anon>機械学習</anon>
  </categories>
  <description>可視化してみました。 解説 以下の動画が一番分かりやすいです。 www.youtube.com Q関数を最大化する, , の求め方は，実際に解いてみると，本当にラグランジュの未定乗数法を使うだけという感じでした。ただし という制約を組み込むのを忘れずに… について求めるところはちょっと迷ったので，導出を載せておきます。 ソースコード Pythonで書きました。movieディレクトリにpngを連番で出力します。アニメーションGIFを作るには以下のサイトを参照してください。 アニメーションGIFの作り方 ImageMagick編 hに関してのforループが残っていてnumpy力の低さが感じられます…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkujira16.hateblo.jp%2Fentry%2F2015%2F12%2F06%2F223951&quot; title=&quot;PythonでEMアルゴリズムを可視化してみた（混合正規分布） - くじらにっき++&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url>http://cdn-ak.f.st-hatena.com/images/fotolife/k/kujira16/20151206/20151206210030.gif</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2015-12-06 22:39:51</published>
  <title>PythonでEMアルゴリズムを可視化してみた（混合正規分布）</title>
  <type>rich</type>
  <url>https://kujira16.hateblo.jp/entry/2015/12/06/223951</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
