0

How can I configure the crossfold task to generate test sets only with relevant items. That is, with rating values higher than the average rating of the user and do not consider the popular items?

Is it posible with lenskit-3.0?

Ironcache
  • 1,719
  • 21
  • 33

1 Answers1

0

It is not directly possible - the crossfolder does not take into account rating values.

A patch that added such capabilities would be welcome; you can also directly emit train/test sets yourself in Python or R.

Michael Ekstrand
  • 28,379
  • 9
  • 61
  • 93
  • Hi Micheal!, thanks for your reply. Finally, I did with python. That is, I created the train/test sets with a python script’s and then changing the dataSet variable in the evaluate task. But I am intrestly in add the patch that you say. Maybe one possibility is add this capabilities into de method “holdout”, that is, send some variable to decide if the protocol to create train/test sets should consider the rating values. But I don’t know how to can begin add this code. Could you send me some information? – Carlos Rios Jun 08 '18 at 17:18
  • @CarlosRios Good to hear! Why don't you send me an e-mail, either personally or on the LensKit mailing list? I think that's a better forum for discussing development than StackOverflow. – Michael Ekstrand Jun 08 '18 at 22:14
  • Michael, I send you an e-mail to your boisetate.edu mail. – Carlos Rios Jun 12 '18 at 13:03