yuzuru-s/redis-recommend

Wrapping Redis's sorted set APIs for specializing recommending operations.

1.0.10 2017-11-22 08:33 UTC

This package is not auto-updated.

Last update: 2024-11-15 22:29:58 UTC


README

Coverage Status Build Status Stable Version Download Count License

Abstracting Redis's Sorted Set APIs and PHP to use as a recommending system.
This Recommendation algorithm use Collaborative Filtering, especially Jaccard coefficient

This Recommendation algorithm is used by Amazon.com

Amazon

Please check here for details.

Requirements

Installation

  • Using composer
{
    "require": {
       "yuzuru-s/redis-recommend": "1.0.*"
    }
}
$ php composer.phar update yuzuru-s/redis-recommend --dev

How to use

Please check sample code

How to run unit test

Run with default setting.

% vendor/bin/phpunit -c phpunit.xml.dist

Currently tested with PHP 7.2.0 + Redis 2.6.12.

History

  • 1.0.10
    • support php7.2
  • 1.0.9
    • unsupport HHVM
  • 1.0.8
    • support HHVM
  • 1.0.7
    • support php7.1
  • 1.0.6
    • bug fix
  • 1.0.5
    • supports travis CI and passed test and display code coverage.
  • 1.0.0
    • Published

License

Copyright (c) 2017 YUZURU SUZUKI. See MIT-LICENSE for further details.

Copyright