Skip to content

Instantly share code, notes, and snippets.

@sanealytics
Created June 12, 2012 16:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sanealytics/2918482 to your computer and use it in GitHub Desktop.
Save sanealytics/2918482 to your computer and use it in GitHub Desktop.
Recommenderlab walkthrough 1-2
# Visualizing ratings
qplot(getRatings(MovieLense), binwidth = 1,
main = "Histogram of ratings", xlab = "Rating")
summary(getRatings(MovieLense)) # Skewed to the right
# Min. 1st Qu. Median Mean 3rd Qu. Max.
# 1.00 3.00 4.00 3.53 4.00 5.00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment