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.0.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6b926550548cbadaa2a2ab3de918ab48a2ea36e05e686cadaee672b0dede0a04 |
|
MD5 | 57c2faf47e031663a23e0edfd3dc0b7b |
|
BLAKE2b-256 | aef0b004c588e224bfb267d15151f3b7322fc017e81157edfe2082efbb045954 |
Hashes for board_game_recommender-2.0.2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 13a420578b4a7f72f3417666c84a2a33a4074ecca0d0bcada901a42610df9d28 |
|
MD5 | 83a52dc36ae72afffb17a5260b611bd8 |
|
BLAKE2b-256 | e14ac7f0f4bfd786e97a07f44af87318e81d0cde56ced586ffdfbbe9ef3eb3a6 |