Skip to content

Neural recommendation models in Python, using Tensorflow 2.0 & Keras.

License

Notifications You must be signed in to change notification settings

markdouthwaite/xanthus

Repository files navigation

Xanthus: Neural Recommendation Models in Python

Build: Unknown Code Style

Quickstart | Install guide

What is Xanthus?

Xanthus is a package that was started as personal project to translate an academic ML paper into a 'production ready' software package. It provides the tools and model architectures necessary to utilise the techniques outlined in He et al's work on Neural Collaborative Filtering in your own projects. Over time, you'll find work from other research finding it's way in here. The aim of this package is to make state-of-the-art research into neural recommenders accessible and ultimately ready for deployment. You might find that it's not quite there yet on that latter point, but sit tight, it will be.

Sound good? Great, here goes.

Quickstart

Want to get straight into the code? Here's an introductory notebook just for you.

You can also find some examples of how to use Xanthus with sample datasets in this repo's docs. These include:

If you're interested in seeing the results of benchmarking of Xanthus' models against 'classic' collaborative filtering models, you'll have to sit tight. But rest assured: benchmarks are on their way.

Installation

Xanthus is a pure Python package, and you'll need Python 3.6 or greater to use Xanthus.

To install, simply run:

pip install xanthus

That's it, you're good to go. Well, except for one thing...

The package makes extensive use of Tensorflow 2.0 and the Keras API. If you want to make use of the GPU acceleration provided by Tensorflow, you'll need to follow the Tensorflow team's guide for setting that up. If you don't need GPUs right now, then great, you really are all set.