Skip to content

Instantly share code, notes, and snippets.

@sanealytics
Created June 12, 2012 16:23
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/2918501 to your computer and use it in GitHub Desktop.
Save sanealytics/2918501 to your computer and use it in GitHub Desktop.
Recommenderlab walkthrough 1-5
# What is the mean rating of each movie
qplot(colMeans(MovieLense), binwidth = .1,
main = "Mean rating of Movies",
xlab = "Rating",
ylab = "# of movies")
# The big spike on 1 suggests that this could also be intepreted as binary
# In other words, some people don't want to see certain movies at all.
# Same on 5 and on 3.
# We will give it the binary treatment later
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment