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?


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/ I guess the file is not found in the location the systems expects it to be.


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 wget

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

Yes GrapChi. Thanks!

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


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

It is a part of the README! Here:

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

My bad. Thanks.