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
red_wine_mm-0.0.3.tar.gz
(379.5 kB
view details)
Built Distribution
red_wine_mm-0.0.3-py3-none-any.whl
(398.4 kB
view details)
File details
Details for the file red_wine_mm-0.0.3.tar.gz
.
File metadata
- Download URL: red_wine_mm-0.0.3.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 | 68d38f6d9e7b4231d2645bfbc1871b4f0126c8de13dc71f7d69ca053b99d6e8e |
|
MD5 | 65edafd1451cc3c86fd7507083010963 |
|
BLAKE2b-256 | dc862d3d29e1c791f9eefff78b7aa422218519f463f7b9cd6333555d3b5c0fe4 |
File details
Details for the file red_wine_mm-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: red_wine_mm-0.0.3-py3-none-any.whl
- Upload date:
- Size: 398.4 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 | 9d688fbcd3738c1839f234fdd72d0cbea16767f3e21dad6089d66b323acc7612 |
|
MD5 | c8590486553f36749f62b6946c9ca410 |
|
BLAKE2b-256 | c0d6184479157d6f854d0804f0eecb5a87d1900d98bd762d17d639361688be6e |