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.2.tar.gz
(379.5 kB
view details)
Built Distribution
red_wine_mm-0.0.2-py3-none-any.whl
(398.4 kB
view details)
File details
Details for the file red_wine_mm-0.0.2.tar.gz
.
File metadata
- Download URL: red_wine_mm-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 | 328f4f2a951734b0a81868400f5a57e96cf2089b445d918d74f81887583ae449 |
|
MD5 | f0bd80d4104a23f6cea713710deb86d4 |
|
BLAKE2b-256 | dce3f248f175f9244e41f0080a4b6328ae31cebb21846d00b6c54b9cef3c0ce1 |
File details
Details for the file red_wine_mm-0.0.2-py3-none-any.whl
.
File metadata
- Download URL: red_wine_mm-0.0.2-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 | 685cbd325723035c2c88ecc73242eaf0670b06f553079316bbb0dded92f53182 |
|
MD5 | 29beb3e2893d171915e7829036f8d9b6 |
|
BLAKE2b-256 | 0e9d25ad846268fadd1c1d662191cbb816c6d53d1c94f93f08d0f639b031a0ac |