Zadanie 3

This commit is contained in:
unknown 2021-06-12 10:56:22 +02:00
parent 60194de853
commit 587f3d3661

View File

@ -397,7 +397,7 @@
},
{
"cell_type": "code",
"execution_count": 8,
"execution_count": 7,
"metadata": {},
"outputs": [],
"source": [
@ -453,7 +453,7 @@
},
{
"cell_type": "code",
"execution_count": 9,
"execution_count": 8,
"metadata": {},
"outputs": [
{
@ -500,7 +500,7 @@
"0 1.0 0.033911 2.836513 0.991139"
]
},
"execution_count": 9,
"execution_count": 8,
"metadata": {},
"output_type": "execute_result"
}
@ -521,14 +521,14 @@
},
{
"cell_type": "code",
"execution_count": 10,
"execution_count": 9,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"943it [00:00, 11012.47it/s]\n"
"943it [00:00, 12952.59it/s]\n"
]
},
{
@ -565,6 +565,8 @@
" <th>MRR</th>\n",
" <th>LAUC</th>\n",
" <th>HR</th>\n",
" <th>HitRate2</th>\n",
" <th>HitRate3</th>\n",
" <th>Reco in test</th>\n",
" <th>Test coverage</th>\n",
" <th>Shannon</th>\n",
@ -587,6 +589,8 @@
" <td>0.198193</td>\n",
" <td>0.515501</td>\n",
" <td>0.437964</td>\n",
" <td>0.239661</td>\n",
" <td>0.126193</td>\n",
" <td>1.0</td>\n",
" <td>0.033911</td>\n",
" <td>2.836513</td>\n",
@ -603,11 +607,14 @@
" precision_super recall_super NDCG mAP MRR LAUC \\\n",
"0 0.079614 0.056463 0.095957 0.043178 0.198193 0.515501 \n",
"\n",
" HR Reco in test Test coverage Shannon Gini \n",
"0 0.437964 1.0 0.033911 2.836513 0.991139 "
" HR HitRate2 HitRate3 Reco in test Test coverage Shannon \\\n",
"0 0.437964 0.239661 0.126193 1.0 0.033911 2.836513 \n",
"\n",
" Gini \n",
"0 0.991139 "
]
},
"execution_count": 10,
"execution_count": 9,
"metadata": {},
"output_type": "execute_result"
}
@ -633,18 +640,19 @@
},
{
"cell_type": "code",
"execution_count": 11,
"execution_count": 10,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"943it [00:00, 10346.82it/s]\n",
"943it [00:00, 11772.32it/s]\n",
"943it [00:00, 10636.62it/s]\n",
"943it [00:00, 10767.92it/s]\n",
"943it [00:00, 12019.93it/s]\n"
"943it [00:00, 13130.52it/s]\n",
"943it [00:00, 12777.31it/s]\n",
"943it [00:00, 13513.65it/s]\n",
"943it [00:00, 13323.06it/s]\n",
"943it [00:00, 13507.69it/s]\n",
"943it [00:00, 13697.48it/s]\n"
]
}
],
@ -659,7 +667,7 @@
},
{
"cell_type": "code",
"execution_count": 12,
"execution_count": 11,
"metadata": {},
"outputs": [
{
@ -722,14 +730,14 @@
" <tr>\n",
" <th>0</th>\n",
" <td>Ready_Random</td>\n",
" <td>1.521845</td>\n",
" <td>1.225949</td>\n",
" <td>0.047190</td>\n",
" <td>0.020753</td>\n",
" <td>0.024810</td>\n",
" <td>0.032269</td>\n",
" <td>0.029506</td>\n",
" <td>0.023707</td>\n",
" <td>1.516512</td>\n",
" <td>1.217214</td>\n",
" <td>0.045599</td>\n",
" <td>0.021001</td>\n",
" <td>0.024136</td>\n",
" <td>0.031226</td>\n",
" <td>0.028541</td>\n",
" <td>0.022057</td>\n",
" </tr>\n",
" <tr>\n",
" <th>0</th>\n",
@ -755,6 +763,18 @@
" <td>0.000644</td>\n",
" <td>0.000189</td>\n",
" </tr>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>Self_IKNN</td>\n",
" <td>1.018363</td>\n",
" <td>0.808793</td>\n",
" <td>0.000318</td>\n",
" <td>0.000108</td>\n",
" <td>0.000140</td>\n",
" <td>0.000189</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
@ -763,19 +783,21 @@
" Model RMSE MAE precision recall F_1 \\\n",
"0 Self_TopPop 2.508258 2.217909 0.188865 0.116919 0.118732 \n",
"0 Ready_Baseline 0.949459 0.752487 0.091410 0.037652 0.046030 \n",
"0 Ready_Random 1.521845 1.225949 0.047190 0.020753 0.024810 \n",
"0 Ready_Random 1.516512 1.217214 0.045599 0.021001 0.024136 \n",
"0 Self_TopRated 1.030712 0.820904 0.000954 0.000188 0.000298 \n",
"0 Self_BaselineUI 0.967585 0.762740 0.000954 0.000170 0.000278 \n",
"0 Self_IKNN 1.018363 0.808793 0.000318 0.000108 0.000140 \n",
"\n",
" F_05 precision_super recall_super \n",
"0 0.141584 0.130472 0.137473 \n",
"0 0.061286 0.079614 0.056463 \n",
"0 0.032269 0.029506 0.023707 \n",
"0 0.031226 0.028541 0.022057 \n",
"0 0.000481 0.000644 0.000223 \n",
"0 0.000463 0.000644 0.000189 "
"0 0.000463 0.000644 0.000189 \n",
"0 0.000189 0.000000 0.000000 "
]
},
"execution_count": 12,
"execution_count": 11,
"metadata": {},
"output_type": "execute_result"
}
@ -786,7 +808,7 @@
},
{
"cell_type": "code",
"execution_count": 13,
"execution_count": 12,
"metadata": {},
"outputs": [
{
@ -816,6 +838,8 @@
" <th>MRR</th>\n",
" <th>LAUC</th>\n",
" <th>HR</th>\n",
" <th>HitRate2</th>\n",
" <th>HitRate3</th>\n",
" <th>Reco in test</th>\n",
" <th>Test coverage</th>\n",
" <th>Shannon</th>\n",
@ -831,6 +855,8 @@
" <td>0.400939</td>\n",
" <td>0.555546</td>\n",
" <td>0.765642</td>\n",
" <td>0.492047</td>\n",
" <td>0.290562</td>\n",
" <td>1.000000</td>\n",
" <td>0.038961</td>\n",
" <td>3.159079</td>\n",
@ -844,6 +870,8 @@
" <td>0.198193</td>\n",
" <td>0.515501</td>\n",
" <td>0.437964</td>\n",
" <td>0.239661</td>\n",
" <td>0.126193</td>\n",
" <td>1.000000</td>\n",
" <td>0.033911</td>\n",
" <td>2.836513</td>\n",
@ -852,15 +880,17 @@
" <tr>\n",
" <th>0</th>\n",
" <td>Ready_Random</td>\n",
" <td>0.050075</td>\n",
" <td>0.018728</td>\n",
" <td>0.121957</td>\n",
" <td>0.506893</td>\n",
" <td>0.329799</td>\n",
" <td>0.986532</td>\n",
" <td>0.184704</td>\n",
" <td>5.099706</td>\n",
" <td>0.907217</td>\n",
" <td>0.050154</td>\n",
" <td>0.019000</td>\n",
" <td>0.125089</td>\n",
" <td>0.507013</td>\n",
" <td>0.327678</td>\n",
" <td>0.093319</td>\n",
" <td>0.026511</td>\n",
" <td>0.988017</td>\n",
" <td>0.192641</td>\n",
" <td>5.141246</td>\n",
" <td>0.903763</td>\n",
" </tr>\n",
" <tr>\n",
" <th>0</th>\n",
@ -870,6 +900,8 @@
" <td>0.003348</td>\n",
" <td>0.496433</td>\n",
" <td>0.009544</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.699046</td>\n",
" <td>0.005051</td>\n",
" <td>1.945910</td>\n",
@ -883,11 +915,28 @@
" <td>0.001677</td>\n",
" <td>0.496424</td>\n",
" <td>0.009544</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.600530</td>\n",
" <td>0.005051</td>\n",
" <td>1.803126</td>\n",
" <td>0.996380</td>\n",
" </tr>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>Self_IKNN</td>\n",
" <td>0.000214</td>\n",
" <td>0.000037</td>\n",
" <td>0.000368</td>\n",
" <td>0.496391</td>\n",
" <td>0.003181</td>\n",
" <td>0.000000</td>\n",
" <td>0.000000</td>\n",
" <td>0.392153</td>\n",
" <td>0.115440</td>\n",
" <td>4.174741</td>\n",
" <td>0.965327</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
@ -896,19 +945,21 @@
" Model NDCG mAP MRR LAUC HR \\\n",
"0 Self_TopPop 0.214651 0.111707 0.400939 0.555546 0.765642 \n",
"0 Ready_Baseline 0.095957 0.043178 0.198193 0.515501 0.437964 \n",
"0 Ready_Random 0.050075 0.018728 0.121957 0.506893 0.329799 \n",
"0 Ready_Random 0.050154 0.019000 0.125089 0.507013 0.327678 \n",
"0 Self_TopRated 0.001043 0.000335 0.003348 0.496433 0.009544 \n",
"0 Self_BaselineUI 0.000752 0.000168 0.001677 0.496424 0.009544 \n",
"0 Self_IKNN 0.000214 0.000037 0.000368 0.496391 0.003181 \n",
"\n",
" Reco in test Test coverage Shannon Gini \n",
"0 1.000000 0.038961 3.159079 0.987317 \n",
"0 1.000000 0.033911 2.836513 0.991139 \n",
"0 0.986532 0.184704 5.099706 0.907217 \n",
"0 0.699046 0.005051 1.945910 0.995669 \n",
"0 0.600530 0.005051 1.803126 0.996380 "
" HitRate2 HitRate3 Reco in test Test coverage Shannon Gini \n",
"0 0.492047 0.290562 1.000000 0.038961 3.159079 0.987317 \n",
"0 0.239661 0.126193 1.000000 0.033911 2.836513 0.991139 \n",
"0 0.093319 0.026511 0.988017 0.192641 5.141246 0.903763 \n",
"0 0.000000 0.000000 0.699046 0.005051 1.945910 0.995669 \n",
"0 0.000000 0.000000 0.600530 0.005051 1.803126 0.996380 \n",
"0 0.000000 0.000000 0.392153 0.115440 4.174741 0.965327 "
]
},
"execution_count": 13,
"execution_count": 12,
"metadata": {},
"output_type": "execute_result"
}
@ -926,14 +977,15 @@
},
{
"cell_type": "code",
"execution_count": 14,
"execution_count": 13,
"metadata": {},
"outputs": [
{
"name": "stderr",
"output_type": "stream",
"text": [
"3it [00:00, 5771.98it/s]\n"
"3it [00:00, ?it/s]\n",
"3it [00:00, ?it/s]\n"
]
},
{
@ -971,6 +1023,8 @@
" <th>MRR</th>\n",
" <th>LAUC</th>\n",
" <th>HR</th>\n",
" <th>HitRate2</th>\n",
" <th>HitRate3</th>\n",
" <th>Reco in test</th>\n",
" <th>Test coverage</th>\n",
" <th>Shannon</th>\n",
@ -982,7 +1036,7 @@
" <th>0</th>\n",
" <td>Self_BaselineUI</td>\n",
" <td>1.612452</td>\n",
" <td>1.4</td>\n",
" <td>1.400</td>\n",
" <td>0.444444</td>\n",
" <td>0.888889</td>\n",
" <td>0.555556</td>\n",
@ -994,24 +1048,52 @@
" <td>0.611111</td>\n",
" <td>0.638889</td>\n",
" <td>1.0</td>\n",
" <td>0.333333</td>\n",
" <td>0.0</td>\n",
" <td>0.888889</td>\n",
" <td>0.8</td>\n",
" <td>1.386294</td>\n",
" <td>0.25</td>\n",
" <td>0.250000</td>\n",
" </tr>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>Self_BaselineIU</td>\n",
" <td>1.648337</td>\n",
" <td>1.575</td>\n",
" <td>0.444444</td>\n",
" <td>0.888889</td>\n",
" <td>0.555556</td>\n",
" <td>0.478632</td>\n",
" <td>0.333333</td>\n",
" <td>0.75</td>\n",
" <td>0.720550</td>\n",
" <td>0.629630</td>\n",
" <td>0.666667</td>\n",
" <td>0.722222</td>\n",
" <td>1.0</td>\n",
" <td>0.333333</td>\n",
" <td>0.0</td>\n",
" <td>0.777778</td>\n",
" <td>0.8</td>\n",
" <td>1.351784</td>\n",
" <td>0.357143</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" Model RMSE MAE precision recall F_1 F_05 \\\n",
"0 Self_BaselineUI 1.612452 1.4 0.444444 0.888889 0.555556 0.478632 \n",
" Model RMSE MAE precision recall F_1 F_05 \\\n",
"0 Self_BaselineUI 1.612452 1.400 0.444444 0.888889 0.555556 0.478632 \n",
"0 Self_BaselineIU 1.648337 1.575 0.444444 0.888889 0.555556 0.478632 \n",
"\n",
" precision_super recall_super NDCG mAP MRR LAUC HR \\\n",
"0 0.333333 0.75 0.676907 0.574074 0.611111 0.638889 1.0 \n",
"0 0.333333 0.75 0.720550 0.629630 0.666667 0.722222 1.0 \n",
"\n",
" Reco in test Test coverage Shannon Gini \n",
"0 0.888889 0.8 1.386294 0.25 "
" HitRate2 HitRate3 Reco in test Test coverage Shannon Gini \n",
"0 0.333333 0.0 0.888889 0.8 1.386294 0.250000 \n",
"0 0.333333 0.0 0.777778 0.8 1.351784 0.357143 "
]
},
"metadata": {},
@ -1029,7 +1111,7 @@
"text/plain": [
"matrix([[3, 4, 0, 0, 5, 0, 0, 4],\n",
" [0, 1, 2, 3, 0, 0, 0, 0],\n",
" [0, 0, 0, 5, 0, 3, 4, 0]])"
" [0, 0, 0, 5, 0, 3, 4, 0]], dtype=int64)"
]
},
"metadata": {},
@ -1047,7 +1129,7 @@
"text/plain": [
"matrix([[0, 0, 0, 0, 0, 0, 3, 0],\n",
" [0, 0, 0, 0, 5, 0, 0, 0],\n",
" [5, 0, 4, 0, 0, 0, 0, 2]])"
" [5, 0, 4, 0, 0, 0, 0, 2]], dtype=int64)"
]
},
"metadata": {},
@ -1276,7 +1358,7 @@
},
{
"cell_type": "code",
"execution_count": 15,
"execution_count": 14,
"metadata": {},
"outputs": [
{
@ -1315,148 +1397,148 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>57482</th>\n",
" <td>2</td>\n",
" <th>36652</th>\n",
" <td>735</td>\n",
" <td>5</td>\n",
" <td>Emma (1996)</td>\n",
" <td>Drama, Romance</td>\n",
" <td>Lone Star (1996)</td>\n",
" <td>Drama, Mystery</td>\n",
" </tr>\n",
" <tr>\n",
" <th>54506</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Sense and Sensibility (1995)</td>\n",
" <td>Drama, Romance</td>\n",
" </tr>\n",
" <tr>\n",
" <th>40581</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Titanic (1997)</td>\n",
" <td>Action, Drama, Romance</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2949</th>\n",
" <td>2</td>\n",
" <th>3143</th>\n",
" <td>735</td>\n",
" <td>5</td>\n",
" <td>Star Wars (1977)</td>\n",
" <td>Action, Adventure, Romance, Sci-Fi, War</td>\n",
" </tr>\n",
" <tr>\n",
" <th>69653</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Wings of the Dove, The (1997)</td>\n",
" <td>Drama, Romance, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7906</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>As Good As It Gets (1997)</td>\n",
" <td>Comedy, Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>69400</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Shall We Dance? (1996)</td>\n",
" <td>Comedy</td>\n",
" </tr>\n",
" <tr>\n",
" <th>14469</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Fargo (1996)</td>\n",
" <td>Crime, Drama, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>46151</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>L.A. Confidential (1997)</td>\n",
" <td>Crime, Film-Noir, Mystery, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>67293</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Good Will Hunting (1997)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20923</th>\n",
" <td>2</td>\n",
" <td>5</td>\n",
" <td>Secrets &amp; Lies (1996)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>52921</th>\n",
" <td>2</td>\n",
" <th>52919</th>\n",
" <td>735</td>\n",
" <td>5</td>\n",
" <td>Kolya (1996)</td>\n",
" <td>Comedy</td>\n",
" </tr>\n",
" <tr>\n",
" <th>50103</th>\n",
" <td>2</td>\n",
" <th>275</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Mrs. Brown (Her Majesty, Mrs. Brown) (1997)</td>\n",
" <td>Drama, Romance</td>\n",
" <td>Toy Story (1995)</td>\n",
" <td>Animation, Children's, Comedy</td>\n",
" </tr>\n",
" <tr>\n",
" <th>51972</th>\n",
" <td>2</td>\n",
" <th>41134</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Trainspotting (1996)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>28094</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Face/Off (1997)</td>\n",
" <td>Action, Sci-Fi, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26548</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Everyone Says I Love You (1996)</td>\n",
" <td>Comedy, Musical, Romance</td>\n",
" </tr>\n",
" <tr>\n",
" <th>26186</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Air Force One (1997)</td>\n",
" <td>Action, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>25791</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Dead Man Walking (1995)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>51948</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Mighty Aphrodite (1995)</td>\n",
" <td>Comedy</td>\n",
" </tr>\n",
" <tr>\n",
" <th>515</th>\n",
" <td>2</td>\n",
" <th>52778</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Heat (1995)</td>\n",
" <td>Action, Crime, Thriller</td>\n",
" <td>Fly Away Home (1996)</td>\n",
" <td>Adventure, Children's</td>\n",
" </tr>\n",
" <tr>\n",
" <th>20966</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Secrets &amp; Lies (1996)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>19301</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Scream (1996)</td>\n",
" <td>Horror, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>54450</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Sense and Sensibility (1995)</td>\n",
" <td>Drama, Romance</td>\n",
" </tr>\n",
" <tr>\n",
" <th>17177</th>\n",
" <td>735</td>\n",
" <td>4</td>\n",
" <td>Leaving Las Vegas (1995)</td>\n",
" <td>Drama, Romance</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" user rating title \\\n",
"57482 2 5 Emma (1996) \n",
"54506 2 5 Sense and Sensibility (1995) \n",
"40581 2 5 Titanic (1997) \n",
"2949 2 5 Star Wars (1977) \n",
"69653 2 5 Wings of the Dove, The (1997) \n",
"7906 2 5 As Good As It Gets (1997) \n",
"69400 2 5 Shall We Dance? (1996) \n",
"14469 2 5 Fargo (1996) \n",
"46151 2 5 L.A. Confidential (1997) \n",
"67293 2 5 Good Will Hunting (1997) \n",
"20923 2 5 Secrets & Lies (1996) \n",
"52921 2 5 Kolya (1996) \n",
"50103 2 4 Mrs. Brown (Her Majesty, Mrs. Brown) (1997) \n",
"51972 2 4 Mighty Aphrodite (1995) \n",
"515 2 4 Heat (1995) \n",
" user rating title \\\n",
"36652 735 5 Lone Star (1996) \n",
"3143 735 5 Star Wars (1977) \n",
"52919 735 5 Kolya (1996) \n",
"275 735 4 Toy Story (1995) \n",
"41134 735 4 Trainspotting (1996) \n",
"28094 735 4 Face/Off (1997) \n",
"26548 735 4 Everyone Says I Love You (1996) \n",
"26186 735 4 Air Force One (1997) \n",
"25791 735 4 Dead Man Walking (1995) \n",
"51948 735 4 Mighty Aphrodite (1995) \n",
"52778 735 4 Fly Away Home (1996) \n",
"20966 735 4 Secrets & Lies (1996) \n",
"19301 735 4 Scream (1996) \n",
"54450 735 4 Sense and Sensibility (1995) \n",
"17177 735 4 Leaving Las Vegas (1995) \n",
"\n",
" genres \n",
"57482 Drama, Romance \n",
"54506 Drama, Romance \n",
"40581 Action, Drama, Romance \n",
"2949 Action, Adventure, Romance, Sci-Fi, War \n",
"69653 Drama, Romance, Thriller \n",
"7906 Comedy, Drama \n",
"69400 Comedy \n",
"14469 Crime, Drama, Thriller \n",
"46151 Crime, Film-Noir, Mystery, Thriller \n",
"67293 Drama \n",
"20923 Drama \n",
"52921 Comedy \n",
"50103 Drama, Romance \n",
"51972 Comedy \n",
"515 Action, Crime, Thriller "
"36652 Drama, Mystery \n",
"3143 Action, Adventure, Romance, Sci-Fi, War \n",
"52919 Comedy \n",
"275 Animation, Children's, Comedy \n",
"41134 Drama \n",
"28094 Action, Sci-Fi, Thriller \n",
"26548 Comedy, Musical, Romance \n",
"26186 Action, Thriller \n",
"25791 Drama \n",
"51948 Comedy \n",
"52778 Adventure, Children's \n",
"20966 Drama \n",
"19301 Horror, Thriller \n",
"54450 Drama, Romance \n",
"17177 Drama, Romance "
]
},
"metadata": {},
@ -1498,71 +1580,71 @@
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>2.0</td>\n",
" <th>733</th>\n",
" <td>735.0</td>\n",
" <td>1</td>\n",
" <td>Great Day in Harlem, A (1994)</td>\n",
" <td>Documentary</td>\n",
" </tr>\n",
" <tr>\n",
" <th>943</th>\n",
" <td>2.0</td>\n",
" <th>1675</th>\n",
" <td>735.0</td>\n",
" <td>2</td>\n",
" <td>Tough and Deadly (1995)</td>\n",
" <td>Action, Drama, Thriller</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1885</th>\n",
" <td>2.0</td>\n",
" <th>2617</th>\n",
" <td>735.0</td>\n",
" <td>3</td>\n",
" <td>Aiqing wansui (1994)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2827</th>\n",
" <td>2.0</td>\n",
" <th>3559</th>\n",
" <td>735.0</td>\n",
" <td>4</td>\n",
" <td>Delta of Venus (1994)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3769</th>\n",
" <td>2.0</td>\n",
" <th>4501</th>\n",
" <td>735.0</td>\n",
" <td>5</td>\n",
" <td>Someone Else's America (1995)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4711</th>\n",
" <td>2.0</td>\n",
" <th>5443</th>\n",
" <td>735.0</td>\n",
" <td>6</td>\n",
" <td>Saint of Fort Washington, The (1993)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5653</th>\n",
" <td>2.0</td>\n",
" <th>6385</th>\n",
" <td>735.0</td>\n",
" <td>7</td>\n",
" <td>Celestial Clockwork (1994)</td>\n",
" <td>Comedy</td>\n",
" </tr>\n",
" <tr>\n",
" <th>6595</th>\n",
" <td>2.0</td>\n",
" <th>7326</th>\n",
" <td>735.0</td>\n",
" <td>8</td>\n",
" <td>Some Mother's Son (1996)</td>\n",
" <td>Drama</td>\n",
" </tr>\n",
" <tr>\n",
" <th>8489</th>\n",
" <td>2.0</td>\n",
" <th>9222</th>\n",
" <td>735.0</td>\n",
" <td>9</td>\n",
" <td>Maya Lin: A Strong Clear Vision (1994)</td>\n",
" <td>Documentary</td>\n",
" </tr>\n",
" <tr>\n",
" <th>7536</th>\n",
" <td>2.0</td>\n",
" <th>8268</th>\n",
" <td>735.0</td>\n",
" <td>10</td>\n",
" <td>Prefontaine (1997)</td>\n",
" <td>Drama</td>\n",
@ -1572,32 +1654,32 @@
"</div>"
],
"text/plain": [
" user rec_nb title \\\n",
"1 2.0 1 Great Day in Harlem, A (1994) \n",
"943 2.0 2 Tough and Deadly (1995) \n",
"1885 2.0 3 Aiqing wansui (1994) \n",
"2827 2.0 4 Delta of Venus (1994) \n",
"3769 2.0 5 Someone Else's America (1995) \n",
"4711 2.0 6 Saint of Fort Washington, The (1993) \n",
"5653 2.0 7 Celestial Clockwork (1994) \n",
"6595 2.0 8 Some Mother's Son (1996) \n",
"8489 2.0 9 Maya Lin: A Strong Clear Vision (1994) \n",
"7536 2.0 10 Prefontaine (1997) \n",
" user rec_nb title \\\n",
"733 735.0 1 Great Day in Harlem, A (1994) \n",
"1675 735.0 2 Tough and Deadly (1995) \n",
"2617 735.0 3 Aiqing wansui (1994) \n",
"3559 735.0 4 Delta of Venus (1994) \n",
"4501 735.0 5 Someone Else's America (1995) \n",
"5443 735.0 6 Saint of Fort Washington, The (1993) \n",
"6385 735.0 7 Celestial Clockwork (1994) \n",
"7326 735.0 8 Some Mother's Son (1996) \n",
"9222 735.0 9 Maya Lin: A Strong Clear Vision (1994) \n",
"8268 735.0 10 Prefontaine (1997) \n",
"\n",
" genres \n",
"1 Documentary \n",
"943 Action, Drama, Thriller \n",
"1885 Drama \n",
"2827 Drama \n",
"3769 Drama \n",
"4711 Drama \n",
"5653 Comedy \n",
"6595 Drama \n",
"8489 Documentary \n",
"7536 Drama "
"733 Documentary \n",
"1675 Action, Drama, Thriller \n",
"2617 Drama \n",
"3559 Drama \n",
"4501 Drama \n",
"5443 Drama \n",
"6385 Comedy \n",
"7326 Drama \n",
"9222 Documentary \n",
"8268 Drama "
]
},
"execution_count": 15,
"execution_count": 14,
"metadata": {},
"output_type": "execute_result"
}