Hello fellows and folks.
I have been looking to do this for 1 month and still cannot find the way to do it.
Here’s what’s going on:
I have a csv file called ratings.csv with the following structure:
userID, movieID, rating 3, 12, 5 2, 7, 4
The rating scale goes from 0 to 5 stars. I want to be able to plot the sparsity of the matrix like it’s done in the following picture:
As you can see, ratings scale goes from 0 to 5 on the right. It is a very well thought plot.
I have Matlab, Python, R etc. Could you come up with something and help me? I’ve tried hard but I cannot find the way to do it.