Add empty project
This commit is contained in:
commit
57f6b71de5
1
.gitattributes
vendored
Normal file
1
.gitattributes
vendored
Normal file
@ -0,0 +1 @@
|
||||
* text=crlf
|
279
.gitignore
vendored
Normal file
279
.gitignore
vendored
Normal file
@ -0,0 +1,279 @@
|
||||
|
||||
# Created by https://www.toptal.com/developers/gitignore/api/python,pycharm+all
|
||||
# Edit at https://www.toptal.com/developers/gitignore?templates=python,pycharm+all
|
||||
|
||||
### PyCharm+all ###
|
||||
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio, WebStorm and Rider
|
||||
# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839
|
||||
|
||||
# User-specific stuff
|
||||
.idea/**/workspace.xml
|
||||
.idea/**/tasks.xml
|
||||
.idea/**/usage.statistics.xml
|
||||
.idea/**/dictionaries
|
||||
.idea/**/shelf
|
||||
|
||||
# AWS User-specific
|
||||
.idea/**/aws.xml
|
||||
|
||||
# Generated files
|
||||
.idea/**/contentModel.xml
|
||||
|
||||
# Sensitive or high-churn files
|
||||
.idea/**/dataSources/
|
||||
.idea/**/dataSources.ids
|
||||
.idea/**/dataSources.local.xml
|
||||
.idea/**/sqlDataSources.xml
|
||||
.idea/**/dynamic.xml
|
||||
.idea/**/uiDesigner.xml
|
||||
.idea/**/dbnavigator.xml
|
||||
|
||||
# Gradle
|
||||
.idea/**/gradle.xml
|
||||
.idea/**/libraries
|
||||
|
||||
# Gradle and Maven with auto-import
|
||||
# When using Gradle or Maven with auto-import, you should exclude module files,
|
||||
# since they will be recreated, and may cause churn. Uncomment if using
|
||||
# auto-import.
|
||||
# .idea/artifacts
|
||||
# .idea/compiler.xml
|
||||
# .idea/jarRepositories.xml
|
||||
# .idea/modules.xml
|
||||
# .idea/*.iml
|
||||
# .idea/modules
|
||||
# *.iml
|
||||
# *.ipr
|
||||
|
||||
# CMake
|
||||
cmake-build-*/
|
||||
|
||||
# Mongo Explorer plugin
|
||||
.idea/**/mongoSettings.xml
|
||||
|
||||
# File-based project format
|
||||
*.iws
|
||||
|
||||
# IntelliJ
|
||||
out/
|
||||
|
||||
# mpeltonen/sbt-idea plugin
|
||||
.idea_modules/
|
||||
|
||||
# JIRA plugin
|
||||
atlassian-ide-plugin.xml
|
||||
|
||||
# Cursive Clojure plugin
|
||||
.idea/replstate.xml
|
||||
|
||||
# SonarLint plugin
|
||||
.idea/sonarlint/
|
||||
|
||||
# Crashlytics plugin (for Android Studio and IntelliJ)
|
||||
com_crashlytics_export_strings.xml
|
||||
crashlytics.properties
|
||||
crashlytics-build.properties
|
||||
fabric.properties
|
||||
|
||||
# Editor-based Rest Client
|
||||
.idea/httpRequests
|
||||
|
||||
# Android studio 3.1+ serialized cache file
|
||||
.idea/caches/build_file_checksums.ser
|
||||
|
||||
### PyCharm+all Patch ###
|
||||
# Ignores the whole .idea folder and all .iml files
|
||||
# See https://github.com/joeblau/gitignore.io/issues/186 and https://github.com/joeblau/gitignore.io/issues/360
|
||||
|
||||
.idea/*
|
||||
|
||||
# Reason: https://github.com/joeblau/gitignore.io/issues/186#issuecomment-249601023
|
||||
|
||||
*.iml
|
||||
modules.xml
|
||||
.idea/misc.xml
|
||||
*.ipr
|
||||
|
||||
# Sonarlint plugin
|
||||
.idea/sonarlint
|
||||
|
||||
### Python ###
|
||||
# Byte-compiled / optimized / DLL files
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
|
||||
# C extensions
|
||||
*.so
|
||||
|
||||
# Distribution / packaging
|
||||
.Python
|
||||
build/
|
||||
develop-eggs/
|
||||
dist/
|
||||
downloads/
|
||||
eggs/
|
||||
.eggs/
|
||||
lib/
|
||||
lib64/
|
||||
parts/
|
||||
sdist/
|
||||
var/
|
||||
wheels/
|
||||
share/python-wheels/
|
||||
*.egg-info/
|
||||
.installed.cfg
|
||||
*.egg
|
||||
MANIFEST
|
||||
|
||||
# PyInstaller
|
||||
# Usually these files are written by a python script from a template
|
||||
# before PyInstaller builds the exe, so as to inject date/other infos into it.
|
||||
*.manifest
|
||||
*.spec
|
||||
|
||||
# Installer logs
|
||||
pip-log.txt
|
||||
pip-delete-this-directory.txt
|
||||
|
||||
# Unit test / coverage reports
|
||||
htmlcov/
|
||||
.tox/
|
||||
.nox/
|
||||
.coverage
|
||||
.coverage.*
|
||||
.cache
|
||||
nosetests.xml
|
||||
coverage.xml
|
||||
*.cover
|
||||
*.py,cover
|
||||
.hypothesis/
|
||||
.pytest_cache/
|
||||
cover/
|
||||
|
||||
# Translations
|
||||
*.mo
|
||||
*.pot
|
||||
|
||||
# Django stuff:
|
||||
*.log
|
||||
local_settings.py
|
||||
db.sqlite3
|
||||
db.sqlite3-journal
|
||||
|
||||
# Flask stuff:
|
||||
instance/
|
||||
.webassets-cache
|
||||
|
||||
# Scrapy stuff:
|
||||
.scrapy
|
||||
|
||||
# Sphinx documentation
|
||||
docs/_build/
|
||||
|
||||
# PyBuilder
|
||||
.pybuilder/
|
||||
target/
|
||||
|
||||
# Jupyter Notebook
|
||||
.ipynb_checkpoints
|
||||
|
||||
# IPython
|
||||
profile_default/
|
||||
ipython_config.py
|
||||
|
||||
# pyenv
|
||||
# For a library or package, you might want to ignore these files since the code is
|
||||
# intended to run in multiple environments; otherwise, check them in:
|
||||
# .python-version
|
||||
|
||||
# pipenv
|
||||
# According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
|
||||
# However, in case of collaboration, if having platform-specific dependencies or dependencies
|
||||
# having no cross-platform support, pipenv may install dependencies that don't work, or not
|
||||
# install all needed dependencies.
|
||||
#Pipfile.lock
|
||||
|
||||
# poetry
|
||||
# Similar to Pipfile.lock, it is generally recommended to include poetry.lock in version control.
|
||||
# This is especially recommended for binary packages to ensure reproducibility, and is more
|
||||
# commonly ignored for libraries.
|
||||
# https://python-poetry.org/docs/basic-usage/#commit-your-poetrylock-file-to-version-control
|
||||
#poetry.lock
|
||||
|
||||
# PEP 582; used by e.g. github.com/David-OConnor/pyflow
|
||||
__pypackages__/
|
||||
|
||||
# Celery stuff
|
||||
celerybeat-schedule
|
||||
celerybeat.pid
|
||||
|
||||
# SageMath parsed files
|
||||
*.sage.py
|
||||
|
||||
# Environments
|
||||
.env
|
||||
.venv
|
||||
env/
|
||||
venv/
|
||||
ENV/
|
||||
env.bak/
|
||||
venv.bak/
|
||||
|
||||
# Spyder project settings
|
||||
.spyderproject
|
||||
.spyproject
|
||||
|
||||
# Rope project settings
|
||||
.ropeproject
|
||||
|
||||
# mkdocs documentation
|
||||
/site
|
||||
|
||||
# mypy
|
||||
.mypy_cache/
|
||||
.dmypy.json
|
||||
dmypy.json
|
||||
|
||||
# Pyre type checker
|
||||
.pyre/
|
||||
|
||||
# pytype static type analyzer
|
||||
.pytype/
|
||||
|
||||
# Cython debug symbols
|
||||
cython_debug/
|
||||
|
||||
# PyCharm
|
||||
# JetBrains specific template is maintainted in a separate JetBrains.gitignore that can
|
||||
# be found at https://github.com/github/gitignore/blob/main/Global/JetBrains.gitignore
|
||||
# and can be added to the global gitignore or merged into this file. For a more nuclear
|
||||
# option (not recommended) you can uncomment the following to ignore the entire idea folder.
|
||||
#.idea/
|
||||
|
||||
### VisualStudioCode ###
|
||||
.vscode/*
|
||||
!.vscode/settings.json
|
||||
!.vscode/tasks.json
|
||||
!.vscode/launch.json
|
||||
!.vscode/extensions.json
|
||||
!.vscode/*.code-snippets
|
||||
|
||||
# Local History for Visual Studio Code
|
||||
.history/
|
||||
|
||||
# Built Visual Studio Code Extensions
|
||||
*.vsix
|
||||
|
||||
### VisualStudioCode Patch ###
|
||||
# Ignore all local history of files
|
||||
.history
|
||||
.ionide
|
||||
|
||||
# End of https://www.toptal.com/developers/gitignore/api/python,pycharm+all
|
||||
|
||||
# JS
|
||||
node_modules/
|
||||
|
||||
data/aa-domestic-delays-2018.csv.zip
|
||||
data/aa-domestic-delays-2018.csv/
|
70001
data/cardio_train.csv
Normal file
70001
data/cardio_train.csv
Normal file
File diff suppressed because it is too large
Load Diff
201
data/wh_data.csv
Normal file
201
data/wh_data.csv
Normal file
@ -0,0 +1,201 @@
|
||||
,Height,Weight
|
||||
0,167.0812,51.24263038548752
|
||||
1,181.6608,61.900226757369616
|
||||
2,176.276,69.40136054421768
|
||||
3,173.2788,64.55328798185941
|
||||
4,172.18660000000003,65.4421768707483
|
||||
5,174.49800000000002,55.91836734693877
|
||||
6,177.292,64.16780045351474
|
||||
7,177.8254,61.88662131519275
|
||||
8,172.466,50.961451247165535
|
||||
9,169.62120000000002,54.72562358276644
|
||||
10,168.88459999999998,57.80045351473923
|
||||
11,171.75480000000002,51.764172335600904
|
||||
12,173.482,56.965986394557824
|
||||
13,170.4848,55.53741496598639
|
||||
14,173.43120000000002,52.64852607709751
|
||||
15,180.5686,63.49206349206349
|
||||
16,168.80839999999998,58.73015873015873
|
||||
17,174.371,64.83900226757369
|
||||
18,180.9242,62.53968253968254
|
||||
19,170.5102,56.25396825396825
|
||||
20,172.2882,64.07256235827664
|
||||
21,174.9552,65.09750566893423
|
||||
22,161.23919999999998,44.399092970521544
|
||||
23,173.7868,58.73015873015873
|
||||
24,171.78019999999998,64.33106575963718
|
||||
25,170.71339999999998,58.82993197278911
|
||||
26,179.9336,64.58956916099773
|
||||
27,171.4246,59.65986394557824
|
||||
28,168.9862,49.12925170068027
|
||||
29,166.2176,51.65079365079365
|
||||
30,176.58079999999998,46.848072562358276
|
||||
31,167.1574,54.76190476190476
|
||||
32,172.2628,57.04761904761905
|
||||
33,179.32399999999998,61.77777777777778
|
||||
34,182.37199999999999,63.53741496598639
|
||||
35,175.7934,58.39002267573696
|
||||
36,169.672,64.30839002267574
|
||||
37,171.8564,54.97959183673469
|
||||
38,172.2374,59.569160997732425
|
||||
39,162.68699999999998,48.39455782312925
|
||||
40,174.16779999999997,56.39909297052154
|
||||
41,165.55720000000002,56.625850340136054
|
||||
42,176.9364,63.34240362811791
|
||||
43,172.6438,62.29931972789116
|
||||
44,167.5892,48.276643990929706
|
||||
45,174.42180000000002,58.39455782312925
|
||||
46,169.87519999999998,66.06802721088435
|
||||
47,171.958,52.97959183673469
|
||||
48,177.34279999999998,65.13378684807256
|
||||
49,175.48860000000002,61.192743764172334
|
||||
50,177.57139999999998,66.67573696145125
|
||||
51,171.0182,57.29251700680272
|
||||
52,178.48579999999998,56.90702947845805
|
||||
53,175.51399999999998,52.476190476190474
|
||||
54,166.0652,56.00453514739229
|
||||
55,178.2572,67.0702947845805
|
||||
56,178.8414,70.70294784580499
|
||||
57,169.01160000000002,58.08163265306122
|
||||
58,168.5544,54.136054421768705
|
||||
59,171.5516,60.68480725623583
|
||||
60,168.91,58.38095238095237
|
||||
61,175.26,62.38095238095239
|
||||
62,173.482,58.84807256235827
|
||||
63,170.20540000000003,58.42176870748299
|
||||
64,179.8574,61.36961451247165
|
||||
65,173.2788,49.70975056689342
|
||||
66,175.41240000000002,64.61224489795919
|
||||
67,172.0342,60.20408163265306
|
||||
68,170.7388,46.95238095238095
|
||||
69,171.11980000000003,56.56689342403628
|
||||
70,165.7858,58.64399092970521
|
||||
71,179.9336,60.78004535147392
|
||||
72,177.5968,63.673469387755105
|
||||
73,163.2966,46.63945578231292
|
||||
74,173.355,58.28571428571429
|
||||
75,168.5544,54.557823129251695
|
||||
76,173.6344,62.857142857142854
|
||||
77,166.31920000000002,60.29931972789116
|
||||
78,177.0888,52.435374149659864
|
||||
79,172.0342,55.564625850340136
|
||||
80,174.3456,61.05668934240362
|
||||
81,169.62120000000002,55.28344671201814
|
||||
82,177.927,70.46712018140589
|
||||
83,168.3512,58.476190476190474
|
||||
84,175.768,58.548752834467116
|
||||
85,175.59019999999998,63.25170068027211
|
||||
86,171.0944,63.89569160997732
|
||||
87,178.0286,59.678004535147394
|
||||
88,178.2572,54.9297052154195
|
||||
89,173.3042,59.64172335600907
|
||||
90,173.0502,61.92743764172336
|
||||
91,178.40959999999998,64.16780045351474
|
||||
92,181.5846,63.7687074829932
|
||||
93,175.768,50.857142857142854
|
||||
94,177.9524,60.52607709750567
|
||||
95,179.22240000000002,59.77324263038549
|
||||
96,168.37660000000002,54.435374149659864
|
||||
97,161.1122,55.82766439909297
|
||||
98,169.5958,58.113378684807245
|
||||
99,174.9806,52.3718820861678
|
||||
100,164.7698,46.29931972789116
|
||||
101,170.4086,59.115646258503396
|
||||
102,173.60899999999998,60.852607709750565
|
||||
103,166.6494,44.73469387755102
|
||||
104,172.11040000000003,51.954648526077094
|
||||
105,172.77079999999998,56.00453514739229
|
||||
106,171.8564,55.804988662131514
|
||||
107,168.4274,57.36054421768708
|
||||
108,176.3776,58.24036281179138
|
||||
109,162.1536,57.68253968253968
|
||||
110,172.0088,55.35600907029478
|
||||
111,177.927,57.87301587301587
|
||||
112,178.2826,59.70068027210883
|
||||
113,167.513,50.74829931972789
|
||||
114,177.8254,55.3469387755102
|
||||
115,174.2694,58.29931972789116
|
||||
116,174.7774,60.17233560090703
|
||||
117,177.1904,61.70521541950113
|
||||
118,166.26839999999999,52.58049886621315
|
||||
119,174.8282,62.08616780045352
|
||||
120,167.132,54.367346938775505
|
||||
121,170.71339999999998,49.43764172335601
|
||||
122,176.32680000000002,58.17233560090703
|
||||
123,175.1076,61.35600907029478
|
||||
124,172.5676,48.46258503401361
|
||||
125,166.7002,55.91383219954648
|
||||
126,168.91,49.66439909297052
|
||||
127,172.5422,54.10884353741496
|
||||
128,174.9806,63.60090702947846
|
||||
129,178.40959999999998,60.76190476190475
|
||||
130,173.4058,60.126984126984134
|
||||
131,180.9242,59.274376417233555
|
||||
132,175.51399999999998,52.40816326530612
|
||||
133,163.57600000000002,56.140589569161
|
||||
134,180.594,58.113378684807245
|
||||
135,173.2788,61.65986394557823
|
||||
136,167.4368,52.893424036281175
|
||||
137,171.2976,57.51473922902494
|
||||
138,187.70600000000002,68.65759637188208
|
||||
139,177.7492,59.13832199546486
|
||||
140,176.58079999999998,61.77324263038549
|
||||
141,165.55720000000002,51.42857142857143
|
||||
142,172.74540000000002,56.83900226757369
|
||||
143,173.58360000000002,57.859410430839
|
||||
144,165.55720000000002,48.59863945578231
|
||||
145,173.3804,52.81632653061224
|
||||
146,174.16779999999997,60.698412698412696
|
||||
147,163.83,51.197278911564624
|
||||
148,174.52339999999998,59.3015873015873
|
||||
149,174.9806,62.47619047619047
|
||||
150,176.63160000000002,56.87074829931973
|
||||
151,171.19600000000003,62.79818594104308
|
||||
152,168.85920000000002,54.79365079365079
|
||||
153,167.6654,63.560090702947846
|
||||
154,183.9976,62.013605442176875
|
||||
155,162.8902,48.12244897959184
|
||||
156,180.28920000000002,72.09070294784581
|
||||
157,171.45,49.337868480725625
|
||||
158,182.9308,62.93877551020408
|
||||
159,165.8874,52.56689342403628
|
||||
160,170.3832,66.34467120181405
|
||||
161,163.5506,49.832199546485256
|
||||
162,176.1998,63.06122448979592
|
||||
163,173.68519999999998,54.37641723356009
|
||||
164,165.8874,58.19047619047619
|
||||
165,170.53560000000002,57.70521541950113
|
||||
166,173.7106,52.25850340136054
|
||||
167,168.37660000000002,56.59863945578231
|
||||
168,170.6626,57.573696145124714
|
||||
169,167.6146,50.4625850340136
|
||||
170,176.3522,55.605442176870746
|
||||
171,172.6438,56.331065759637184
|
||||
172,172.11040000000003,56.53061224489796
|
||||
173,165.8112,54.20408163265306
|
||||
174,187.5282,63.17460317460318
|
||||
175,169.69740000000002,47.54195011337868
|
||||
176,169.9006,55.80045351473923
|
||||
177,166.97959999999998,53.91836734693877
|
||||
178,167.5892,55.09750566893424
|
||||
179,169.1132,54.08163265306122
|
||||
180,170.4594,61.23356009070295
|
||||
181,167.30980000000002,52.71201814058957
|
||||
182,169.62120000000002,49.51020408163265
|
||||
183,174.59959999999998,56.33560090702947
|
||||
184,168.22420000000002,64.01814058956916
|
||||
185,167.5384,58.57142857142857
|
||||
186,174.1932,57.99092970521542
|
||||
187,169.13860000000003,54.8390022675737
|
||||
188,170.1038,57.89115646258504
|
||||
189,172.9232,46.01814058956916
|
||||
190,178.2826,65.75510204081633
|
||||
191,166.42079999999999,50.317460317460316
|
||||
192,171.3484,60.25396825396826
|
||||
193,171.2214,66.36734693877551
|
||||
194,176.9364,66.02721088435374
|
||||
195,167.132,54.802721088435376
|
||||
196,167.9194,52.507936507936506
|
||||
197,173.3296,58.1859410430839
|
||||
198,172.77079999999998,57.80952380952381
|
||||
199,181.3306,57.995464852607704
|
|
BIN
docs/path1.png
Normal file
BIN
docs/path1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 22 KiB |
BIN
docs/path2.png
Normal file
BIN
docs/path2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 74 KiB |
BIN
docs/path3.png
Normal file
BIN
docs/path3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 129 KiB |
BIN
docs/path4.png
Normal file
BIN
docs/path4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 38 KiB |
3503
poetry.lock
generated
Normal file
3503
poetry.lock
generated
Normal file
File diff suppressed because it is too large
Load Diff
2
poetry.toml
Normal file
2
poetry.toml
Normal file
@ -0,0 +1,2 @@
|
||||
[virtualenvs]
|
||||
in-project = true
|
26
pyproject.toml
Normal file
26
pyproject.toml
Normal file
@ -0,0 +1,26 @@
|
||||
[project]
|
||||
name = "ai"
|
||||
version = "1.0.0"
|
||||
description = "AI Interpretation Examples"
|
||||
authors = [
|
||||
{name = "Aleksey Filippov", email = "al.filippov@ulstu.ru"}
|
||||
]
|
||||
readme = "readme.md"
|
||||
requires-python = ">=3.11,<3.12"
|
||||
|
||||
[tool.poetry]
|
||||
package-mode = false
|
||||
|
||||
[tool.poetry.dependencies]
|
||||
jupyter = "^1.1.1"
|
||||
numpy = "^1.26.4"
|
||||
pandas = "^1.5.3"
|
||||
scikit-learn = "^1.6.1"
|
||||
matplotlib= "^3.10.1"
|
||||
machine-learning-datasets = "^0.1.23"
|
||||
statsmodels = "^0.14.4"
|
||||
mlxtend = "^0.23.4"
|
||||
|
||||
[build-system]
|
||||
requires = ["poetry-core"]
|
||||
build-backend = "poetry.core.masonry.api"
|
43
readme.md
Normal file
43
readme.md
Normal file
@ -0,0 +1,43 @@
|
||||
## Примеры оценки набора данных и интерпретации традиционных моделей машинного обучения по дисциплине "Планирование вычислительных экспериментов"
|
||||
|
||||
### Python
|
||||
|
||||
Используется Python версии 3.11
|
||||
|
||||
Установщик https://www.python.org/ftp/python/3.11.9/python-3.11.9-amd64.exe
|
||||
|
||||
### Poetry
|
||||
|
||||
Для создания и настройки окружения проекта необходимо установить poetry
|
||||
|
||||
**Для Windows (Powershell)**
|
||||
|
||||
```
|
||||
(Invoke-WebRequest -Uri https://install.python-poetry.org -UseBasicParsing).Content | python -
|
||||
```
|
||||
|
||||
**Linux, macOS, Windows (WSL)**
|
||||
|
||||
```
|
||||
curl -sSL https://install.python-poetry.org | python3 -
|
||||
```
|
||||
|
||||
**Добавление poetry в PATH**
|
||||
|
||||
1. Открыть настройки переменных среды \
|
||||
\
|
||||
<img src="docs/path1.png" width="300"> \
|
||||
\
|
||||
<img src="docs/path2.png" width="400"> \
|
||||
2. Изменить переменную Path текущего пользователя \
|
||||
\
|
||||
<img src="docs/path3.png" width="500"> \
|
||||
3. Добавление пути `%APPDATA%\Python\Scripts` до исполняемого файла poetry \
|
||||
\
|
||||
<img src="docs/path4.png" width="400">
|
||||
|
||||
### Создание окружения
|
||||
|
||||
```
|
||||
poetry install
|
||||
```
|
Loading…
x
Reference in New Issue
Block a user