Shrinkage option for KNN

15 views
Skip to first unread message

Wang Dawei

unread,
Jun 29, 2017, 10:49:00 AM6/29/17
to MyMediaLite
Hi: I was trying to implement this on ml-100k

ItemKNNPearsonk=40 shrinkage=2500 reg_u=12 reg_i=10.913270.7144


Daweis-iMac:bin Dawei$ /Users/Dawei/bin/rating_prediction --training-file=/Users/Dawei/bin/ml-100k/u3.base --test-file=/Users/Dawei/Bin/ml-100k/u3.test --recommender=ItemKNN --recommender-options=k=40 --recommender-options=reg_u=12 --recommender-options=reg_i=1 --recommender-options=shrinkage=2500 --recommender-options=correlation=Pearson

readlink: illegal option -- f

usage: readlink [-n] [file ...]

Recommender MyMediaLite.RatingPrediction.ItemKNN does not have a parameter named 'SHRINKAGE'.

ItemKNN k=40 correlation=BinaryCosine weighted_binary=False alpha=0; baseline predictor: reg_u=12 reg_i=1 num_iter=10


I wonder what is the right option name for shrinkage? Is there any more detailed document for each option? 


Thank you

Zeno Gantner

unread,
Jun 29, 2017, 12:20:18 PM6/29/17
to mymed...@googlegroups.com
You need to pick the Pearson correlation, not BinaryCosine.

Cheers,
   Z.

--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wang Dawei

unread,
Jul 2, 2017, 10:31:23 AM7/2/17
to MyMediaLite
I did use --recommender-options=correlation=Pearson
To unsubscribe from this group and stop receiving emails from it, send an email to mymedialite...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages