NicolasHug / Surprise

A Python scikit for building and analyzing recommender systems
http://surpriselib.com
BSD 3-Clause "New" or "Revised" License
6.37k stars 1.01k forks source link

Update predict_ratings.py #467

Open moomoofarm1 opened 1 year ago

moomoofarm1 commented 1 year ago

Replace the str() with .to_raw_uids() and .to_raw_iids(). The str() in the example code of predict() will cause the same estimate for different ids.