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
from sklearn.neural_network import MLPClassifier

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.1.tar.gz (14.6 kB view details)

Uploaded Source

File details

Details for the file stream-learn-0.8.1.tar.gz.

File metadata

  • Download URL: stream-learn-0.8.1.tar.gz
  • Upload date:
  • Size: 14.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.38.0 CPython/3.7.0

File hashes

Hashes for stream-learn-0.8.1.tar.gz
Algorithm Hash digest
SHA256 6739bc272aefbfcf3a009a2f8913f96c3b34c6da32c5ddc9a69e22a790623d2e
MD5 d6c614a518bcd3594112e955bfda680f
BLAKE2b-256 e8d4e6a5446488a3488a4ac02a02da7efc520bdd6c212f372633892cce3ddf73

See more details on using hashes here.

Supported by

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