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
- board-game-recommender: This repository
- Recommend.Games: board game recommender website
- recommend-games-server: Server code for Recommend.Games
- board-game-scraper: Board game data scraper
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for board-game-recommender-2.3.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 10c54939dcce3d8d424751df01ced50e18209cea1a208b9a869c8d125bbd785b |
|
MD5 | fdd76efbae72da301e3ba5edf2d369b2 |
|
BLAKE2b-256 | a98ed5459c8ef67c19e40be68d69f1a8e8a4f70ffbd9f5710e9c3f07c47a90bd |
Hashes for board_game_recommender-2.3.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 18aa5345dcbee9b85ace17cf7c4d2fd2d1e2c1d77fd0385723768c84cb543412 |
|
MD5 | fe7c58475621a6da6b355dd11a2c6a0d |
|
BLAKE2b-256 | b3ea9e162e9a2acb6cd72237dfd14b87fadaf63ad82ab68b135e494c83cd939b |