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.3.0.tar.gz (17.0 kB view details)

Uploaded Source

Built Distribution

board_game_recommender-2.3.0-py2.py3-none-any.whl (15.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: board-game-recommender-2.3.0.tar.gz
  • Upload date:
  • Size: 17.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for board-game-recommender-2.3.0.tar.gz
Algorithm Hash digest
SHA256 10c54939dcce3d8d424751df01ced50e18209cea1a208b9a869c8d125bbd785b
MD5 fdd76efbae72da301e3ba5edf2d369b2
BLAKE2b-256 a98ed5459c8ef67c19e40be68d69f1a8e8a4f70ffbd9f5710e9c3f07c47a90bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: board_game_recommender-2.3.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.2 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for board_game_recommender-2.3.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 18aa5345dcbee9b85ace17cf7c4d2fd2d1e2c1d77fd0385723768c84cb543412
MD5 fe7c58475621a6da6b355dd11a2c6a0d
BLAKE2b-256 b3ea9e162e9a2acb6cd72237dfd14b87fadaf63ad82ab68b135e494c83cd939b

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