zhenghaoz/gorse
An open source recommender system service written in Go
repo name | zhenghaoz/gorse |
repo link | https://github.com/zhenghaoz/gorse |
homepage | https://gorse.io |
language | Go |
size (curr.) | 10018 kB |
stars (curr.) | 4661 |
created | 2018-08-14 |
license | |
gorse: Go Recommender System Engine
Gorse is an open-source recommendation system written in Go. Gorse aims to be a universal open-source recommender system that can be quickly introduced into a wide variety of online services. By importing items, users, and interaction data into Gorse, the system will automatically train models to generate recommendations for each user. Project features are as follows.
- Multi-source Recommendation: For a user, recommended items are collected from different ways (popular, latest, user-based, item-based, and collaborative filtering) and ranked by click-through rate prediction.
- AutoML: Choose the best recommendation model and strategy automatically by model searching in the background.
- Distributed Recommendation: Single node training, distributed prediction, and ability to achieve horizontal scaling in the recommendation stage.
- RESTful API: Provide RESTful APIs for data CRUD and recommendation requests.
- Dashboard: Provide dashboard for data import and export, monitoring, and cluster status checking.
Quick Start
- Run Gorse manually
- Run Gorse with Docker Compose
- Use Gorse to recommend awesome GitHub repositories
- Read official documents
- Read develop roadmap
Architecture
Gorse is a single node training and distributed prediction recommender system. Gorse stores data in MySQL, MongoDB, PostgresSQL, or ClickHouse, with intermediate data cached in Redis.
- The cluster consists of a master node, multiple worker nodes, and server nodes.
- The master node is responsible for model training, non-personalized item recommendation, configuration management, and membership management.
- The server node is responsible for exposing the RESTful APIs and online real-time recommendations.
- Worker nodes are responsible for offline recommendations for each user.
In addition, the administrator can perform system monitoring, data import and export, and system status checking via the dashboard on the master node.
Contributors
Any contribution is appreciated: report a bug, give advice or even create a pull request. You are welcome to submit Gorse In-Production User Registration to add your product to the case studies section of gorse.io if you are using Gorse in production.
Acknowledgments
gorse
is inspired by the following projects: