Baike.dev
All toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
M

ML

> 编程语言
Open source

A high-level machine learning and deep learning library for the PHP language.

2.2K stars0 likes2 views
WebsiteGitHub

About

A high-level machine learning and deep learning library for the PHP language.

Rubix ML

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 8.3 or above.

Recommended

  • Tensor extension for fast Matrix/Vector computing.
  • Swoole extension for multiprocessing support.

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

  • Join Our Telegram Channel

Contributing

See CONTRIBUTING.md for guidelines.

License

The code is licensed MIT and the documentation is licensed CC BY-NC 4.0.

GitHub Issues· 0 open

View all on GitHub

No open issues yet, or sync has not completed.

Highlights

  • •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.
  • •PHP 8.3 or above.
  • •Tensor extension for fast Matrix/Vector computing.
  • •Swoole extension for multiprocessing support.
  • •GD extension for image support.
  • •Mbstring extension for fast multibyte string manipulation.
  • •SVM extension for Support Vector Machine engine (libsvm).

> Tags

PHPanalyticsanomaly-detectionclassificationclustering

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言