<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>kj-ki</author_name>
  <author_url>https://blog.hatena.ne.jp/kj-ki/</author_url>
  <blog_title>kj-ki’s blog</blog_title>
  <blog_url>https://kj-ki.hatenablog.com/</blog_url>
  <categories>
    <anon>Ruby</anon>
  </categories>
  <description>ついに本題に入ります． 今回やること 「集合知プログラミング」の3章で使われている，単語の頻度がファイルになっている&quot;blogdata.txt&quot;を使って，階層型クラスタを作成します． 得られる結果はp.47にあるデンドログラムと同じになるはずですが... blogdata.txtの読み込み blogdata.txtはTSV(Tab Separated Values)になっています． このファイルを読み込み，URLをキーにしたHashに格納します． def blog_data_from(file) word_counts = {} lines = File.open(file, 'r').rea…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkj-ki.hatenablog.com%2Fentry%2F20090108%2Fp1&quot; title=&quot;階層型クラスタの作成 - kj-ki’s blog&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>2009-01-08 00:00:00</published>
  <title>階層型クラスタの作成</title>
  <type>rich</type>
  <url>https://kj-ki.hatenablog.com/entry/20090108/p1</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
