Closed franciscrimmins closed 9 years ago
Thank you, @franciscrimmins, for the patch. I will try it on my machine in the next few days and see if the error is reproduced. In that case, I will merge your commits.
The error also happens in my machine, so I will merge your commits and check again.
Checked, everything works. Thank you, @franciscrimmins!
The code in the
net.recommenders.rival.examples.movielens100k
examples downloads theml-100k.zip
file into thedata/ml-100k
directory, and then unzips it, resulting in the data being indata/ml-100k/ml-100k
.However, in the call to the
prepareSplits()
method the path to the input file is specified asdata/ml-100k/u.data
, which results in a NullPointerException when it tries to read from this non-existent file.This minimal change is to specify the correct path to the input file in these source files.
I was running this on OS X, so I don't know whether the behavior of the unzipping code is perhaps different on that platform vs. others.