#6161st of 126 in ML frameworks and libraries
river
Python library for online machine learning on streaming data
Documentation ↗
(opens in a new tab)Website ↗
(opens in a new tab)Repository on GitHub ↗
(opens in a new tab)
- Stars
- 6.1k
- License
- BSD-3-Clause
- Last commit
- Nov 2026
- Last release
- Aug 2026
- Language
- Python
5,740 on 3 Apr 20266,141 on 30 Oct 2026
From GitHub's daily star counts.
Checked on GitHub.
Overview
River implements online machine learning algorithms in Python, where models update one sample at a time through learn_one and predict_one. It covers linear models, decision trees, nearest neighbors, anomaly and drift detection, clustering, bandits and time series forecasting, plus metrics and progressive validation. It resulted from merging creme and scikit-multiflow.
Who it is for: Python developers doing ML on streaming data or with concept drift
Strengths
- Models learn per sample without revisiting past data, suited to event-based streams
- Broad algorithm set: trees, linear models, drift detection, clustering, bandits, forecasting
- Core learn_one/predict_one interface has no pandas dependency
- Wheels for Linux, macOS and Windows; BSD-3-Clause license
Weaknesses
- README states it favors clarity over performance
- Requires Python 3.11 or newer
- Mini-batch methods need the optional pandas extra
- Building from source needs Cython and Rust
What it needs
- no GPU
- Needs Python 3.11+, pandas (optional, for mini-batch)
- Models: linear models, decision trees, random forests, nearest neighbors, clustering
Quick answers
Is river open source?
Yes. Its code is on GitHub under the BSD-3-Clause license.
Does river need a GPU?
No, it runs without one.
Also in ML frameworks and libraries
See all 126| Rank | Project | Score |
|---|---|---|
| 1 | pytorchPython tensor library with GPU support and tape-based autograd for deep learning | 95 out of 100 |
| 2 | transformersPython library defining open models for text, vision, audio and multimodal tasks | 94 out of 100 |
| 3 | ultralyticsPython library and CLI for training and running YOLO vision models | 93 out of 100 |
| #4 | pytorch-image-modelsPyTorch library of image models, pretrained weights and reference training scripts | 93 out of 100 |
| #5 | supervisionPython toolkit for loading, annotating and counting computer vision detections | 91 out of 100 |