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.1.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 86065b4ddd1ed5970f2b81331d1606b1e27e1afabd44e89e117d382bc60bdd36 |
|
MD5 | dc626039e257e175879765a6399198b8 |
|
BLAKE2b-256 | 49ab7a4e579a12fd64bbd4a0de12f130e595052d66ff28a598a11d6649da523e |
Hashes for board_game_recommender-2.1.4-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a66c779e2b5fc0c56be5f9f0c0a6100f8b35c66c631228565bb2f3e75bee6740 |
|
MD5 | f5f237117d7a8c408703bcf360c2d24a |
|
BLAKE2b-256 | 124b655937366008cc27f1b73ffa903dfdae50b303b78abfcaffee27fd558809 |