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
Please check here for details.
- Redis
-
=2.4
-
- PhpRedis extension
- PHP
-
=5.5 >=5.6, >=7.0, >=7.1, >= 7.2
-
- Composer
- Using composer
{
"require": {
"yuzuru-s/redis-recommend": "1.0.*"
}
}
$ php composer.phar update yuzuru-s/redis-recommend --dev
Please check sample code
Run with default setting.
% vendor/bin/phpunit -c phpunit.xml.dist
Currently tested with PHP 7.2.0 + Redis 2.6.12.
- 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
Copyright (c) 2017 YUZURU SUZUKI. See MIT-LICENSE for further details.
- Yuzuru Suzuki