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
File details
Details for the file board-game-recommender-2.1.3.tar.gz
.
File metadata
- Download URL: board-game-recommender-2.1.3.tar.gz
- Upload date:
- Size: 15.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4f4c0962218d5ae967523c58a901d084191414d4069b65f71e1977298c548c3b |
|
MD5 | 61102d44554ef9825ca075e60fddc02e |
|
BLAKE2b-256 | b1e7fdc5c1cd4a1e0c539bf685d81969b29af3970dcbbff6bd1d05438b2e20ed |
File details
Details for the file board_game_recommender-2.1.3-py2.py3-none-any.whl
.
File metadata
- Download URL: board_game_recommender-2.1.3-py2.py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.0 requests/2.24.0 setuptools/50.1.0 requests-toolbelt/0.9.1 tqdm/4.50.2 CPython/3.8.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9da762e774197862e6dc231b8eb2e3172c41b2156f3afe856f1f66ea63eec268 |
|
MD5 | 9bfe942211ff3ab508f3c63dc2f97dcd |
|
BLAKE2b-256 | 1fe543dea16b45a0c2192a0280b14904ee47376613a3959d2e98f3db8081c941 |