ReactiveX operators for data science and machine learning.
RxSci is a set of RxPY operators and observable factories dedicated to data science. Being reactive, RxSci is especially suited to work on streaming data and time series.
However it can also be used on traditional datasets. Such datasets are processed as bounded streams by RxSci. So it is possible to use RxSci for both streaming data and file based datasets. This is especially useful when a machine learning model is trained with a dataset and deployed on streaming data.
Get Started
This example computes a rolling mean on a window and stride of three elements:
import rx
import rxsci as rs
source = [1, 2, 3, 4, 5, 6, 7]
rx.from_(source).pipe(
rs.state.with_memory_store([
rs.data.roll(window=3, stride=3, pipeline=[
rs.math.mean(reduce=True),
]),
]),
).subscribe(
on_next=print
)
2.0
5.0
See the Maki Nage documentation for more information.
Installation
RxSci is available on PyPi and can be installed with pip:
python3 -m pip install rxsci
Metadata
Release files for rxsci 0.33.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rxsci-0.33.0.tar.gz | 40.0 kB | Details |
Release files / rxsci-0.33.0.tar.gz
| Download URL | rxsci-0.33.0.tar.gz |
|---|---|
| Size | 40.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1e67446b6b15088abe2a5974823de5f98141b9f6366b46ee72b789f330b52b2d
|
|
BLAKE2b-256 checksum How to use checksums |
ae0fd08372245d0998d814afa54c6f49bad695f13dd15635264c77134e3e9c43
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.7
|