zenogantner / MyMediaLite

recommender system library for the CLR (.NET)
http://mymedialite.net
502 stars 192 forks source link

item_recommendation: NPE on --training-file and --prediction-file w/o --test-file or --test-ratio #352

Closed zenogantner closed 11 years ago

zenogantner commented 11 years ago

Reason: default item candidate strategy is Overlap.

How to fix: set default item strategy to Training in this case.

If item strategy is set explicitly, complain to the user.

zenogantner commented 11 years ago

Also fix this: "--in-training-items only makes sense with either --test-file=FILE, --test-ratio=NUM, or cross-validation=K." Not true. Would also make sense in the scenario described in this issue.

zenogantner commented 11 years ago

Works now.