You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
CTR measures the accuracy of the recommendations over the subset of user-item pairs that appear in both actual ratings and recommendations.
20
+
CTR offers three reward estimation methods.
21
+
22
+
Direct estimation ("matching") measures the accuracy of the recommendations over the subset of user-item pairs that appear in both actual ratings and recommendations.
21
23
22
24
Let :math:`M` denote the set of user-item pairs that appear in both actual ratings and recommendations, and :math:`C(M_i)` be an indicator function that produces :math:`1` if the user clicked on the item, and :math:`0` if they didn't.
23
25
24
26
.. math::
25
27
CTR = \frac{1}{\left | M \right |}\sum_{i=1}^{\left | M \right |} C(M_i)
26
28
29
+
Inverse propensity scoring (IPS) weights the items by how likely they were to be recommended by the historic policy
30
+
if the user saw the item in the historic data. Due to the probability inversion, less likely items are given more weight.
<p>Binary recommender metrics directly measure the click interaction.</p>
185
185
<divclass="section" id="ctr-click-through-rate">
186
186
<h3>CTR: Click-through Rate<aclass="headerlink" href="#ctr-click-through-rate" title="Permalink to this headline">¶</a></h3>
187
-
<p>CTR measures the accuracy of the recommendations over the subset of user-item pairs that appear in both actual ratings and recommendations.</p>
187
+
<p>CTR offers three reward estimation methods.</p>
188
+
<p>Direct estimation (“matching”) measures the accuracy of the recommendations over the subset of user-item pairs that appear in both actual ratings and recommendations.</p>
188
189
<p>Let <spanclass="math notranslate nohighlight">\(M\)</span> denote the set of user-item pairs that appear in both actual ratings and recommendations, and <spanclass="math notranslate nohighlight">\(C(M_i)\)</span> be an indicator function that produces <spanclass="math notranslate nohighlight">\(1\)</span> if the user clicked on the item, and <spanclass="math notranslate nohighlight">\(0\)</span> if they didn’t.</p>
189
190
<divclass="math notranslate nohighlight">
190
191
\[CTR = \frac{1}{\left | M \right |}\sum_{i=1}^{\left | M \right |} C(M_i)\]</div>
192
+
<p>Inverse propensity scoring (IPS) weights the items by how likely they were to be recommended by the historic policy
193
+
if the user saw the item in the historic data. Due to the probability inversion, less likely items are given more weight.</p>
<p>In this calculation: n is the total size of the test data; <spanclass="math notranslate nohighlight">\(r_a\)</span> is the observed reward;
197
+
<spanclass="math notranslate nohighlight">\(\hat{a}\)</span> is the recommended item; <spanclass="math notranslate nohighlight">\(I(\hat{a} = a}\)</span> is a boolean of whether the user-item pair has
198
+
historic data; and <spanclass="math notranslate nohighlight">\(P(a|x,h)\)</span> is the probability of the item being recommended for the test context given
199
+
the historic data.</p>
200
+
<p>Doubly robust estimation (DR) combines the directly predicted values with a correction based on how
201
+
likely an item was to be recommended by the historic policy if the user saw the item in the historic data.</p>
0 commit comments