In [10]:
from IPython.display import Math
Due to the unsucesful results when testing the recommender systems on the FourCity TripAdvisor dataset, it was decided to test the recommender systems on a single-criterion dataset which was known in the literature so we could compare the results of our recommender against other proposals that use the same data.
Before showing the results of the executions of the recommender systems, we are going a quick comparison of the two datasets
This recommender just predicts the closest integer to the average of the ratings of all samples (that is, the union of the train and test data).
The performance of this recommender is
This recommeder predicts the average of the ratings of the training data.
The average performance of this recommender is
This recommender uses the following formula to calculate the ratings:
In [11]:
Math(r'R(u,i) = z \sum_{u` \in N(u)} sim(u,u`) \cdot R(u` ,i)')
Out[11]:
In [12]:
Math(r'z = \frac{1}{\sum_{u` \in N(u)} sim(u,u`)}')
Out[12]:
The average performance of this recommender is
This recommender uses the following formula to calculate the ratings:
In [13]:
Math(r'R(u,i) = \overline{R(u)} + z \sum_{u` \in N(u)} sim(u,u`) \cdot (R(u` ,i) - \overline{R(u`))}')
Out[13]:
The average performance of this recommender is