five-fold cross-validation with splitted dataset movielens 10m

102 views
Skip to first unread message

hancho80

unread,
Jul 27, 2016, 8:15:49 AM7/27/16
to MyMediaLite

Is it possible to do evaluation with mymedialite tool ‘’rating_prediction’’ using splitted dataset (movielens 10m) for five-fold cross-validation of rating predictions. Dataset is splitted in r1.test.... r5.test, r1.train.... r5.train. I have managed to execute evaluation with full dataset (ratings.dat) with command : „rating_prediction --recommender=BiasedMatrixFactorization --file-format=movielens_1m --training-file=ratings.dat --data-dir=ml-10m --cross-validation=5“, but have no idea how to provide it with splitted dataset.

Zeno Gantner

unread,
Jul 28, 2016, 5:49:10 AM7/28/16
to mymed...@googlegroups.com
Hi,

--cross-validation=5 will take 1 data set and do the splitting itself.

If you want to use a data set that is already split, just call rating_prediction 5 times with different --training-file and --test-file parameters.

I hope that helps.

Cheers,
   Z.

On Wed, Jul 27, 2016 at 2:15 PM, hancho80 <hanc...@gmail.com> wrote:

Is it possible to do evaluation with mymedialite tool ‘’rating_prediction’’ using splitted dataset (movielens 10m) for five-fold cross-validation of rating predictions. Dataset is splitted in r1.test.... r5.test, r1.train.... r5.train. I have managed to execute evaluation with full dataset (ratings.dat) with command : „rating_prediction --recommender=BiasedMatrixFactorization --file-format=movielens_1m --training-file=ratings.dat --data-dir=ml-10m --cross-validation=5“, but have no idea how to provide it with splitted dataset.

--
You received this message because you are subscribed to the Google Groups "MyMediaLite" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mymedialite...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

hancho80 .

unread,
Jul 28, 2016, 7:00:11 AM7/28/16
to mymed...@googlegroups.com
Hi,

Thank you very much
for the information, that will helps.

Cheers,

Asmir

--
You received this message because you are subscribed to a topic in the Google Groups "MyMediaLite" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/mymedialite/O6JbBS0mv6k/unsubscribe.
To unsubscribe from this group and all its topics, send an email to mymedialite...@googlegroups.com.

computer.s...@gmail.com

unread,
Jan 5, 2019, 4:08:57 PM1/5/19
to MyMediaLite
hi.
Im working on movielens dataset (10M) for my thesis but I cant understand how I can make training and testing. please help me and describe for me step by step.
thanks. 

Zeno Gantner

unread,
Jan 7, 2019, 12:22:55 PM1/7/19
to mymed...@googlegroups.com
Hello,

I am not sure what you do not understand.

Please have a look at the documentation
http://mymedialite.net/documentation/index.html and try some things.
If you then have a concrete question, feel free to ask.

Cheers,
Z.
Reply all
Reply to author
Forward
0 new messages