User-based collaborative filtering recommender system template

Created: 2011-05-05 21:06:45      Last updated: 2011-05-09 13:45:33

The workflow for user-based collaborative filtering, takes only one example set as an input: a user-item matrix, where the attributes denote item IDs, and rows denote users. If a user i has rated an item j with a score s, the matrix will have the value s written in i-th row and j-th column. In the context of the process we define the ID of the user %{id}, desired number of recommendations %{recommendation_no}, and the number of neighbors used in calculating user to user distance %{number_of_neighbors}.

The first step of the workflow is to set all the zero values in the matrix to missing values in order to ignore them later in the aggregation process. Afterwards, we separate our user of interest from all the users in the example set and then calculate the similarities between our user and the %{number_of_neighbors} nearest users. We join the resulting similarities as weights with the example set of all users without our user of interest. As a result of this join we obtain a list of the most similar %{number_of_neighbors} users and their ratings with a weight that equals their similarity to our user of interest. Afterwards, we aggregate the ratings using these  similarities as weights and select only the items our user did not rate and for which we could calculate the rating. The final result is a list of items and their scores trimmed to %{recommendation_no} recommendations.

 

Reference:

Bošnjak, M., Antulov-Fantulin, N. Šmuc, T. and Gamberger, D., Constructing recommender systems workflow templates in RapidMiner, Proceedings of the RapidMiner Community Meeting And Conference (RCOMM), 2011, Dublin, Ireland - In Press

Information Preview

Information Run

Not available


Information Workflow Components

Unavailable

Information Workflow Type

RapidMiner

Information Uploader

Information License

All versions of this Workflow are licensed under:

Information Version 1 (of 1)

Information Credits (2)

(People/Groups)

Information Attributions (1)

(Workflows/Files)

Information Tags (5)

Log in to add Tags

Information Shared with Groups (0)

None

Information Featured In Packs (1)

Log in to add to one of your Packs

Information Attributed By (1)

(Workflows/Files)

Information Favourited By (0)

No one

Information Statistics

 

Citations (0)

None


Version History

In chronological order:



Reviews Reviews (0)

No reviews yet

Be the first to review!



Comments Comments (0)

No comments yet

Log in to make a comment




Workflow Other workflows that use similar services (0)

There are no workflows in myExperiment that use similar services to this Workflow.