Skip to main content

A red wine classification model

Project description

Productionized Titanic Classification Model Package

Run With Tox (Recommended)

  • Download the data from: https://www.openml.org/data/get_csv/16826755/phpMYEkMl
  • Save the file as raw.csv in the classification_model/datasets directory
  • pip install tox
  • Make sure you are in the assignment-section-05 directory (where the tox.ini file is) then run the command: tox (this runs the tests and typechecks, trains the model under the hood). The first time you run this it creates a virtual env and installs dependencies, so takes a few minutes.

Run Without Tox

  • Download the data from: https://www.openml.org/data/get_csv/16826755/phpMYEkMl
  • Save the file as raw.csv in the classification_model/datasets directory
  • Add assignment-section-05 and classification_model paths to your system PYTHONPATH
  • pip install -r requirements/test_requirements
  • Train the model: python classification_model/train_pipeline.py
  • Run the tests pytest tests

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

red_wine_model_matthew9655-0.0.2.tar.gz (379.5 kB view details)

Uploaded Source

Built Distribution

red_wine_model_matthew9655-0.0.2-py3-none-any.whl (398.6 kB view details)

Uploaded Python 3

File details

Details for the file red_wine_model_matthew9655-0.0.2.tar.gz.

File metadata

File hashes

Hashes for red_wine_model_matthew9655-0.0.2.tar.gz
Algorithm Hash digest
SHA256 3f045d82f2de0a0bfaff4fc5311ac2100635e5806d8aa0f7405e31039af8a981
MD5 1380a6d3c98d2ff59ed18b9cc56064e0
BLAKE2b-256 ca42913a5cdf82797fbaf6285ff1be730249126e061dec6bb6bea9b1ce3199c1

See more details on using hashes here.

File details

Details for the file red_wine_model_matthew9655-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for red_wine_model_matthew9655-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 37a5d3acb9651481fbc92f5ea7d6d18af43a4845671cb4b4d4a04f1bb455ad58
MD5 4d73fa8d49643fecfc7fec8913353afe
BLAKE2b-256 5b0d7fd1746cc93fdd93ed2ca6985cde71b2d307e17ce513e73b712d12f2d468

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