Closed runner72 closed 9 years ago
What's the format of your movielens 1M data set?
the format is like this: 1 1193 5 1 661 3 1 914 3 1 3408 4 1 2355 5 1 1197 3 1 1287 5 1 2804 5 1 594 4 1 919 4 1 595 5 1 938 4 1 2398 4 1 2918 4 1 1035 5 1 2791 4
The format seems fine. I guess there are some invalid (and invisible) symbols in your data file. Try to debug it step by step!
Thank you, although I don't know the exactly reason. But I copy the blank separator to replace the blank separator of my file, it runs successfully.
Hi, why the movielens 1M is failed to train? Hope for your answer. The error is:
E:\rec_alg\librec-v1.1> java -jar librec.jar [INFO ] Training: ratings.dat, kFold: 5 [Parallel] Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 at librec.data.DataDAO.readData(DataDAO.java:161) at librec.data.DataDAO.readData(DataDAO.java:134) at librec.data.DataDAO.readData(DataDAO.java:126) at librec.main.LibRec.main(LibRec.java:102)