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-3.4.0.tar.gz
.
File metadata
- Download URL: board-game-recommender-3.4.0.tar.gz
- Upload date:
- Size: 24.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efca4be90bd349843f30612ba93b4ca0753cc27f0b25bdf2f3d18623a38172cd |
|
MD5 | 0ed243611a374b5bda3ff6f00e8e79e0 |
|
BLAKE2b-256 | cd341ee26479745d3ca861e81a31b801785c5ce478f555c5814791f4e0c6e4f1 |
File details
Details for the file board_game_recommender-3.4.0-py2.py3-none-any.whl
.
File metadata
- Download URL: board_game_recommender-3.4.0-py2.py3-none-any.whl
- Upload date:
- Size: 26.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa1def3813f42adda370943cf0d575e7d3a5243b427c4683922b069f4926d819 |
|
MD5 | 76718b3524309210abdebde018465048 |
|
BLAKE2b-256 | a2abf031417513f6c236f68684e5603cdd9b4d531afb9fc85730e706c24a3748 |