<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>mkotha</author_name>
  <author_url>https://blog.hatena.ne.jp/mkotha/</author_url>
  <blog_title>www.kotha.netの裏</blog_title>
  <blog_url>https://mkotha.hatenadiary.org/</blog_url>
  <categories>
    <anon>algorithm</anon>
  </categories>
  <description>観測にノイズが乗っても対処できる二分探索が意外と簡単に書けることが分かったのでメモ。 問題 (n-1)個の整数からなる列がある。そのうち左からi個は(-1)であり、それ以外は1である。 n=6, i=3の例 -1 -1 -1 1 1クエリを繰り返すことでiを求めたい。各クエリは整数kであり、答として左からk番目の整数の値が得られる。ただし、この答にはノイズが加算される。ノイズは標準偏差σ(既知とする)の正規分布に従う。 解法 iがどの値を取るかの確率分布を持っておいて、クエリの答が得られるたびにベイズの定理に従って更新する。最初はn通りの一様分布。クエリは、得られる情報量の期待値を最大化するよ…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmkotha.hatenadiary.org%2Fentry%2F20140712%2F1405174033&quot; title=&quot; ノイズ耐性のある二分探索 - www.kotha.netの裏&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></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-07-12 23:07:13</published>
  <title> ノイズ耐性のある二分探索</title>
  <type>rich</type>
  <url>https://mkotha.hatenadiary.org/entry/20140712/1405174033</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
