Code Monkey home page Code Monkey logo

recommend-games / board-game-recommender Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 0.0 2.32 MB

Board game recommendation engine

Home Page: https://recommend.games/

License: MIT License

Python 100.00%
board-game recommender boardgamegeek bgg recommendation-engine ludoj-recommender boardgame boardgames board-games recommender-system recommendation-system recommendation-algorithm tabletop-games turicreate ludoj bgg-rating board-game-recommender games ratings python

board-game-recommender's Introduction

๐ŸŽฒ 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 is only one recommender implementations: BoardGameGeek.

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.