Download the PHP package phpjuice/slopeone without Composer
On this page you can find all versions of the php package phpjuice/slopeone. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download phpjuice/slopeone
More information about phpjuice/slopeone
Files in phpjuice/slopeone
Package slopeone
Short Description PHP implementation of the Weighted Slope One rating-based collaborative filtering scheme.
License MIT
Informations about the package slopeone
Slopeone
PHP implementation of the Weighted Slope One rating-based collaborative filtering scheme.
Installation
Slopeone Package requires PHP 7.4 or higher.
INFO: If you are using an older version of php this package may not function correctly.
The supported way of installing Slopeone
package is via Composer.
Usage
Slopeone Package is designed to be very simple and straightforward to use. All you have to do is to load rating data, then predict future ratings based on the training set provided.
Loading files
The Slopeone
object is created by direct instantiation:
Adding Rating values
Adding Rating values can be easily done by providing an array of users ratings via the update() method:
Predicting ratings
all you have to do to predict ratings for a new user is to run the slopeone::predict method
this should produce the following results
Running the tests
you can easily run tests using composer
Built With
- PHP - The programing language used
- Composer - Dependency Management
- Pest - An elegant PHP Testing Framework
Changelog
Please see the changelog for more information on what has changed recently.
Contributing
Please see CONTRIBUTING.md for details and a todo list.
Security
If you discover any security related issues, please email author instead of using the issue tracker.
Credits
Versioning
We use SemVer for versioning. For the versions available, see the tags on this repository.
License
license. Please see the Licence for more information.