tree: baa80273e74f2daae2157656bc766640e1f0447a [path history] [tgz]
  1. .gitignore
  2. crossentropy.py
  3. demo1-MF.ipynb
  4. demo1-MF2-fancy.ipynb
  5. demo2-binary.ipynb
  6. demo3-dssm.ipynb
  7. matrix_fact.py
  8. movielens_data.py
  9. negativesample.py
  10. randomproj.py
  11. README.md
  12. recotools.py
  13. symbol_alexnet.py
example/recommenders/README.md

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.