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.1.tar.gz
(379.6 kB
view details)
Built Distribution
red_wine_mm-0.0.1-py3-none-any.whl
(398.6 kB
view details)
File details
Details for the file red_wine_mm-0.0.1.tar.gz
.
File metadata
- Download URL: red_wine_mm-0.0.1.tar.gz
- Upload date:
- Size: 379.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.13.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2c1b76c0c78967e10fb402fd8e4e676b84288f5e94fda59a2475c1b97382884f |
|
MD5 | 6b495ba01c29d8cc4d06867732001313 |
|
BLAKE2b-256 | b36bdfb5e1946ccf04d238316a9b27cf3eb2d6a8fae786671c7fb30ee71fd6ca |
File details
Details for the file red_wine_mm-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: red_wine_mm-0.0.1-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 | ba2081c554d3514cf5a8a46996e0b3ce167afe74a4880863d53218d360799458 |
|
MD5 | a6b3e5b110105d749c278c1ecc8cf334 |
|
BLAKE2b-256 | 7a43d29301c3fdf767b9c5abf559bb6df809b2c642d45769659d061e2201a587 |