<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>bob3</author_name>
  <author_url>https://blog.hatena.ne.jp/bob3/</author_url>
  <blog_title>bob3’s blog</blog_title>
  <blog_url>https://bob3.hatenablog.com/</blog_url>
  <categories>
    <anon>R</anon>
  </categories>
  <description>事前に用意した映画の類似度行列に基づいて、任意のユーザーに次に見るべき映画を推薦する。 ここで評価と類似度を乗算したものを類似度の合計で割るという計算をしているのだけど、これも納得がいかないので算術平均を使うことにする。 前述したように評者ごとの個人差を補正するなら相関係数を使うか、評者ごとに中心化した距離行列を使えばいいと思う。 # 任意のユーザーの評価と事前に用意した映画の類似度行列に基づいて、任意のユーザーに次に見るべき映画を推薦する関数。 # itemMatch calculateSimilarItemsで作った映画の類似度行列 # user 任意のユーザーの評点ベクトル getRec…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fbob3.hatenablog.com%2Fentry%2F20081116%2Fp2&quot; title=&quot; 2.7.2 推薦を行う - bob3’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>2008-11-16 00:00:02</published>
  <title> 2.7.2 推薦を行う</title>
  <type>rich</type>
  <url>https://bob3.hatenablog.com/entry/20081116/p2</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
