Predicting User Ratings with Weighted Averages and Pearson Similarity in JavaScript | CodeSignal Learn