You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a 300x100000 user-item matrix (sparse). I am trying to get user predictions on this. I get the following error:
$ item_recommendation --training-file=user_item_sparse.csv --compute-fit --measures=AUC --cross-validation=5 --recommender=BPRMF --user-prediction
loading_time 0.58
memory 13
training data: 94497 users, 296 items, 282453 events, sparsity 98.9902
BPRMF num_factors=10 bias_reg=0 reg_u=0.0025 reg_i=0.0025 reg_j=0.00025 num_iter=30 learn_rate=0.05 uniform_user_sampling=True with_replacement=False update_j=True
Argument is out of range.
Parameter name: index at System.Collections.Generic.List1[System.Collections.Generic.IList1[System.Int32]].get_Item (Int32 index) [0x00000] in :0
at MyMediaLite.Data.DataSet.BuildItemIndices () [0x00039] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Data/DataSet.cs:190
at MyMediaLite.Data.DataSet.get_ByItem () [0x0000b] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Data/DataSet.cs:92
at MyMediaLite.Data.PosOnlyFeedbackCrossValidationSplit1[MyMediaLite.Data.PosOnlyFeedback1[MyMediaLite.DataType.SparseBooleanMatrix]]..ctor (IPosOnlyFeedback feedback, UInt32 num_folds) [0x000d2] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Data/PosOnlyFeedbackCrossValidationSplit.cs:61
at MyMediaLite.Eval.ItemsCrossValidation.DoCrossValidation (IRecommender recommender, UInt32 num_folds, IList1 test_users, IList1 candidate_items, CandidateItems candidate_item_mode, Boolean compute_fit, Boolean show_results) [0x00016] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Eval/ItemsCrossValidation.cs:51
at ItemRecommendation.Run (System.String[] args) [0x0045a] in /home/sharath/Desktop/MyMediaLite-master/src/Programs/ItemRecommendation/ItemRecommendation.cs:297
at ItemRecommendation.Main (System.String[] args) [0x00006] in /home/sharath/Desktop/MyMediaLite-master/src/Programs/ItemRecommendation/ItemRecommendation.cs:157
Terminate on unhandled exception.
Could you please help me resolve it? Thanks :)
The text was updated successfully, but these errors were encountered:
Hi,
I have a 300x100000 user-item matrix (sparse). I am trying to get user predictions on this. I get the following error:
$ item_recommendation --training-file=user_item_sparse.csv --compute-fit --measures=AUC --cross-validation=5 --recommender=BPRMF --user-prediction
loading_time 0.58
memory 13
training data: 94497 users, 296 items, 282453 events, sparsity 98.9902
BPRMF num_factors=10 bias_reg=0 reg_u=0.0025 reg_i=0.0025 reg_j=0.00025 num_iter=30 learn_rate=0.05 uniform_user_sampling=True with_replacement=False update_j=True
* 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.10 ***
Argument is out of range.
Parameter name: index at System.Collections.Generic.List
1[System.Collections.Generic.IList
1[System.Int32]].get_Item (Int32 index) [0x00000] in :0at MyMediaLite.Data.DataSet.BuildItemIndices () [0x00039] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Data/DataSet.cs:190
at MyMediaLite.Data.DataSet.get_ByItem () [0x0000b] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Data/DataSet.cs:92
at MyMediaLite.Data.PosOnlyFeedbackCrossValidationSplit
1[MyMediaLite.Data.PosOnlyFeedback
1[MyMediaLite.DataType.SparseBooleanMatrix]]..ctor (IPosOnlyFeedback feedback, UInt32 num_folds) [0x000d2] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Data/PosOnlyFeedbackCrossValidationSplit.cs:61at MyMediaLite.Eval.ItemsCrossValidation.DoCrossValidation (IRecommender recommender, UInt32 num_folds, IList
1 test_users, IList
1 candidate_items, CandidateItems candidate_item_mode, Boolean compute_fit, Boolean show_results) [0x00016] in /home/sharath/Desktop/MyMediaLite-master/src/MyMediaLite/Eval/ItemsCrossValidation.cs:51at ItemRecommendation.Run (System.String[] args) [0x0045a] in /home/sharath/Desktop/MyMediaLite-master/src/Programs/ItemRecommendation/ItemRecommendation.cs:297
at ItemRecommendation.Main (System.String[] args) [0x00006] in /home/sharath/Desktop/MyMediaLite-master/src/Programs/ItemRecommendation/ItemRecommendation.cs:157
Terminate on unhandled exception.
Could you please help me resolve it? Thanks :)
The text was updated successfully, but these errors were encountered: