Skip to content

Commit 9e5a903

Browse files
committed
修复swin模型的问题
1 parent 09aa7b1 commit 9e5a903

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/_sources/chapter_1_retrieval/1.cf/1.itemcf.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ Swing score 的基础计算公式为:
338338

339339
因此,物品h和p之间的swing
340340
score为:\ :math:`s(h, p) = \frac{1}{5} + \frac{1}{3} + \frac{1}{3} = \frac{13}{15}`\ ,而物品h和t(或r)之间的swing
341-
score为:\ :math:`s(h, t) = s(h, r) = \frac{1}{3}`\
341+
score为:\ :math:`s(h, t) = s(h, r) = \frac{1}{5}`\
342342

343343
**用户权重调整**\ :为了降低活跃用户对计算结果的过度影响,我们引入用户权重
344344
:math:`w_u = \frac{1}{\sqrt{|I_u|}}`\ 。最终的物品相似度计算公式为:

docs/chapter_1_retrieval/1.cf/1.itemcf.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,7 @@ <h2><span class="section-number">2.1.1.2. </span>从ItemCF到Swing:面向工
610610
</ul>
611611
<p>因此,物品h和p之间的swing
612612
score为:<span class="math notranslate nohighlight">\(s(h, p) = \frac{1}{5} + \frac{1}{3} + \frac{1}{3} = \frac{13}{15}\)</span>,而物品h和t(或r)之间的swing
613-
score为:<span class="math notranslate nohighlight">\(s(h, t) = s(h, r) = \frac{1}{3}\)</span></p>
613+
score为:<span class="math notranslate nohighlight">\(s(h, t) = s(h, r) = \frac{1}{5}\)</span></p>
614614
<p><strong>用户权重调整</strong>:为了降低活跃用户对计算结果的过度影响,我们引入用户权重
615615
<span class="math notranslate nohighlight">\(w_u = \frac{1}{\sqrt{|I_u|}}\)</span>。最终的物品相似度计算公式为:</p>
616616
<div class="math notranslate nohighlight" id="equation-chapter-1-retrieval-1-cf-1-itemcf-5">

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)