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

Uploaded Source

Built Distribution

board_game_recommender-3.1.0-py2.py3-none-any.whl (18.9 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

File hashes

Hashes for board-game-recommender-3.1.0.tar.gz
Algorithm Hash digest
SHA256 9516d9ab27049d7c1eac5426d64d569c76c62822bac6fdfc4645a2e577ea9dd5
MD5 a1033d91bbe2e6c34e1ac82b8c2c1689
BLAKE2b-256 87f972dcac5ef506620b3ab981e7719a0e53f3f59310617fb72ba686d9c1e5f8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for board_game_recommender-3.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 6b43293cbf242690e8073ae3002a254be512d37f6ab7628f6bb09a25b83c176e
MD5 e955d4d28177471f162085ccee43886f
BLAKE2b-256 8c034be80f06779558c172b695be2f1e1d7aa85032b0b2e08c01e8fee98aea3c

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