For example if we have to see below matrix :
Part final is 2 X 3 matrix, which is the dot product of two Matrix Part-A Part-B.
Now let’s say we have 200 Movies and 100 User, what would be the size of User-Item matrix? See below the size would be 20K rows and column.
Imagine the scale for big organization to store such info which is not just in couple of hundreds, This presents a big data storage cost and performance bottleneck, as size keep increasing. Check below how a single increase in User or Movie has impacted the size of matrix.
Increase in User By 1:
|User||Movie||User -Item Matrix|
Increase in Movie By 1:
|User||Movie||User -Item Matrix Size|
But in contrast if we can identify some attributes and the relation of the those attributes with Movie and Users
Now let’s see how we can bring factors in it. Lets say there are some attributes about Movie, then we can reduce the size of matrix to some extent. Let’s say in the above case we have 10 different attribute we want to group of movies and user’s liking. So we will create a matrix of 100 users with 10 features, we call it User Features Matrix. Similarly we will create Movie Feature Matrix as shown below :
- MATRIX A: User Feature matrix with 10 Features
- MATRIX B: Movie Feature Matrix with 10 Features
- Total Size (A + B): Total size of the Matrix created in system
|User||Features||MATRIX A||Movie||Features||MATRIX B||Total|
Let take an example of Movie M1 to M5 on few feature of Comedy and Horror, and give the feature score to these movie depending on the ratings given to these movies or any other criteria which is the heart of this problem, and very iterative process.
Final Result :
Let check the result with actual result :
Then we check the Error : (3-1.8) ^2 + (2-1.3)^2 + (3-2.3)^2…… Get the derivative of Error. To adjust the User and Movie Feature matrix.
At the end this information can give some interesting result which can be used to predict the empty boxses of the matrix by the dot product of the these two marix and we don’t need build the big user-item matrix.