Skip to main content

Python package equipped with a procedures to process data streams using estimators with API compatible with scikit-learn.

Project description

stream-learn

Travis Status Coverage Status CircleCI Status

stream-learn is a Python package equipped with a procedures to process data streams using estimators with API compatible with scikit-learn.

Documentation

API documentation with set of examples may be found on the documentation page.

Installation

stream-learn is available on the PyPi and you may install it with pip:

pip install stream-learn

Example usage

import strlearn as sl
from sklearn.naive_bayes import GaussianNB

stream = sl.streams.StreamGenerator(n_chunks=250, n_drifts=1)
clf = GaussianNB()
evaluator = sl.evaluators.TestThenTrainEvaluator()

evaluator.process(stream, clf)

print(evaluator.scores_)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stream-learn-0.8.3.tar.gz (15.1 kB view hashes)

Uploaded Source

Built Distribution

stream_learn-0.8.3-py3-none-any.whl (39.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page