Collaborative Filtering Tutorials Across Languages

Collaborative filtering is the process of filtering for information using techniques involving collaboration among multiple agents. Applications of collaborative filtering typically involve very large data sets.

This article covers some good tutorials regarding collaborative filtering we came across in Python, Java and R.


1. Crab documentation

Crab engine aims to provide a rich set of components from which you can construct a customized recommender system from a set of algorithms. The tutorial is from official documentation of Crab.

2. Collaborative Filtering : Implementation with Python

This article presents an implementation of the collaborative filtering algorithm, that filters information for a user based on a collection of user profiles.

3. Collaborative filtering made easy

This tutorial presents a family of really simple collaborative filtering schemes. There are no statistics involved, just a little bit of linear algebra.  It is an attempt to translate the ideas in Lemire/Maclachlan paper into less than 40 lines of python code.


1. MLlib - Collaborative Filtering

MLibsupports model-based collaborative filtering, in which users and products are described by a small set of latent factors that can be used to predict missing entries. MLlib uses the alternating least squares (ALS) algorithm to learn these latent factors. In the following tutorial a part of MLib documentation shows loading rating data consisting user, product and rating data. It shows the use of  default ALS.train() method.

2. Flexible Collaborative Filtering In JAVA With Mahout Taste

With Mahout Taste one can compare state of the art collaborative filtering algorithms to build a customized solution. This tutorial based on the 0.2 release of Mahout, describes how in few easy steps, one is set up to express creativity without having to reinvent the wheel.

3. LibRec

LibRec is a GPL-licensed Java library for recommender systems. It implements a suite of state-of-the-art recommendation algorithms. This tutorial gives the overview of LibRec its algorithms. It also talks about its configuration, development


1. Testing recommender systems in R

This tutorial talk about building and testing recommender systems.

2. Collaborative Filtering with R

This post looks at item based collaborative filtering and user based collaborative filtering using a publicly available dataset from LastFM.

3. recommenderlab

recommenderlab package provides the infrastructure to develop and test recommender algorithms for rating data
and 0-1 data in a unified framework. The Package provides basic algorithms and allows the user to develop and use his/her own algorithms in the framework via a simple registration procedure. This paper describes it.

This list was compiled by Teglor.

Views: 7378


You need to be a member of Data Science Central to add comments!

Join Data Science Central

© 2021   TechTarget, Inc.   Powered by

Badges  |  Report an Issue  |  Privacy Policy  |  Terms of Service