Slide 17
Slide 17 text
Uso
Run Rating Prediction Algorithm (E.g: ItemKNN)
>> from caserec.recommenders.rating-prediction.itemknn import ItemKNN
>> ItemKNN(train-file, test-file).execute()
Evaluate Ranking (Prec@N, Recall@N, NDCG@, Map@N and Map Total)
>> from caserec.evaluation.item-recommendation import ItemRecommendationEvaluation
>> ItemRecommendationEvaluation().simple-evaluation(ranking_ file, test_ file)
Evaluate Ranking (MAE and RMSE)
>> from caserec.evaluation.rating-prediction import RatingPredictionEvaluation
>> RatingPredictionEvaluation().simple_ evaluation(predictions-file, test-file)