Python package equipped with a procedures to process data streams using estimators with API compatible with scikit-learn.
Project description
stream-learn
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
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
stream-learn-0.8.3.tar.gz
(15.1 kB
view hashes)
Built Distribution
Close
Hashes for stream_learn-0.8.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5e5f4c18b8a76b48e7bd624f5a91d8cfb9b8f1ef2921301264fba5c33e911cf9 |
|
MD5 | 574d99112eb04066826306d373b63be8 |
|
BLAKE2b-256 | 8b32dae04c70eb76f55dbeb0f1c9fccae475fba281eb438de7e1f35ba6c2f78e |