Mlops-ml-deploy-made-iv
Project description
# mlops_made_2022
### Настройка окружение:
`python3 -m venv .venv`
`source .venv/bin/activate`
`pip3 install -r requirements.txt`
### Make directory for logs and results: `mkdir src/logs && mkdir src/results` ### ML pipeline start with commands: #### Training: `python3 -m src.model_pipeline --process-type=train configs/<config's name>` #### Evaluating: `python3 -m src.model_pipeline --process-type=predict configs/<config's name>` ### Configs: 1) `logistic_regression_config.yaml` - model with logistic regression 2) `random_forest_config.yaml` - model with random forest #### Preprocessing pipeline can be corrected with changing `preprocessing_params`. There are three different type of preprocessing in configs: `normalization`, `polynomial`, `k-bin` ### Tests: Tests start with `python3 -m unittest discover -s ./tests -p 'test_*.py'` ### Output data: 1) `results/metrics.json` - result of predict-process 2) `src/logs/logs.log` - logs of all scripts
### Other: requirements.txt was created with console command: `pip3 freeze | grep -v hw01 > requirements.txt` - all libs were saved like this .gitignore and global .gitignore was created with console command: 1) `curl -o .gitignore https://raw.githubusercontent.com/github/gitignore/master/Python.gitignore` - and add -idea 2) `curl -o $HOME/.gitignore_global https://raw.githubusercontent.com/github/gitignore/master/Global/Linux.gitignore`
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
Built Distribution
Hashes for Mlops-ml-deploy-made-iv-0.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41c6d993329348ec1a997ecd6cb7aae3759c7b6e8bf80a8613c5f4c8be3cadbf |
|
MD5 | cb91ac48216e04a736d10486067ac464 |
|
BLAKE2b-256 | 299afdeeecd718a031f6c890074fa1a6c4deaf6aceccc7d7ff36b1b01e2863a1 |
Hashes for Mlops_ml_deploy_made_iv-0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7a240dc9be6fbebc25cfcb9357e0a646a881b8e1be7fe71e08207ea939e0ef15 |
|
MD5 | 87a934c541ae79d8e94043b8d395b9fc |
|
BLAKE2b-256 | 0b2808f330a588ca6fee9f79f5ca512b3f9bfce5f58e637a67ffdcc7cf037a46 |