Recommender Systems with Sparse Data

This directory has a set of examples of how to build various kinds of recommender systems using MXNet. It also includes a set of tools for using sparse data.

Examples

The examples are driven by notebook files.

Re-usable code

These examples use and demonstrate a number of layers and other tools that can be used outside of these examples. They are all available from the recotools package.

Negative Sampling

  • NegativeSamplingDataIter

Loss Layers

  • CosineLoss
  • CrossEntropyLoss

Sparse Data Projection layers

  • SparseRandomProjection
  • SparseBagOfWordProjection

Acknowledgements

Thanks to xlvector for the first Matrix Factorization example that provided the basis for these examples.

MovieLens data from GroupLens.