Closed sososa1213 closed 6 years ago
Hi, Sorry, I did not get your point. Basically, the raw data is stored in the 'dataModel' object. We transform the raw data into the sparse matrix and store it in the 'recommender' object. There are trainMatrix and testMatrix in the 'recommender' object, which all are sparse matrices.
Thanks for your comment, I get confused do you mean I have to do this:
We transform the raw data into the sparse matrix and store it in the 'recommender' object.
or librec did it already?
Can you pleas check issue #266
Hi, You do not need to do that. It has been done default by LibRec.
On 17 July 2018 at 03:58, sososa1213 notifications@github.com wrote:
Thanks for your comment, I get confused do you mean I have to do this:
We transform the raw data into the sparse matrix and store it in the 'recommender' object.
or librec did it already?
Can you pleas check issue #266 https://github.com/guoguibing/librec/issues/266
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/guoguibing/librec/issues/263#issuecomment-405494496, or mute the thread https://github.com/notifications/unsubscribe-auth/AEN9vss7s9Yw0JDLnMNo1QJrGp5UUqLMks5uHZkQgaJpZM4VO9kT .
Is that mean if I use the way I poste it in issue #266, that means I used sparse matrix?
Sorry but I wnat to make sure before finalizing my code, becasue I need to improve my code by using sparse matrix.
Thanks again @allenjack
Yes, you are right. You are using the sparse matrix.
On 17 July 2018 at 10:44, sososa1213 notifications@github.com wrote:
Is that mean if I use the way I poste it in issue #266 https://github.com/guoguibing/librec/issues/266, that means I used sparse matrix?
Sorry but I wnat to make sure before finalizing my code, becasue I need to improve my code by using sparse matrix.
Thanks again @allenjack https://github.com/allenjack
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/guoguibing/librec/issues/263#issuecomment-405607756, or mute the thread https://github.com/notifications/unsubscribe-auth/AEN9vmFBcprwR4jyz69-1O02ZHUVhnyfks5uHfhVgaJpZM4VO9kT .
Thank you I really appreciat your help
Here the code I use it and it works fine. However, I need to use sparse matrix for the dataset ml-100k->ratings.txt and store the result in new file. Really I get stuck in this point and I did not find any example for how use sparse matrix with new version of librec.
I really highly appreciate any help. Thank.