Skip to main content

Recommendation system in TensorFlow

Project description

Tophat

Build Status

Tophat is a factorization-based recommendation engine built using TensorFlow.

Installation

Installing from PyPi:

pip install top-hat

Installing the master branch from github in development mode, run:

git clone git@github.com:gilt/tophat.git
cd tophat
pip install -e .

Note that by default, installation assumes you already have TensorFlow installed. However, if you need, you can include the installation of TensorFlow in the setup extras as following: (choose the one that's right for you)

# CPU pypi
pip install top-hat[tf]

# GPU pypi
pip install top-hat[tf_gpu]

# CPU local dev
pip install -e .[tf]

# GPU local dev
pip install -e .[tf_gpu]

Docker Images

There are two provided Dockerfiles: Dockerfile and Dockerfile.gpu. The latter gpu variant requires nvidia-docker.

Tests

There are some minimal tests in tests/ which can all be run using pytest or python setup.py test.

Related Projects

The initial motivation behind tophat was to port over LightFM and Spotlight into TensorFlow.

There also are many other amazing recommender systems out there -- so choose the one that is right for your case.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

top-hat-0.0.1.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

top_hat-0.0.1-py2.py3-none-any.whl (53.3 kB view details)

Uploaded Python 2Python 3

File details

Details for the file top-hat-0.0.1.tar.gz.

File metadata

  • Download URL: top-hat-0.0.1.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for top-hat-0.0.1.tar.gz
Algorithm Hash digest
SHA256 9439ed2f04537a789daa3b60816fc95f4d470052ce37057b034500cf37cc9f5c
MD5 6830a5c9c2a956ed5ebeed700a2549f4
BLAKE2b-256 5dc1c5915deccb3d4629cd918957dbae9c2c8724b9a1ea67972fa34c91914725

See more details on using hashes here.

File details

Details for the file top_hat-0.0.1-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for top_hat-0.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 0641bb19fa0de0eefd1e342b700fd4377a5abbd7fb09615c883cae8bf043bbac
MD5 385ce465198a46e94785b32388d7cb9f
BLAKE2b-256 063812842fec8c31fe4dad0b4031d3506bb1ed366402c94ce81718dc5c747a80

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page