Skip to main content

Board games recommender engine

Project description

board-game-recommender

Board game recommendation engine. View the recommendations live at Recommend.Games! Install via

pip install board-game-recommender

Training new recommender models

Environment

Requires Python 3. Make sure Pipenv is installed and create the virtual environment:

python3 -m pip install --upgrade pipenv
pipenv install --dev
pipenv shell

Datasets

In order to train the models you will need appropriate game and rating data. You can either scrape your own using the board-game-scraper project or take a look at the BoardGameGeek guild to obtain existing datasets.

At the moment there are recommender implementations for two sources: BoardGameGeek and Board Game Atlas.

Models

We use the recommender implementation by Turi Create. Two recommender models are supported out of the box:

  • RankingFactorizationRecommender (default): Learns latent factors for each user and game, generally yielding very interesting recommendations.
  • ItemSimilarityRecommender: Ranks a game according to its similarity to other ratings by a user, often resulting in less interesting recommendations. However, this model is also able to find games similar to a given game.

Run the training

Run the training via the main script:

python -m board_game_recommender --help

E.g., train the default BGG mode like so:

python -m board_game_recommender \
    --train \
    --games-file bgg_GameItem.jl \
    --ratings-file bgg_RatingItem.jl \
    --model model/output/dir

Links

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

board-game-recommender-2.0.1.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

board_game_recommender-2.0.1-py2.py3-none-any.whl (13.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file board-game-recommender-2.0.1.tar.gz.

File metadata

  • Download URL: board-game-recommender-2.0.1.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.9

File hashes

Hashes for board-game-recommender-2.0.1.tar.gz
Algorithm Hash digest
SHA256 6fa48ba17744770b6984adbc4eb20943aef5dab15bf4dba6993acc1505be68a1
MD5 14035f3fd96fbcd2fdec4e0de1ca7487
BLAKE2b-256 772d6fd3dd57ed80e897690186aaa531674e7dc8a910d3017e4a2c3a7db5dcec

See more details on using hashes here.

File details

Details for the file board_game_recommender-2.0.1-py2.py3-none-any.whl.

File metadata

  • Download URL: board_game_recommender-2.0.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.37.0 CPython/3.6.9

File hashes

Hashes for board_game_recommender-2.0.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5d2f4ca73072e4437d350e1001c78bf6eb0ef7bf930d53e6314db881f530653f
MD5 48f594e7f281a7aa34272b13eb9189bb
BLAKE2b-256 78392ba17eb3ef9ee3deb17039778867e28908914cb4de99ede4e61ea827364c

See more details on using hashes here.

Supported by

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