A Python library for online machine learning, designed for streaming data with a focus on user experience.
River is a Python library for online machine learning, designed to handle streaming data where models learn incrementally from one sample at a time. It solves the problem of real-time, event-based learning by providing algorithms that adapt without needing to reprocess historical data, making it ideal for dynamic environments with concept drift.
Data scientists and machine learning engineers working with real-time data streams, such as IoT applications, financial trading systems, or live user interaction platforms, who need models that update continuously.
Developers choose River for its user-friendly API, comprehensive online algorithm implementations, and seamless integration with Python's ecosystem, offering a practical alternative to batch-oriented libraries for streaming scenarios.
🌊 Online machine learning in Python
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Prioritizes clarity and ease of use over raw performance, with an intuitive design for rapid development, as emphasized in the philosophy section.
Implements a wide range of algorithms, from linear models to time series forecasting, specifically tailored for streaming data, as listed in the features.
Optimized for processing individual samples quickly, making it suitable for real-time event-based contexts, noted in the key features.
Built to adapt to changing data distributions over time, ensuring model robustness in dynamic environments, a core aspect highlighted in the features.
Focuses on user experience over raw performance, which may limit suitability for high-throughput scenarios where speed is critical.
Not designed for batch learning tasks; the README explicitly states that online learning is often unnecessary, making it a poor fit for static data analysis.
Installing the latest development version from GitHub requires Cython and Rust, adding extra steps compared to standard pip installations.