PHP and wrapping Redis's sorted set APIs for specializing recommending operations.
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.
=2.4
=5.5 >=5.6, >=7.0, >=7.1, >= 7.2
{
"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.
Copyright (c) 2017 YUZURU SUZUKI. See MIT-LICENSE for further details.