All Projects → guoguibing → Librec

guoguibing / Librec

Licence: other
LibRec: A Leading Java Library for Recommender Systems, see

Programming Languages

java
68154 projects - #9 most used programming language
scala
5932 projects

Projects that are alternatives of or similar to Librec

Surprise
A Python scikit for building and analyzing recommender systems
Stars: ✭ 5,151 (+69.16%)
Mutual labels:  matrix, systems, recommender, factorization
recommender system with Python
recommender system tutorial with Python
Stars: ✭ 106 (-96.52%)
Mutual labels:  collaborative-filtering, matrix-factorization, recommender
Lrslibrary
Low-Rank and Sparse Tools for Background Modeling and Subtraction in Videos
Stars: ✭ 625 (-79.47%)
Mutual labels:  matrix, tensor, matrix-factorization
recsys2019
The complete code and notebooks used for the ACM Recommender Systems Challenge 2019
Stars: ✭ 26 (-99.15%)
Mutual labels:  recommender, recommender-systems, recommendation-algorithms
recommender
NReco Recommender is a .NET port of Apache Mahout CF java engine (standalone, non-Hadoop version)
Stars: ✭ 35 (-98.85%)
Mutual labels:  collaborative-filtering, recommender, recommendation-algorithms
Neural Collaborative Filtering
pytorch version of neural collaborative filtering
Stars: ✭ 263 (-91.36%)
Mutual labels:  collaborative-filtering, matrix-factorization
keras-recommender
Recommender built using keras
Stars: ✭ 36 (-98.82%)
Mutual labels:  collaborative-filtering, recommender
Recommendation-System-Baseline
Some common recommendation system baseline, with description and link.
Stars: ✭ 34 (-98.88%)
Mutual labels:  collaborative-filtering, matrix-factorization
NDScala
N-dimensional arrays in Scala 3. Think NumPy ndarray, but type-safe over shapes, array/axis labels & numeric data types
Stars: ✭ 37 (-98.78%)
Mutual labels:  matrix, tensor
GenericTensor
The only library allowing to create Tensors (matrices extension) with custom types
Stars: ✭ 42 (-98.62%)
Mutual labels:  matrix, tensor
tabmat
Efficient matrix representations for working with tabular data
Stars: ✭ 70 (-97.7%)
Mutual labels:  matrix, sparse
Course-Recommendation-System
A system that will help in a personalized recommendation of courses for an upcoming semester based on the performance of previous semesters.
Stars: ✭ 14 (-99.54%)
Mutual labels:  matrix-factorization, recommendation-algorithms
Tensor
A library and extension that provides objects for scientific computing in PHP.
Stars: ✭ 146 (-95.21%)
Mutual labels:  matrix, tensor
M-NMF
An implementation of "Community Preserving Network Embedding" (AAAI 2017)
Stars: ✭ 119 (-96.09%)
Mutual labels:  matrix-factorization, factorization
Recommendation.jl
Building recommender systems in Julia
Stars: ✭ 42 (-98.62%)
Mutual labels:  collaborative-filtering, matrix-factorization
torchmf
matrix factorization in PyTorch
Stars: ✭ 114 (-96.26%)
Mutual labels:  matrix-factorization, recommender-systems
Awesome-Machine-Learning-Papers
📖Notes and remarks on Machine Learning related papers
Stars: ✭ 35 (-98.85%)
Mutual labels:  collaborative-filtering, matrix-factorization
NMFADMM
A sparsity aware implementation of "Alternating Direction Method of Multipliers for Non-Negative Matrix Factorization with the Beta-Divergence" (ICASSP 2014).
Stars: ✭ 39 (-98.72%)
Mutual labels:  matrix-factorization, factorization
Quick-Data-Science-Experiments-2017
Quick-Data-Science-Experiments
Stars: ✭ 19 (-99.38%)
Mutual labels:  collaborative-filtering, matrix-factorization
retailbox
🛍️RetailBox - eCommerce Recommender System using Machine Learning
Stars: ✭ 32 (-98.95%)
Mutual labels:  matrix-factorization, recommender-systems

LibRec (https://guoguibing.github.io/librec/index.html) is a Java library for recommender systems (Java version 1.7 or higher required). It implements a suit of state-of-the-art recommendation algorithms, aiming to resolve two classic recommendation tasks: rating prediction and item ranking.

Join the chat at https://gitter.im/librec/LobbyBuild Status

LibRec Demo

A movie recommender system is designed and available here.

Documentation

Please refer to LibRec Documentation and API Documentation

Authors Words about the NEW Version

It has been a year since the last version was released. In this year, lots of changes have been taken to the LibRec project, and the most significant one is the formulation of the LibRec team. The team pushes forward the development of LibRec with the wisdom of many experts, and the collaboration of experienced and enthusiastic contributors. Without their great efforts and hardworking, it is impossible to reach the state that a single developer may dream of.

LibRec 2.0 is not the end of our teamwork, but just the begining of greater objectives. We aim to continously provide NEXT versions for better experience and performance. There are many directions and goals in plan, and we will do our best to make them happen. It is always exciting to receive any code contributions, suggestions, comments from all our LibRec users.

We hope you enjoy the new version!

PS: Follow us on WeChat to have first-hand and up-to-date information about LibRec.

Features

  • Rich Algorithms: More than 70 recommendation algorithms have been implemented, and more will be done.
  • High Modularity: Six main components including data split, data conversion, similarity, algorithms, evaluators and filters.
  • Great Performance: More efficient implementations than other counterparts while producing comparable accuracy.
  • Flexible Configuration: Low coupling, flexible and either external textual or internal API configuration.
  • Simple Usage: Can get executed in a few lines of codes, and a number of demos are provided for easy start.
  • Easy Expansion: A set of recommendation interfaces for easy expansion to implement new recommenders.

The procedure of LibRec is illustrated as follows.

Download

by maven

<dependency>
    <groupId>net.librec</groupId>
    <artifactId>librec-core</artifactId>
    <version>2.0.0</version>
</dependency>

by packages

Execution

You can run LibRec with configurations from command arguments:

librec rec -exec -D rec.recommender.class=itemcluster -D rec.pgm.number=10 -D rec.iterator.maximum=20

or from a configuration file:

librec rec -exec -conf itemcluster-test.properties

Code Snippet

You can use LibRec as a part of your projects, and use the following codes to run a recommender.

public void main(String[] args) throws Exception {
	
	// recommender configuration
	Configuration conf = new Configuration();
	Resource resource = new Resource("rec/cf/userknn-test.properties");
	conf.addResource(resource);

	// build data model
	DataModel dataModel = new TextDataModel(conf);
	dataModel.buildDataModel();
	
	// set recommendation context
	RecommenderContext context = new RecommenderContext(conf, dataModel);
	RecommenderSimilarity similarity = new PCCSimilarity();
	similarity.buildSimilarityMatrix(dataModel, true);
	context.setSimilarity(similarity);

	// training
	Recommender recommender = new UserKNNRecommender();
	recommender.recommend(context);

	// evaluation
	RecommenderEvaluator evaluator = new MAEEvaluator();
	recommender.evaluate(evaluator);

	// recommendation results
	List recommendedItemList = recommender.getRecommendedList();
	RecommendedFilter filter = new GenericRecommendedFilter();
	recommendedItemList = filter.filter(recommendedItemList);
}

News Report

Acknowledgement

We would like to express our appreciation to the following people for contributing source codes to LibRec, including Prof. Robin Burke, Bin Wu, Diego Monti, Ge Zhou, Li Wenxi, Marco Mera, Ran Locar, Shawn Rutledge, ShuLong Chen, Tao Lian, Takuya Kitazawa, Zhaohua Hong, Tan Jiale, Daniel Velten, Qian Shaofeng, etc. We gratefully thank Mr. Lijun Dai for designing and contributing the logo of LibRec, and also many thanks to Mr. Jianbin Zhang for implementing and sharing a LibRec demo.

We also appreciate many others for reporting bugs and issues, and for providing valuable suggestions and support.

Publications

Please cite the following papers if LibRec is helpful to your research.

  1. G. Guo, J. Zhang, Z. Sun and N. Yorke-Smith, LibRec: A Java Library for Recommender Systems, in Posters, Demos, Late-breaking Results and Workshop Proceedings of the 23rd Conference on User Modelling, Adaptation and Personalization (UMAP), 2015.
  2. G. Guo, J. Zhang and N. Yorke-Smith, TrustSVD: Collaborative Filtering with Both the Explicit and Implicit Influence of User Trust and of Item Ratings, in Proceedings of the 29th AAAI Conference on Artificial Intelligence (AAAI), 2015, 123-129.
  3. Z. Sun, G. Guo and J. Zhang, Exploiting Implicit Item Relationships for Recommender Systems, in Proceedings of the 23rd International Conference on User Modeling, Adaptation and Personalization (UMAP), 2015.

GPL License

LibRec is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License (GPL) as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. LibRec is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with LibRec. If not, see http://www.gnu.org/licenses/.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].