Questions tagged [recommenderlab]

26 questions
0
votes
0 answers

How to use surprise lib for a dataset without rating.csv file?

I am trying to make a recommendation system using surprise lib. I am using a data set which does not have rating.csv and instead it is a full data set including many features about movies(it does not have any information about the users). I am…
0
votes
1 answer

How to load CSV file instead of built in dataset in "Surprise" Python recommender system?

I don't know how to write a code to load a CSV file or .inter file instead of the built in dataset in this example of evaluating a dataset as a recommender system: from surprise import SVD from surprise import KNNBasic from surprise import…
0
votes
1 answer

Item Based Collaborative Filtering keeps on running without end in recommenderlab r

I have a sparse matrix sparse with 1100 columns corresponding to products and over 130k rows corresponding to users. The values are 1 or NA in this sparse matrix where 1 corresponds to a 'purchase' and NA to 'no purchase'. I converted this matrix…
user75252
  • 169
  • 2
  • 2
  • 13
0
votes
1 answer

Recommenderlab error unable to find inherited method

I'm a newbie in R and need some advice with recommenderlab. I have a "training" dataset comprised of 6 variables, and the first line looks like this: song_id user_id title release …
0
votes
1 answer

How to fix an invalid multibyte string error with recommenderRegistry$get_entries()?

I'm trying "recommenderlab" package and getting an error with recommenderRegistry$get_entries() fuction. To get the info about recommendation algorithms, I tried library(recommenderlab) recommenderRegistry$get_entries() But the output is…
woodstck
  • 106
  • 1
  • 6
0
votes
0 answers

How to recommend items for all users and test accuracy? user-item

I'm currently working on a user-item collaborative filtering model. I have a set of users and places they have shopped at, and have attempted to build a recommender model using R. There are two aims of this project: a) Recommend new shops to ALL…
0
votes
1 answer

R how to get association rules (LHS, RHS, support, confidence, lift) from recommenderlab object?

i'm current construct product recommendation using R recommenderlab, after compute AR recommender, i'm hoping to understand the association rules, but i couldn't found any why to extract the complete association rules from the recommender object. …
yc.koong
  • 175
  • 2
  • 10
0
votes
1 answer

R "HybridRecommender" in recommenderlab package unable to predict "binaryRatingMatrix"

I'm trying to apply "HybridRecommender" on "binaryRatingMatrix" type data, but i got an error when trying to predict "topNList". I'm current running R-64bit (version 3.4.4) on windows machine with recommenderlab version 0.2-2 Below is the sample…
yc.koong
  • 175
  • 2
  • 10
0
votes
1 answer

How to get the LHS for prediction by recommender based on association rules in R recommenderlab?

The awesome R package recommenderlab written by Prof. Michael Hahsler provides a recommender model based on association rules derived from his another R package arules. The minimum example code adapted from the documentation of recommenderlab can…
Donny
  • 36
  • 4
0
votes
1 answer

binaryRatingMatrix in recommenderlab package

I am trying to build a product recommendation model using binary data. I have an issue with my code that I think stems from how the structure of my source data changes when I pass the function data.matrix=as(df,"binaryRatingMatrix") My code is as…
-2
votes
1 answer

R list save as quoted list

Want to save recommenderlab predict list as list of "" seperated list. I have one question in place for the same but here want to extend it with a twist. I already tried few approaches and found below as relavent but stuck with a simple step of…
Santhosh
  • 19
  • 5
1
2