-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpreliminary_result.txt
More file actions
163 lines (141 loc) · 5.07 KB
/
Copy pathpreliminary_result.txt
File metadata and controls
163 lines (141 loc) · 5.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
Example Results to Keep a Track of Progress
Popularity model, small
+-------+------------------+----------+
|movieId| average_rating|num_review|
+-------+------------------+----------+
| 171011| 4.493577981651376| 545|
| 159817| 4.462920046349942| 863|
| 318| 4.430707991276441| 56399|
| 170705| 4.395595432300163| 613|
| 172591| 4.355263157894737| 266|
| 174053| 4.338255977496484| 711|
| 858| 4.328154705323194| 33664|
| 171495| 4.322916666666667| 96|
| 50|4.2959196912198765| 30831|
| 176601| 4.294117647058823| 119|
| 185135| 4.288461538461538| 130|
| 527|4.2734112316680575| 41935|
| 1221|4.2690012912418185| 22459|
| 141818| 4.26056338028169| 71|
| 179135| 4.26046511627907| 215|
| 2019|4.2529615556548945| 8948|
| 1203| 4.232432699920824| 10104|
| 163809|4.2309322033898304| 236|
| 2959|4.2300200624730175| 39377|
| 904| 4.228491297533614| 12123|
+-------+------------------+----------+
only showing top 20 rows
Popularity model, large
+-------+------------------+----------+
|movieId| average_rating|num_review|
+-------+------------------+----------+
| 171011|4.4865181711606095| 853|
| 159817| 4.458092485549133| 1384|
| 318| 4.424188001918387| 97999|
| 170705| 4.399898373983739| 984|
| 191999| 4.375| 48|
| 174053| 4.350558659217877| 1074|
| 171495| 4.343949044585988| 157|
| 172591| 4.339667458432304| 421|
| 858| 4.332892749244713| 60904|
| 50| 4.291958829205532| 62180|
| 176601| 4.263888888888889| 180|
| 1221|4.2630353697749195| 38875|
| 172577| 4.261904761904762| 126|
| 527| 4.257501817775044| 71516|
| 2019|4.2541157909178215| 14578|
| 163809| 4.244031830238727| 377|
| 182723| 4.243243243243243| 37|
| 185135| 4.23943661971831| 213|
| 1203| 4.237075455914338| 17931|
| 179135| 4.236389684813753| 349|
+-------+------------------+----------+
only showing top 20 rows
Popularity Model Accuracy for Small Dataset
Precision at (query =) 1 0.1934426229508197
Precision at 5 0.26754098360655754
Precision at 10 0.24688524590163938
Precision at 100 0.07308196721311473
Mean Average Precision:
0.02870624606484546
ndcgAt at 1: 0.1934426229508197
ndcgAt at 5: 0.2574756780563214
ndcgAt at 10: 0.24670308232156846
ndcgAt at 100: 0.10139557862279076
Popularity Model Accuracy for Large Dataset
Precision at 1 0.09025496974935161
Precision at 5 0.09518150388936904
Precision at 10 0.08603932584269675
Precision at 100 0.020472342264477177
Mean Average Precision:
0.005962265319585138
ndcgAt at 1: 0.09025496974935163
ndcgAt at 5: 0.09445827299088236
ndcgAt at 10: 0.0884879452824084
ndcgAt at 100: 0.031302748196907954
______________________________________________________
ALS Model: Top ten movie recommendations for each user.
+------+--------------------+
|userId| recommendations|
+------+--------------------+
| 2|[[72178, 4.647300...|
| 4|[[2571, 4.867899]...|
| 5|[[171495, 5.08950...|
| 7|[[72178, 4.647557...|
| 10|[[95604, 5.146398...|
| 11|[[27423, 4.735952...|
| 14|[[140265, 4.59424...|
| 15|[[142452, 5.11897...|
| 19|[[72178, 5.283205...|
| 20|[[8336, 3.0165293...|
| 21|[[100509, 4.69456...|
| 22|[[162596, 5.30865...|
| 23|[[120815, 5.04861...|
| 25|[[26073, 5.701887...|
| 29|[[93006, 5.290204...|
| 30|[[6072, 4.9549565...|
| 31|[[132555, 4.97087...|
| 32|[[86574, 5.231182...|
| 39|[[72178, 4.518383...|
| 40|[[26914, 5.616892...|
+------+--------------------+
only showing top 20 rows
ALS Accuracy for Small Dataset
Precision at 1: 0.042622950819672135
Precision at 5: 0.05639344262295083
Precision at 10: 0.05639344262295082
Precision at 100: 0.02285245901639344
Mean Average Precision:
0.004378807425250952
ndcgAt at 1: 0.04262295081967214
ndcgAt at 5: 0.05591108221979435
ndcgAt at 10: 0.056226336183088595
ndcgAt at 100: 0.028981982326224984
ALS Accuracy for Large Dataset
Metrics
Precision at 1: 0.05139971472618033
Precision at 5: 0.04650395493249958
Precision at 10: 0.03897085308398286
Precision at 100: 0.008996715028743498
Mean Average Precision:
0.0023623162200509425
ndcgAt at 1: 0.05139971472618034
ndcgAt at 5: 0.047698409668905095
ndcgAt at 10: 0.04211414363364109
ndcgAt at 100: 0.014257252120749525
______________________________________________________________
Extension 1
Single Machine Running time for small data: 8.8735 seconds.
Single Machine Running time for large data: 527.0124 seconds
Accuracy of LensKit ALS for each user
+------+-------------+
| User | precision |
+------+-------------+
| 1 | 0.07 |
| 2 | 0.01 |
| 3 | 0.00 |
| 4 | 0.06 |
| 5 | 0.01 |
+------+-------------+
only showing top 5 rows
Extension 2 Results are in the paper