A high-level machine learning and deep learning library for the PHP language.
- Developer-friendly API is easy and delightful to use
- Modular architecture combines power, flexibility, and extensibility
- 40+ modern supervised and unsupervised learning algorithms
- Open source and free to use commercially
Install Rubix ML into your project using Composer:
$ composer require rubix/ml
- PHP 7.2 or above
- Tensor extension for fast Matrix/Vector computing
- SVM extension for Support Vector Machine engine (libsvm)
- GD extension for image manipulation
- Redis extension for persisting to a Redis DB
- Igbinary extension for binary serialization of persistables
Read the latest documentation here.
If you are new to machine learning, we recommend the section What is Machine Learning? 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.
Check out these example projects using the Rubix ML library. Most come with instructions and a pre-cleaned dataset.
- CIFAR-10 Image Recognizer
- Color Clusterer
- Credit Default Risk Predictor
- Divorce Predictor
- Dota 2 Game Outcome Predictor
- Human Activity Recognizer
- Housing Price Predictor
- Iris Flower Classifier
- MNIST Handwritten Digit Recognizer
- Text Sentiment Analyzer
Rubix ML is funded entirely by donations from supporters. You can become a patron by making a contribution to one of our funding sources below.
See CONTRIBUTING.md for guidelines.