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.2.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.2.tar.gz.
File metadata
- Download URL: mlops_misis-0.0.2.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 |
053b3f64949256ccbf55273d28ce6e6e4f569edb9eb273193fad0c5e6409ed7e
|
|
| MD5 |
1afdafaac4ae456df2baecb3d6f6e9c7
|
|
| BLAKE2b-256 |
7904b368032b92ed750c08da906ab7d2087b1468bedf5b87403b87933d3ca5b7
|
File details
Details for the file mlops_misis-0.0.2-py3-none-any.whl.
File metadata
- Download URL: mlops_misis-0.0.2-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 |
60534a1de75deb453747713ee8a6eb1267ec3b37bbab1e87a85a167abefa2e07
|
|
| MD5 |
ba4fa9bc89a9c6d5c28fc4caf39dad02
|
|
| BLAKE2b-256 |
ca84d847b88ab91bf425073c7ca4f75d6786416cd702296cf965c1c711ae403e
|