From a720c20fe1c3df927838b71106606a273fe99104 Mon Sep 17 00:00:00 2001 From: mariotgb Date: Tue, 28 Apr 2026 23:08:49 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BF=D0=B5=D1=80=D0=B2=D0=BE=D0=BD=D0=B0?= =?UTF-8?q?=D1=87=D0=B0=D0=BB=D1=8C=D0=BD=D0=B0=D1=8F=20=D0=BD=D0=B0=D1=81?= =?UTF-8?q?=D1=82=D1=80=D0=BE=D0=B9=D0=BA=D0=B0=20=D0=BE=D0=BA=D1=80=D1=83?= =?UTF-8?q?=D0=B6=D0=B5=D0=BD=D0=B8=D1=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .gitignore | 9 ++++ README.md | 18 ++++++++ requirements.txt | 112 +++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 139 insertions(+) create mode 100644 .gitignore create mode 100644 README.md create mode 100644 requirements.txt diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e80cfce --- /dev/null +++ b/.gitignore @@ -0,0 +1,9 @@ +.venv/ +__pycache__/ +.ipynb_checkpoints/ +*.pyc +*.pyo +*.pyd +.env +.DS_Store +data/ \ No newline at end of file diff --git a/README.md b/README.md new file mode 100644 index 0000000..3180285 --- /dev/null +++ b/README.md @@ -0,0 +1,18 @@ +Scikit-learn и искусственные нейронные сети + +## Тема работы + +Model Selection - выбор модели и подбор гиперпараметров. + +## Выбранный пример + +Comparing randomized search and grid search for hyperparameter estimation. +Ссылка: https://scikit-learn.org/stable/auto_examples/model_selection/plot_randomized_search.html +## Цель + +Сравнить два метода подбора гиперпараметров модели: + +- `GridSearchCV` - полный перебор заданной сетки параметров; +- `RandomizedSearchCV` - случайный перебор заданного количества комбинаций параметров. + +Целью является определить, какой подход быстрее и какое качество модели получается после подбора гиперпараметров. \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..71a6d93 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,112 @@ +anyio==4.13.0 +argon2-cffi==25.1.0 +argon2-cffi-bindings==25.1.0 +arrow==1.4.0 +asttokens==3.0.1 +async-lru==2.3.0 +attrs==26.1.0 +babel==2.18.0 +beautifulsoup4==4.14.3 +bleach==6.3.0 +certifi==2026.4.22 +cffi==2.0.0 +charset-normalizer==3.4.7 +colorama==0.4.6 +comm==0.2.3 +contourpy==1.3.3 +cycler==0.12.1 +debugpy==1.8.20 +decorator==5.2.1 +defusedxml==0.7.1 +executing==2.2.1 +fastjsonschema==2.21.2 +fonttools==4.62.1 +fqdn==1.5.1 +h11==0.16.0 +httpcore==1.0.9 +httpx==0.28.1 +idna==3.13 +ipykernel==7.2.0 +ipython==9.13.0 +ipython_pygments_lexers==1.1.1 +isoduration==20.11.0 +jedi==0.19.2 +Jinja2==3.1.6 +joblib==1.5.3 +json5==0.14.0 +jsonpointer==3.1.1 +jsonschema==4.26.0 +jsonschema-specifications==2025.9.1 +jupyter-events==0.12.1 +jupyter-lsp==2.3.1 +jupyter_client==8.8.0 +jupyter_core==5.9.1 +jupyter_server==2.17.0 +jupyter_server_terminals==0.5.4 +jupyterlab==4.5.6 +jupyterlab_pygments==0.3.0 +jupyterlab_server==2.28.0 +kiwisolver==1.5.0 +lark==1.3.1 +liac-arff==2.5.0 +MarkupSafe==3.0.3 +matplotlib==3.10.9 +matplotlib-inline==0.2.1 +minio==7.2.20 +mistune==3.2.0 +nbclient==0.10.4 +nbconvert==7.17.1 +nbformat==5.10.4 +nest-asyncio==1.6.0 +notebook==7.5.5 +notebook_shim==0.2.4 +numpy==2.4.4 +openml==0.15.1 +packaging==26.2 +pandas==3.0.2 +pandocfilters==1.5.1 +parso==0.8.6 +pillow==12.2.0 +platformdirs==4.9.6 +prometheus_client==0.25.0 +prompt_toolkit==3.0.52 +psutil==7.2.2 +pure_eval==0.2.3 +pyarrow==24.0.0 +pycparser==3.0 +pycryptodome==3.23.0 +Pygments==2.20.0 +pyparsing==3.3.2 +python-dateutil==2.9.0.post0 +python-json-logger==4.1.0 +pywinpty==3.0.3 +PyYAML==6.0.3 +pyzmq==27.1.0 +referencing==0.37.0 +requests==2.33.1 +rfc3339-validator==0.1.4 +rfc3986-validator==0.1.1 +rfc3987-syntax==1.1.0 +rpds-py==0.30.0 +scikit-learn==1.8.0 +scipy==1.17.1 +Send2Trash==2.1.0 +setuptools==82.0.1 +six==1.17.0 +soupsieve==2.8.3 +stack-data==0.6.3 +terminado==0.18.1 +threadpoolctl==3.6.0 +tinycss2==1.4.0 +tornado==6.5.5 +tqdm==4.67.3 +traitlets==5.14.3 +typing_extensions==4.15.0 +tzdata==2026.2 +uri-template==1.3.0 +urllib3==2.6.3 +wcwidth==0.6.0 +webcolors==25.10.0 +webencodings==0.5.1 +websocket-client==1.9.0 +xmltodict==1.0.4