Skip to main content

This is a package which aims to combine the lighweight web-framework flask

Project description

Flask-River:

This is a repository for an experimental project where I will try to combine the online ML capabilities of the library "River" with the lightweight web framework "Flask".

Example usage:

pip install flaskriver
from flaskriver.Wrapper import FlaskRiver
from flask import Flask
from river import linear_model, metrics

model = linear_model.LogisticRegression()

mse = metrics.MSE()
accuracy = metrics.Accuracy()
metrics = [mse, accuracy]

flaskriver = FlaskRiver(model, metrics, predictions="proba")

app = Flask(__name__)
flaskriver.registerToApp(app)

if __name__ == "__main__":
    app.run(host="localhost", debug=True)

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

flaskriver-0.0.3.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

flaskriver-0.0.3-py2.py3-none-any.whl (3.1 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file flaskriver-0.0.3.tar.gz.

File metadata

  • Download URL: flaskriver-0.0.3.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for flaskriver-0.0.3.tar.gz
Algorithm Hash digest
SHA256 bb2980dcc01a988db52a2c239a7ea179df3c1ef4f7f98243c0e099ef67705b2b
MD5 06eb9bc5d868d3556116ed641c4865d6
BLAKE2b-256 31846e8a32859172af4f59badfd45fe8d6c0ac8129da366ed10988df1272bdd3

See more details on using hashes here.

File details

Details for the file flaskriver-0.0.3-py2.py3-none-any.whl.

File metadata

  • Download URL: flaskriver-0.0.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.7

File hashes

Hashes for flaskriver-0.0.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 62c2c3401eb48eba978be40ef92b8c01121e8abb71a8ff6ad3b62003fc0375ee
MD5 bcae92ed6e8d0432609dbbe38ae8b187
BLAKE2b-256 9beb7fd77249c0971cbd11ed89562ff6144b50bed00c90051b381652fdbb5e64

See more details on using hashes here.

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