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

  • Group-based (Clustering-based algorithm)

  • Paco Recommender (Co-Clustering-based algorithm)

  • Most Popular

  • Random

  • Content Based

Rating Prediction:

  • Matrix Factorization (with and without baseline)

  • SVD

  • Non-negative Matrix Factorization

  • SVD++

  • ItemKNN

  • Item Attribute KNN

  • UserKNN

  • User Attribute KNN

  • Item NSVD1 (with and without Batch)

  • User NSVD1 (with and without Batch)

  • Most Popular

  • Random

  • gSVD++

  • Item-MSMF

  • (E)CoRec

Clustering:

  • PaCo: EntroPy Anomalies in Co-Clustering

  • k-medoids

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

  • 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/

Quick Start and Guide

For more information about RiVal and the documentation, visit the Case Recommender Wiki. If you have not used Case Recommender before, do check out the Getting Started guide.

Installation

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/caserec/CaseRecommender.git

More Details

https://github.com/caserec/CaseRecommender

License (MIT)

© 2019. 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 Distribution

CaseRecommender-1.1.1.tar.gz (56.5 kB view details)

Uploaded Source

Built Distribution

CaseRecommender-1.1.1-py2.py3-none-any.whl (103.2 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file CaseRecommender-1.1.1.tar.gz.

File metadata

  • Download URL: CaseRecommender-1.1.1.tar.gz
  • Upload date:
  • Size: 56.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for CaseRecommender-1.1.1.tar.gz
Algorithm Hash digest
SHA256 d252f485bf58eb24b5c489a98ed1b11b4348824249eee309d9a1827e8465688c
MD5 70e1bf6ae8edd0b3d6d1a83a0ef11cf4
BLAKE2b-256 4d2cc3652c9da575c89fc8c5f8d281d6e1997a09376ee3c22f1f4581fe5d08a2

See more details on using hashes here.

File details

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

File metadata

  • Download URL: CaseRecommender-1.1.1-py2.py3-none-any.whl
  • Upload date:
  • Size: 103.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.6.0 importlib_metadata/4.8.1 pkginfo/1.8.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.12

File hashes

Hashes for CaseRecommender-1.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 a4a080906393a56b2595311fd87200ba9312d03447e5f29b75b1cac24863720a
MD5 0a9a726bafed0dcb77186bbd00378c5d
BLAKE2b-256 f6b2d7b54094a5030ce37daa47e98bdc063a6aa31f1353c6ec56a36b12b029f3

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