Interpreting evaluationscheme from Recommenderlab in R

228 views Asked by At

I have created an evaluation scheme using the recommenderlab package with binaryRatingMatrix. How can I see which all users from the actual data are there in unknown test set?

scheme <- evaluationScheme(data = data1, method = "split", train = 0.9, given = 3)

where data1 is binaryRatingMatrix. I would like to extract the list of users who are in the unknown set getData(scheme, "unknown")?

1

There are 1 answers

0
Sagar On

This will print out the first column which is all the userIds.

getRatingMatrix(getData(scheme, "unknown")[,1])