yuzuru-s / redis-recommend
Wrapping Redis's sorted set APIs for specializing recommending operations.
Installs: 2 095
Dependents: 0
Suggesters: 0
Security: 0
Stars: 39
Watchers: 6
Forks: 6
Open Issues: 1
Requires
- php: >=5.5.0
Requires (Dev)
- friendsofphp/php-cs-fixer: 0.3.*@dev
- phpunit/phpunit: 3.7.*@stable
- satooshi/php-coveralls: dev-master
README
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.
Requirements
- Redis
-
=2.4
-
- PhpRedis extension
- PHP
-
=5.5 >=5.6, >=7.0, >=7.1, >= 7.2
-
- Composer
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
- Yuzuru Suzuki