<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>sugyan</author_name>
  <author_url>https://blog.hatena.ne.jp/sugyan/</author_url>
  <blog_title>すぎゃーんメモ</blog_title>
  <blog_url>https://memo.sugyan.com/</blog_url>
  <categories>
    <anon>Book</anon>
  </categories>
  <description>せっかくなのでJavaで書いてみた。 お気に入りのPerlでも書こうと思ったけど一緒に読む人間がPerl分からないのでまずはJavaで。 ていうかPerlで書いてる方がいるんですね。あとで真似してみよう。 集合知プログラミング 2章 その1 ユークリッド距離 - ケーズメモ ユークリッド距離とは、要するに空間上の距離ということらしい。 座標,を持つ2点のユークリッド距離は から計算される。 この章では、類似性スコアを求めて後で重み付けに使うためにこれに1を加えて逆数を取ったものを使うようだ。 こうすることで常に0から1の間の値を返すようになり、類似性が高ければ1に近くなる。 Common.ja…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fmemo.sugyan.com%2Fentry%2F20081003%2F1222986751&quot; title=&quot;集合知プログラミング 2章 ユークリッド距離 - すぎゃーんメモ&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>2008-10-03 07:32:31</published>
  <title>集合知プログラミング 2章 ユークリッド距離</title>
  <type>rich</type>
  <url>https://memo.sugyan.com/entry/20081003/1222986751</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
