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
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
Built Distribution
File details
Details for the file red_wine_model_matthew9655-0.0.2.tar.gz
.
File metadata
- Download URL: red_wine_model_matthew9655-0.0.2.tar.gz
- Upload date:
- Size: 379.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3f045d82f2de0a0bfaff4fc5311ac2100635e5806d8aa0f7405e31039af8a981 |
|
MD5 | 1380a6d3c98d2ff59ed18b9cc56064e0 |
|
BLAKE2b-256 | ca42913a5cdf82797fbaf6285ff1be730249126e061dec6bb6bea9b1ce3199c1 |
File details
Details for the file red_wine_model_matthew9655-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: red_wine_model_matthew9655-0.0.2-py3-none-any.whl
- Upload date:
- Size: 398.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 37a5d3acb9651481fbc92f5ea7d6d18af43a4845671cb4b4d4a04f1bb455ad58 |
|
MD5 | 4d73fa8d49643fecfc7fec8913353afe |
|
BLAKE2b-256 | 5b0d7fd1746cc93fdd93ed2ca6985cde71b2d307e17ce513e73b712d12f2d468 |