Failed to open input file: smallnetflix_mm

User 199 | 4/4/2014, 12:50:51 PM

Hi all, a newbie question - forgive me :) I used

toolkits/collaborativefiltering/svd --training=smallnetflixmm --nsv=3 --nv=10 --max_iter=5 --quiet=1 --tol=1e-1

And I received

[training] => [smallnetflixmm] [nsv] => [3] [nv] => [10] [max_iter] => [5] [quiet] => [1] [tol] => [1e-1] Load matrix smallnetflixmm FATAL: io.hpp(detectmatrixsize:88): Failed to open input file: smallnetflix_mm terminate called after throwing an instance of 'char const*' Aborted (core dumped)

Any idea why?

Comments

User 6 | 4/4/2014, 12:52:34 PM

Can you tell us where did you put the training file? It is better to have a full path like --training=/path/to/your/file.name I guess the file is not found in the location the systems expects it to be.

Thanks


User 199 | 4/4/2014, 12:57:50 PM

Actually that's my other question - where do I get this training file? There were some references to Stanford Snap datafiles, but I could not see this file there.


User 199 | 4/4/2014, 12:58:15 PM

As far as I can tell, this file is not in the source tree.


User 6 | 4/4/2014, 1:02:27 PM

I guess you are using GraphChi? You can get the file using the bash command wget http://www.select.cs.cmu.edu/code/graphlab/datasets/smallnetflixmm wget http://www.select.cs.cmu.edu/code/graphlab/datasets/smallnetflixmme


User 199 | 4/4/2014, 1:05:58 PM

Yes GrapChi. Thanks!

It'd be helpful if this was part of the README!

Regards,


User 6 | 4/4/2014, 1:37:54 PM

It is a part of the README! Here: http://bickson.blogspot.co.il/2012/12/collaborative-filtering-with-graphchi.html


User 199 | 4/4/2014, 2:43:40 PM

My bad. Thanks.