ReactiveX for data science
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file rxsci-0.28.0.tar.gz
.
File metadata
- Download URL: rxsci-0.28.0.tar.gz
- Upload date:
- Size: 37.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.10.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5fc0d092e71ec64481e2ab31a4d54c9e94ff634ea5cd4bf58a8367a248cbd8fd |
|
MD5 | 2ca8875ab8899147f055d193a7705faa |
|
BLAKE2b-256 | 5b1ea43549d5a6b1a7a5204c218fddb4402a47f427a618103145b2cf64a2e21a |