Skip to content

Instantly share code, notes, and snippets.

@sanealytics
Created June 12, 2012 16:20
Show Gist options
  • Save sanealytics/2918488 to your computer and use it in GitHub Desktop.
Save sanealytics/2918488 to your computer and use it in GitHub Desktop.
Recommenderlab walkthrough 1-3
# How about after normalization?
qplot(getRatings(normalize(MovieLense, method = "Z-score")),
main = "Histogram of normalized ratings", xlab = "Rating")
summary(getRatings(normalize(MovieLense, method = "Z-score"))) # seems better
# Min. 1st Qu. Median Mean 3rd Qu. Max.
# -4.8520 -0.6466 0.1084 0.0000 0.7506 4.1280
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment