<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kento1109</author_name>
  <author_url>https://blog.hatena.ne.jp/kento1109/</author_url>
  <blog_title>機械学習・自然言語処理の勉強メモ</blog_title>
  <blog_url>https://kento1109.hatenablog.com/</blog_url>
  <categories>
    <anon>Stan</anon>
  </categories>
  <description>はじめに 前回は「コワイ本」のTwoCountryQuizのタスクに取り組んだ。今回はこの続きについてまとめる。 ラベルスイッチング 前回のモデルは事後分布が二峰性をもつような分布となっていた。 この原因として「ラベルスイッチング」が原因だと述べた。 混合モデルを考える場合、これはやはり避けて通れない。はじめに「何故そう考えたか」について尤度計算を交えて説明する。 まず、今回のデータ（TwoCountryQuiz）は以下のような行列だった。 A B ... H 人1 1 0 ... 1 人2 1 0 ... 1 ... ... ... ... ... 人8 0 1 ... 0 そして、 人1が…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkento1109.hatenablog.com%2Fentry%2F2018%2F08%2F12%2F203718&quot; title=&quot;Stan：TwoCountryQuiz② - 機械学習・自然言語処理の勉強メモ&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>https://chart.apis.google.com/chart?cht=tx&amp;chl=%0A%5Cbegin%7Beqnarray%7D%0AL%20%26%3D%26%20%5Cprod_%7Bi%3D1%7D%5E%7Bnx%7D%5Cprod_%7Bj%3D1%7D%5E%7Bzj%7D%5Cleft%28%0A%20%20%20%20%5Cbegin%7Barray%7D%7Bccc%7D%0A%20%20%20%20%20%20%281-p%28x_i%29%29%2B%281-p%28z_j%29%29%20%2B%20%7B%5Crm%20Bern%7D%28k_%7Bi%2Cj%7D%7C%5Calpha%29%5C%5C%0A%20%20%20%20%20%20%2B%20%5C%5C%0A%20%20%20%20%20%20p%28x_i%29%2Bp%28z_j%29%20%2B%20%7B%5Crm%20Bern%7D%28k_%7Bi%2Cj%7D%7C%5Calpha%29%5C%5C%0A%20%20%20%20%20%20%2B%20%5C%5C%0A%281-p%28x_i%29%29%2Bp%28z_j%29%20%2B%7B%5Crm%20Bern%7D%28k_%7Bi%2Cj%7D%7C%5Cbeta%29%5C%5C%0A%20%20%20%20%20%20%2B%20%5C%5C%0Ap%28x_i%29%2B%20%281-p%28z_j%29%29%20%2B%20%7B%5Crm%20Bern%7D%28k_%7Bi%2Cj%7D%7C%5Cbeta%29%5C%5C%0A%20%20%20%20%5Cend%7Barray%7D%0A%20%20%5Cright%29%0A%5Cend%7Beqnarray%7D%0A</image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2018-08-12 20:37:18</published>
  <title>Stan：TwoCountryQuiz②</title>
  <type>rich</type>
  <url>https://kento1109.hatenablog.com/entry/2018/08/12/203718</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
