MLOps course MISIS University
Project description
mlops_misis
roman-shinkarenko-17 MLOps MISIS Course
Github Actions
Отправка в pypi при открытии pull request в main
Билд докер образа и отправка в docker hub при создании тэга
Запуск airflow
Перед первым запуском
mkdir -p ./dags ./logs ./plugins ./config
echo -e "AIRFLOW_UID=$(id -u)" > .env
make airflow_up
или
docker compose up airflow-init
docker compose up --build -d
Web доступен на 8080 порте
Логин: airflow
Пароль:airflow
Даги
Генерация датасета
Обучение модели
Сенсор предикт по файлу с удалением
pylint
tests coverage and results
Запуск
- установка зависимостей
pip install -r requirements.txt
- конфигурация config.yaml
ml_model_params:
ml_model_type: RandomForestClassifier # LogisticRegression | DecisionTreeClassifier
max_depth: 10 # обязательный параметр для моделях на деревьях
n_estimators: 100 # обязательный параметр для RandomForestClassifier
C: 1.0 # обязательный параметр для LogisticRegression
run_name: run_1 # название запуска
validate_model: True # проводить валидацию модели или нет
data_params:
n_features: 123 # число признаков
n_samples: 1000 # количество объектов
dataset_name: dataset_1 # название датасета
train_size: 0.75 # часть выборки для обучения
Project Organization
├── LICENSE <- Open-source license if one is chosen
├── Makefile <- Makefile with convenience commands like `make data` or `make train`
├── README.md <- The top-level README for developers using this project.
├── data
│ ├── external <- Data from third party sources.
│ ├── interim <- Intermediate data that has been transformed.
│ ├── processed <- The final, canonical data sets for modeling.
│ └── raw <- The original, immutable data dump.
│
├── docs <- A default mkdocs project; see www.mkdocs.org for details
│
├── models <- Trained and serialized models, model predictions, or model summaries
│
├── notebooks <- Jupyter notebooks. Naming convention is a number (for ordering),
│ the creator's initials, and a short `-` delimited description, e.g.
│ `1.0-jqp-initial-data-exploration`.
│
├── pyproject.toml <- Project configuration file with package metadata for
│ mlops_misis and configuration for tools like black
│
├── references <- Data dictionaries, manuals, and all other explanatory materials.
│
├── reports <- Generated analysis as HTML, PDF, LaTeX, etc.
│ └── figures <- Generated graphics and figures to be used in reporting
│
├── requirements.txt <- The requirements file for reproducing the analysis environment, e.g.
│ generated with `pip freeze > requirements.txt`
│
├── setup.cfg <- Configuration file for flake8
│
└── mlops_misis <- Source code for use in this project.
│
├── __init__.py <- Makes mlops_misis a Python module
│
├── config.py <- Store useful variables and configuration
│
├── dataset.py <- Scripts to download or generate data
│
├── features.py <- Code to create features for modeling
│
├── modeling
│ ├── __init__.py
│ ├── predict.py <- Code to run model inference with trained models
│ └── train.py <- Code to train models
│
└── plots.py <- Code to create visualizations
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
mlops_misis-0.0.3.tar.gz
(6.0 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mlops_misis-0.0.3.tar.gz.
File metadata
- Download URL: mlops_misis-0.0.3.tar.gz
- Upload date:
- Size: 6.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
699b38372c3100acdad052f3254c944cd8eb3fd6120ddf9d52ab0389b514d5a1
|
|
| MD5 |
f95c47da409c761d08c80e4268311c00
|
|
| BLAKE2b-256 |
13eb630fc57d886ace5cef9589f39317b311a38907e3b7f9a1f077d6c9a8e654
|
File details
Details for the file mlops_misis-0.0.3-py3-none-any.whl.
File metadata
- Download URL: mlops_misis-0.0.3-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
204c377881f6513fdc414cceb395bcdf5ec6eb122bcd0f0f301c22505cced10c
|
|
| MD5 |
85091deedc357904b1b96078411d6983
|
|
| BLAKE2b-256 |
6ff3425db05465d5c0ecea516a073892cdf3b05c128eae84b64c0a3cb5d8941b
|