Skip to main content

Mlops-ml-deploy-made-iv

Project description

# mlops_made_2022

### Настройка окружение:

  1. `python3 -m venv .venv`

  2. `source .venv/bin/activate`

  3. `pip3 install -r requirements.txt`

### Make directory for logs and results (if there aren’t these folders in actual commit): `mkdir src/logs && mkdir 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

Mlops-ml-deploy-made-iv-0.8.tar.gz (4.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

Mlops_ml_deploy_made_iv-0.8-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file Mlops-ml-deploy-made-iv-0.8.tar.gz.

File metadata

  • Download URL: Mlops-ml-deploy-made-iv-0.8.tar.gz
  • Upload date:
  • Size: 4.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.11.0

File hashes

Hashes for Mlops-ml-deploy-made-iv-0.8.tar.gz
Algorithm Hash digest
SHA256 17ab5fa5c91f888e4f804aafc509d8f58b63d4807926eabeda8999285de191f4
MD5 b6220d90c70a3869efb1a0cad9b0ce99
BLAKE2b-256 22973e26c7023140d0b88dc5252e35758330e8ae0bc9ff896acec89fe9432b57

See more details on using hashes here.

File details

Details for the file Mlops_ml_deploy_made_iv-0.8-py3-none-any.whl.

File metadata

File hashes

Hashes for Mlops_ml_deploy_made_iv-0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 4f2deb78ce9501486677c911397fac5b37d8fadada73382451219ec967bc696b
MD5 a4043f12f270cf5185f981ca06cb975f
BLAKE2b-256 633a0e0064212ad4bbf2c610e9c6153759492b091a647e7bd62542195b4331b1

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page