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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: stream-learn-0.8.3.tar.gz
  • Upload date:
  • Size: 15.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for stream-learn-0.8.3.tar.gz
Algorithm Hash digest
SHA256 90e25df53a4731be19bfe29dfdc200361d2a905546ba66a04500767fdc20e1ab
MD5 2c834de18b75bb3852d59e04a811a49e
BLAKE2b-256 e63d871203020bec20927bed16be4ea5ef9f15e2386205605af92e2af8fff569

See more details on using hashes here.

File details

Details for the file stream_learn-0.8.3-py3-none-any.whl.

File metadata

  • Download URL: stream_learn-0.8.3-py3-none-any.whl
  • Upload date:
  • Size: 39.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.0

File hashes

Hashes for stream_learn-0.8.3-py3-none-any.whl
Algorithm Hash digest
SHA256 5e5f4c18b8a76b48e7bd624f5a91d8cfb9b8f1ef2921301264fba5c33e911cf9
MD5 574d99112eb04066826306d373b63be8
BLAKE2b-256 8b32dae04c70eb76f55dbeb0f1c9fccae475fba281eb438de7e1f35ba6c2f78e

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