calc metrics for recommendor