rubix / ml
A high-level machine learning and deep learning library for the PHP language.
Fund package maintenance!
andrewdalpino
Installs: 757 022
Dependents: 24
Suggesters: 0
Security: 0
Stars: 2 036
Watchers: 60
Forks: 184
Open Issues: 63
Requires
- php: >=7.4
- ext-json: *
- amphp/parallel: ^1.3
- andrewdalpino/okbloomer: ^1.0
- psr/log: ^1.1|^2.0|^3.0
- rubix/tensor: ^3.0
- symfony/polyfill-mbstring: ^1.0
- symfony/polyfill-php80: ^1.17
- symfony/polyfill-php82: ^1.27
- symfony/polyfill-php83: ^1.27
- wamania/php-stemmer: ^3.0
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- phpbench/phpbench: ^1.0
- phpstan/extension-installer: ^1.0
- phpstan/phpstan: ^1.0
- phpstan/phpstan-phpunit: ^1.0
- phpunit/phpunit: ^9.0
Suggests
- ext-gd: For image support
- ext-mbstring: For fast multibyte string manipulation
- ext-svm: For Support Vector Machine engine (libsvm)
- ext-tensor: For fast Matrix/Vector computing
- dev-master
- 3.0.x-dev
- 2.5.2
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.2
- 2.3.1
- 2.3.0
- 2.2.2
- 2.2.1
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.2
- 2.0.1
- 2.0.0
- 1.3.5
- 1.3.4
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.x-dev
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 1.0.0-rc1
- 1.0.0-beta2
- 1.0.0-beta1
- 0.4.3
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.1.0-rc5
- 0.1.0-rc4
- 0.1.0-rc3
- 0.1.0-rc2
- 0.1.0-rc1
- 0.0.x-dev
- 0.0.20-rc1
- 0.0.19-beta
- 0.0.18-beta
- 0.0.17-beta
- 0.0.16-beta
- 0.0.15-beta
- 0.0.14-beta
- 0.0.13-beta
- 0.0.12-beta
- 0.0.11-beta
- 0.0.10-beta
- 0.0.9-beta
- 0.0.8-alpha
- 0.0.7-alpha
- 0.0.6-alpha
- 0.0.5-alpha
- 0.0.4-alpha
- 0.0.3-alpha
- 0.0.2-alpha
- 0.0.1-alpha
- dev-gzip-distance
This package is auto-updated.
Last update: 2024-11-09 23:07:37 UTC
README
A high-level machine learning and deep learning library for the PHP language.
- Developer-friendly API is delightful to use
- 40+ supervised and unsupervised learning algorithms
- Support for ETL, preprocessing, and cross-validation
- Open source and free to use commercially
Installation
Install Rubix ML into your project using Composer:
$ composer require rubix/ml
Requirements
- PHP 7.4 or above
Recommended
- Tensor extension for fast Matrix/Vector computing
Optional
- GD extension for image support
- Mbstring extension for fast multibyte string manipulation
- SVM extension for Support Vector Machine engine (libsvm)
- PDO extension for relational database support
- GraphViz for graph visualization
Documentation
Read the latest docs here.
What is Rubix ML?
Rubix ML is a free open-source machine learning (ML) library that allows you to build programs that learn from your data using the PHP language. We provide tools for the entire machine learning life cycle from ETL to training, cross-validation, and production with over 40 supervised and unsupervised learning algorithms. In addition, we provide tutorials and other educational content to help you get started using ML in your projects.
Getting Started
If you are new to machine learning, we recommend taking a look at the What is Machine Learning? section to get started. If you are already familiar with basic ML concepts, you can browse the basic introduction for a brief look at a typical Rubix ML project. From there, you can browse the official tutorials below which range from beginner to advanced skill level.
Tutorials & Example Projects
Check out these example projects using the Rubix ML library. Many come with instructions and a pre-cleaned dataset.
- CIFAR-10 Image Recognizer
- Color Clusterer
- Credit Default Risk Predictor
- Customer Churn Predictor
- Divorce Predictor
- DNA Taxonomer
- Dota 2 Game Outcome Predictor
- Human Activity Recognizer
- Housing Price Predictor
- Iris Flower Classifier
- MNIST Handwritten Digit Recognizer
- Text Sentiment Analyzer
- Titanic Survival Predictor
Interact With The Community
Contributing
See CONTRIBUTING.md for guidelines.
License
The code is licensed MIT and the documentation is licensed CC BY-NC 4.0.