Skip to main content

A recommender systems framework for Python

Project description

Case Recommender is a Python implementation of a number of popular recommendation algorithms for both implicit and explicit feedback. The framework aims to provide a rich set of components from which you can construct a customized recommender system from a set of algorithms. Case Recommender has different types of item recommendation and rating prediction approaches, and different metrics validation and evaluation.

Algorithms

Item Recommendation:

  • BPRMF

  • ItemKNN

  • Item Attribute KNN

  • UserKNN

  • User Attribute KNN

  • Most Popular

  • Random

Rating Prediction:

  • Matrix Factorization (with and without baseline)

  • SVD

  • SVD++

  • ItemKNN

  • Item Attribute KNN

  • UserKNN

  • User Attribute KNN

  • Item NSVD1 (with and without Batch)

  • User NSVD1 (with and without Batch)

Evaluation and Validation Metrics

  • All-but-one Protocol

  • Cross-fold- Validation

  • Item Recommendation: Precision, Recall, NDCG and Map

  • Rating Prediction: MAE and RMSE

  • Statistical Analysis (T-test and Wilcoxon)

Requirements

  • Python >= 3.5

  • scipy

  • numpy

  • pandas

  • scikit-learn

For Linux, Windows and MAC use:

$ pip install requirements

For Windows libraries help use:

http://www.lfd.uci.edu/~gohlke/pythonlibs/#matplotlib

Quick start

Case Recommender can be installed using pip:

$ pip install caserecommender

If you want to run the latest version of the code, you can install from git:

$ pip install -U git+git://github.com/ArthurFortes/CaseRecommender.git

More Details

https://github.com/ArthurFortes/CaseRecommender

Developed By

Arthur Fortes da Costa

University of São Paulo - ICMC (USP)

fortes.arthur@gmail.com

Reference

da Costa Fortes, A. and Manzato, M. G. Case recommender: A recommender framework. In Proceedings of the 22Nd Brazilian Symposium on Multimedia and the Web. Webmedia ’16. SBC, pp. 99–102, 2016.

BibTex (.bib)

@inproceedings{daCostaCase:16, author = {da Costa Fortes, Arthur and Manzato, Marcelo Garcia}, title = {Case Recommender: A Recommender Framework}, booktitle = {Proceedings of the 22Nd Brazilian Symposium on Multimedia and the Web}, series = {Webmedia ‘16}, year = {2016}, pages = {99–102}, numpages = {4}, publisher = {SBC} }

License (MIT)

© 2018. Case Recommender All Rights Reserved

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

CaseRecommender-1.0.2-py2.py3-none-any.whl (74.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file CaseRecommender-1.0.2-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for CaseRecommender-1.0.2-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c7f274f437c3922143b79c8f9c5cc998e337d7267aa2f97cf62a862919399f22
MD5 eb3ae8de306cfd8ab8299cdeb0661d32
BLAKE2b-256 39a82d39238aa11bffbb671876d6d7567f86fedc7418ef189318f358acbdc154

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page