Skip to content

Commit

Permalink
final
Browse files Browse the repository at this point in the history
  • Loading branch information
Vlad committed Oct 24, 2021
1 parent 5e18d5e commit 46ba586
Show file tree
Hide file tree
Showing 35 changed files with 94,373 additions and 4,682 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,11 @@
В этом репозитории хранится исходный код по построению предиктивной модели концентрации загрязняющих веществ (CO, NO2, NO, PM2.5, PM10) по городу Москва за 2020 календарный год рамках [задачи](https://leaders2021.innoagency.ru/04/) хакатона ЛЦТ. А также исходный код по моделированию распространения загрязняющих веществ на территории города Москва.

<p align="center">
<img align="middle" src="./report/gifs/pollution_simulation_simple.gif" alt="Simulation Demo" width="400" height="600" />
<img align="middle" src="./report/gifs/pollution_simulation_neuro.gif" alt="Simulation Demo" width="800" height="600" />
</p>

Отслеживание растпространения загрязняющих вещества по территории города.

## Базовое использование предиктора

Скачайте и настроение виртуальное окружение:
Expand Down Expand Up @@ -41,4 +43,6 @@ python air_tracer -f n -a "Марьино" "NO" "21-09-2021 15:00"
```terminal
python air_tracer -h
```
Решение собиралось и тестировалось на macOS 10.15.7 (19H1419) 1,6 GHz 2‑ядерный процессор Intel Core i5.
Решение собиралось и тестировалось на macOS 10.15.7 (19H1419) 1,6 GHz 2‑ядерный процессор Intel Core i5.


Binary file added models/estimator/ae_model.onnx
Binary file not shown.
28 changes: 10 additions & 18 deletions notes/00_work_geodata.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "code",
"execution_count": 46,
"execution_count": 1,
"id": "e441337a-b4c8-41ae-88c5-0c406fc1d45b",
"metadata": {},
"outputs": [],
Expand All @@ -12,24 +12,24 @@
},
{
"cell_type": "code",
"execution_count": 47,
"execution_count": 2,
"id": "6fb3732a-b063-4772-9717-e86d47ae1f2b",
"metadata": {},
"outputs": [],
"source": [
"with open('./tmp/targets_dec.npy', 'rb') as f:\n",
"with open('./tmp/targets_extra_dec.npy', 'rb') as f:\n",
" geodata = np.load(f)\n",
" \n",
"with open('./tmp/x_coords.npy', 'rb') as f:\n",
"with open('./tmp/x_extra_coords.npy', 'rb') as f:\n",
" x_coords = np.load(f)\n",
" \n",
"with open('./tmp/y_coords.npy', 'rb') as f:\n",
"with open('./tmp/y_extra_coords.npy', 'rb') as f:\n",
" y_coords = np.load(f)"
]
},
{
"cell_type": "code",
"execution_count": 48,
"execution_count": 3,
"id": "ed58e963-afa9-4288-8657-64fbee73f90a",
"metadata": {},
"outputs": [],
Expand All @@ -47,8 +47,8 @@
},
{
"cell_type": "code",
"execution_count": 49,
"id": "3d2d6b9e-eb3d-4f27-9c6f-15ac841e49a6",
"execution_count": 4,
"id": "bc592d45-b4a4-4324-a9f5-5a9fc00a5131",
"metadata": {},
"outputs": [
{
Expand All @@ -57,7 +57,7 @@
"0.24554825411133407"
]
},
"execution_count": 49,
"execution_count": 4,
"metadata": {},
"output_type": "execute_result"
}
Expand All @@ -69,15 +69,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "9d66551a-fd93-4486-b702-091abc5ad3bb",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
"id": "d81d7d52-903c-4867-9b86-2190ad24e8ac",
"id": "b3acb655-7e1d-4165-ad49-235323ebfdb5",
"metadata": {},
"outputs": [],
"source": []
Expand Down
70 changes: 39 additions & 31 deletions notes/01_read_data.ipynb

Large diffs are not rendered by default.

528 changes: 174 additions & 354 deletions notes/03_prep_data_AEnetwork.ipynb

Large diffs are not rendered by default.

10,560 changes: 6,284 additions & 4,276 deletions notes/04_AEnetwork.ipynb

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion notes/data.json

This file was deleted.

Binary file removed notes/out.png
Binary file not shown.
Binary file removed notes/targets_dec.npy
Binary file not shown.
Binary file removed notes/temp.png
Binary file not shown.
8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Академика Анохина.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Бутлерова.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Глебовская.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Коптевский бул.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Марьино.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Останкино.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Пролетарский проспект.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Спиридоновка.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Туристская.csv

Large diffs are not rendered by default.

8,786 changes: 8,786 additions & 0 deletions notes/tmp/2020_preds/2020_Шаболовка.csv

Large diffs are not rendered by default.

File renamed without changes
Binary file added notes/tmp/inputs_sep.npy
Binary file not shown.
Binary file added notes/tmp/prediction_sep.npy
Binary file not shown.
Binary file added notes/tmp/predictor_sep.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added notes/tmp/targets_extra_dec.npy
Binary file not shown.
Binary file added notes/tmp/targets_extra_positive_dec.npy
Binary file not shown.
Binary file added notes/tmp/targets_sep.npy
Binary file not shown.
Binary file modified notes/tmp/x_coords.npy
Binary file not shown.
Binary file added notes/tmp/x_extra_coords.npy
Binary file not shown.
Binary file modified notes/tmp/y_coords.npy
Binary file not shown.
Binary file added notes/tmp/y_extra_coords.npy
Binary file not shown.
Empty file removed notes/your_file.jpeg
Empty file.
Empty file removed notes/your_file.png
Empty file.
Binary file removed report/gifs/CO_copernicus_preds.gif
Binary file not shown.
Binary file added report/gifs/pollution_simulation_neuro.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 46ba586

Please sign in to comment.