statisticianinstilettos / recmetrics

A library of metrics for evaluating recommender systems
MIT License
568 stars 98 forks source link

The personalization function will now work on large arrays #63

Open Alex-Bujorianu opened 1 year ago

Alex-Bujorianu commented 1 year ago

This PR aims to fix issue #37 by splitting up a large predictions array into smaller ones, calculating the personalization score for each sample, and then returning the median or the mean of those scores. The default parameter n_too_large is set to 1000; smaller arrays will be treated normally. Let me know what you think @statisticianinstilettos

Alex-Bujorianu commented 1 year ago

The test seems to be failing because of poetry?