I was trying to do cross validation with IBCF model.
1) Is there a specific reason that we should use "known" data in predict() function as below,can't we use "unknown" data, I was getting NA
predict(eval_ib,newdata=getData(eval_sets,"known"),n=5,type="ratings")
2) While calculating model accuracy by user, was getting NA for one user, is there a specific reason for that.
calcPredictionAccuracy(x=eval_pred,data=getData(eval_sets,"unknown"),byUser=TRUE)
3) How can I do grid search for the parameters like 'nn' in UBCF and 'k' in IBCF?
I was trying to do cross validation with IBCF model.
1) Is there a specific reason that we should use "known" data in predict() function as below,can't we use "unknown" data, I was getting NA predict(eval_ib,newdata=getData(eval_sets,"known"),n=5,type="ratings")
2) While calculating model accuracy by user, was getting NA for one user, is there a specific reason for that. calcPredictionAccuracy(x=eval_pred,data=getData(eval_sets,"unknown"),byUser=TRUE)
3) How can I do grid search for the parameters like 'nn' in UBCF and 'k' in IBCF?