Download the PHP package jamesfrost/statistical-classifier without Composer
On this page you can find all versions of the php package jamesfrost/statistical-classifier. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download jamesfrost/statistical-classifier
More information about jamesfrost/statistical-classifier
Files in jamesfrost/statistical-classifier
Package statistical-classifier
Short Description A PHP implementation of Complement Naive Bayes and SVM statistical classifiers, including a structure for building other classifier, multiple data sources and multiple caching backends
License MIT
Homepage http://php-classifier.com/
Informations about the package statistical-classifier
PHP Classifier
PHP Classifier uses semantic versioning, it is currently at major version 0, so the public API should not be considered stable.
What is it?
PHP Classifier is a text classification library with a focus on reuse, customizability and performance. Classifiers can be used for many purposes, but are particularly useful in detecting spam.
Features
- Complement Naive Bayes Classifier
- SVM (libsvm) Classifier
- Highly customizable (easily modify or build your own classifier)
- Command-line interface via separate library (phar archive)
- Multiple data import types to get your data into the classifier (Directory of files, Database queries, Json, Serialized arrays)
- Multiple types of model caching
- Compatible with HipHop VM
Installation
SVM Support
For SVM Support both libsvm and php-svm are required. For installation intructions refer to php-svm.
Usage
Non-cached Naive Bayes
Non-cached SVM
Caching models
Caching models requires maximebf/CacheCache which can be installed via packagist. Additional caching systems can be easily integrated.
Cached Naive Bayes
Cached SVM
Unit testing
statistical-classifier/ $ composer install --dev
statistical-classifier/ $ phpunit