Hi,
I'm using a mac, and have installed mono (it works fine for the "Hello world" demo).
I downloaded MyMediaLite 3.1.1 and changed to the lib/ directory.
From there I use:
mono rating_prediction.exe --training-file="../../data/demo.txt" --test-file="../../data/demo.txt" --recommender=UserAverage
Any ideas why I receive this error?
'
'
*****************************************************************************************************
*** An uncaught exception occured. Please send a bug report to zeno.gantner+mymedialite@gmail.com,***
*** or report the problem in our issue tracker: https://github.com/zenogantner/MyMediaLite/issues ***
*** MyMediaLite 3.11 ***
*****************************************************************************************************
Could not read file ../../data/demo.txt: Input string was not in a correct format. at MyMediaLite.Wrap.FormatException[T] (System.String filename, System.Func`1[TResult] t) [0x0001e] in <9e6d347c9f2242fba41a808a2cba83a9>:0
at MyMediaLite.IO.StaticRatingData.Read (System.String filename, MyMediaLite.Data.IMapping user_mapping, MyMediaLite.Data.IMapping item_mapping, MyMediaLite.Data.RatingType rating_type, MyMediaLite.IO.TestRatingFileFormat test_rating_format, System.Boolean ignore_first_line) [0x000cf] in <9e6d347c9f2242fba41a808a2cba83a9>:0
at RatingPrediction+<LoadData>c__AnonStorey3.<>m__0 () [0x00089] in <dda806d2578d412994adf4eccff43ae0>:0
at MyMediaLite.Wrap.MeasureTime (System.Action t) [0x00006] in <9e6d347c9f2242fba41a808a2cba83a9>:0
at RatingPrediction.LoadData () [0x0001c] in <dda806d2578d412994adf4eccff43ae0>:0
at CommandLineProgram`1[T].Run (System.String[] args) [0x0040f] in <88240ca120784152adca4371259cd498>:0
at RatingPrediction.Run (System.String[] args) [0x00022] in <dda806d2578d412994adf4eccff43ae0>:0
at RatingPrediction.Main (System.String[] args) [0x00006] in <dda806d2578d412994adf4eccff43ae0>:0
Terminate on unhandled exception.
zsh: command not found: \n\n
Here's the input file:
cat ../../data/demo.txt
1 1 5
1 2 3
1 3 4
1 4 3
1 5 3
1 7 4
I tried absolute file paths. Same error.
Thanks