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

Uploaded Source

Built Distribution

board_game_recommender-2.2.0-py2.py3-none-any.whl (14.3 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

  • Download URL: board-game-recommender-2.2.0.tar.gz
  • Upload date:
  • Size: 15.7 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.2.0.tar.gz
Algorithm Hash digest
SHA256 338071ac6bf29d430f6af0573c1a7b4aba1376066e94e539420d94df42303496
MD5 a4007914083f5bf7de071da8b45d958e
BLAKE2b-256 1c7757071537afad510fc67525a9d7bd343a5b5fae1148f3574ce720f4e8e970

See more details on using hashes here.

File details

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

File metadata

  • Download URL: board_game_recommender-2.2.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 14.3 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.2.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7915b97b7d078d40b3c638e240ec7223239e9fb2ea02c0242de7d12a59bdb9ab
MD5 8fa8cf919dd42c14aebd89817d7b0bcb
BLAKE2b-256 05437f5e74a52405e412efb9934d9d0a9258eb4cd7ec4fa736eec1d1cdc7bff5

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