Open keryums opened 4 years ago
Hi,
I have a question about the precision@k and recall@k evaluation functions. I can see from the source code that precision is calculated as:
precision = np.squeeze(np.array(ranks.sum(axis=1))) / k
Wouldn't this calculation underestimate performance if I have a users who have voted/rated <k items?
@keryums I have the same problem too, most of my users only transact once. How is your current solution?
Hi,
I have a question about the precision@k and recall@k evaluation functions. I can see from the source code that precision is calculated as:
precision = np.squeeze(np.array(ranks.sum(axis=1))) / k
Wouldn't this calculation underestimate performance if I have a users who have voted/rated <k items?