Skip to content

MvMukesh/Monitoring-N-Testing-Deployments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Monitoring and Testing Machine Learning Deployments

ML pipelines setup plus automated CI/CD routines

mlops_cicd

Tree

.
├── README.md
├── exercise_env
│   ├── docker_exercise
│   │   ├── Dockerfile
│   │   ├── app.py
│   │   ├── docker-compose.yml
│   │   └── requirements.txt
│   ├── elk_exercise
│   │   ├── Dockerfile
│   │   ├── app
│   │   │   ├── __init__.py
│   │   │   └── flask_app.py
│   │   ├── application.py
│   │   ├── docker-compose.yml
│   │   ├── elasticsearch
│   │   │   └── config
│   │   │       └── elasticsearch.yml
│   │   ├── gunicorn_logging.conf
│   │   ├── kibana
│   │   │   └── config
│   │   │       └── kibana.yml
│   │   ├── logstash
│   │   │   ├── config
│   │   │   │   └── logstash.yml
│   │   │   └── pipeline
│   │   │       └── logstash.conf
│   │   └── requirements.txt
│   ├── prometheus_exercise
│   │   ├── Dockerfile
│   │   ├── app
│   │   │   ├── __init__.py
│   │   │   ├── flask_app.py
│   │   │   └── helpers
│   │   │       ├── __init__.py
│   │   │       └── middleware.py
│   │   ├── application.py
│   │   ├── config
│   │   │   ├── grafana
│   │   │   │   ├── basic_cadvisor_dashboard.json
│   │   │   │   └── grafana_flask_basic_dashboard.json
│   │   │   └── prometheus
│   │   │       └── prometheus.yml
│   │   ├── docker-compose.yml
│   │   └── requirements.txt
│   ├── shadow_mode_exercise
│   │   ├── assessing_model_results.ipynb
│   │   └── requirements.txt
│   ├── unit_testing_exercise
│   │   ├── requirements.txt
│   │   ├── unit_testing_data_engineering.ipynb
│   │   ├── unit_testing_input_data.ipynb
│   │   ├── unit_testing_model_configuration.ipynb
│   │   └── unit_testing_model_predictions_quality.ipynb
│   └── utility_scripts
│       └── MapPortsForDocker.cmd
├── packages
│   ├── gradient_boosting_model
│   │   ├── MANIFEST.in
│   │   ├── gradient_boosting_model
│   │   │   ├── VERSION
│   │   │   ├── __init__.py
│   │   │   ├── config
│   │   │   │   ├── __init__.py
│   │   │   │   └── core.py
│   │   │   ├── config.yml
│   │   │   ├── datasets
│   │   │   │   └── __init__.py
│   │   │   ├── pipeline.py
│   │   │   ├── predict.py
│   │   │   ├── processing
│   │   │   │   ├── __init__.py
│   │   │   │   ├── data_management.py
│   │   │   │   ├── errors.py
│   │   │   │   ├── preprocessors.py
│   │   │   │   └── validation.py
│   │   │   ├── train_pipeline.py
│   │   │   └── trained_models
│   │   │       └── __init__.py
│   │   ├── mypy.ini
│   │   ├── requirements.txt
│   │   ├── setup.py
│   │   ├── test_requirements.txt
│   │   ├── tests
│   │   │   ├── __init__.py
│   │   │   ├── conftest.py
│   │   │   ├── test_config.py
│   │   │   ├── test_pipeline.py
│   │   │   ├── test_predict.py
│   │   │   ├── test_preprocessors.py
│   │   │   └── test_validation.py
│   │   └── tox.ini
│   └── ml_api
│       ├── Makefile
│       ├── __init__.py
│       ├── alembic
│       │   ├── env.py
│       │   ├── script.py.mako
│       │   └── versions
│       │       └── cf4abb13368d_create_prediction_tables.py
│       ├── alembic.ini
│       ├── api
│       │   ├── __init__.py
│       │   ├── app.py
│       │   ├── config.py
│       │   ├── controller.py
│       │   ├── monitoring
│       │   │   ├── __init__.py
│       │   │   └── middleware.py
│       │   ├── persistence
│       │   │   ├── __init__.py
│       │   │   ├── core.py
│       │   │   ├── data_access.py
│       │   │   └── models.py
│       │   └── spec
│       │       ├── __init__.py
│       │       └── api.yaml
│       ├── differential_tests
│       │   ├── __init__.py
│       │   ├── __main__.py
│       │   ├── compare.py
│       │   └── sample_payloads
│       │       └── sample_input1.json
│       ├── docker
│       │   ├── Dockerfile
│       │   ├── Dockerfile.test
│       │   ├── config
│       │   │   ├── grafana
│       │   │   │   ├── basic_cadvisor_dashboard_ml_api.json
│       │   │   │   ├── grafana_flask_basic_dashboard_ml_api.json
│       │   │   │   └── ml_api_dashboard.json
│       │   │   └── prometheus
│       │   │       └── prometheus.yml
│       │   ├── docker-compose-ci-candidate.yml
│       │   ├── docker-compose-ci-master.yml
│       │   ├── docker-compose-elk.yml
│       │   ├── docker-compose.test.yml
│       │   ├── docker-compose.yml
│       │   ├── elasticsearch
│       │   │   └── config
│       │   │       └── elasticsearch.yml
│       │   ├── kibana
│       │   │   └── config
│       │   │       ├── kibana.yml
│       │   │       └── kibana_example_inputs_dashboard.ndjson
│       │   ├── logstash
│       │   │   ├── config
│       │   │   │   └── logstash.yml
│       │   │   └── pipeline
│       │   │       └── logstash.conf
│       │   └── workaround_32_os
│       │       ├── Dockerfile.workaround
│       │       └── docker-compose-workaround.yml
│       ├── gunicorn_logging.conf
│       ├── mypy.ini
│       ├── requirements
│       │   ├── requirements.txt
│       │   └── test_requirements.txt
│       ├── run.py
│       ├── scripts
│       │   ├── differential_tests.sh
│       │   └── populate_database.py
│       ├── tests
│       │   ├── __init__.py
│       │   ├── conftest.py
│       │   ├── test_api.py
│       │   ├── test_back_to_back_models.py
│       │   └── test_persistence.py
│       └── tox.ini
└── research_env
    ├── gradient_boosting_model.ipynb
    └── requirements.txt

ml_lifecycle.png

Resources

About

To monitor and test : Model Deployments in Machine Learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published