added sigma, C SVM cross validation

This commit is contained in:
andy 2021-02-23 18:22:32 +00:00
parent 4179d7fbb8
commit 1856683a4f
3 changed files with 163 additions and 31 deletions

File diff suppressed because one or more lines are too long

117
poetry.lock generated
View File

@ -29,7 +29,7 @@ name = "argon2-cffi"
version = "20.1.0"
description = "The secure Argon2 password hashing algorithm."
category = "main"
optional = true
optional = false
python-versions = "*"
[package.dependencies]
@ -59,7 +59,7 @@ name = "async-generator"
version = "1.10"
description = "Async generators and context managers for Python 3.5+"
category = "main"
optional = true
optional = false
python-versions = ">=3.5"
[[package]]
@ -67,7 +67,7 @@ name = "attrs"
version = "20.3.0"
description = "Classes Without Boilerplate"
category = "main"
optional = true
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
[package.extras]
@ -115,7 +115,7 @@ name = "bleach"
version = "3.3.0"
description = "An easy safelist-based HTML-sanitizing tool."
category = "main"
optional = true
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
[package.dependencies]
@ -198,7 +198,7 @@ name = "defusedxml"
version = "0.6.0"
description = "XML bomb protection for Python stdlib modules"
category = "main"
optional = true
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
[[package]]
@ -206,7 +206,7 @@ name = "entrypoints"
version = "0.3"
description = "Discover and load entry points from installed packages."
category = "main"
optional = true
optional = false
python-versions = ">=2.7"
[[package]]
@ -392,6 +392,19 @@ traitlets = ">=4.1.0"
[package.extras]
test = ["pytest (!=5.3.4)", "pytest-cov", "flaky", "nose", "jedi (<=0.17.2)"]
[[package]]
name = "ipympl"
version = "0.6.3"
description = "Matplotlib Jupyter Extension"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
ipykernel = ">=4.7"
ipywidgets = ">=7.6.0"
matplotlib = ">=2.0.0"
[[package]]
name = "ipython"
version = "7.20.0"
@ -431,6 +444,25 @@ category = "main"
optional = false
python-versions = "*"
[[package]]
name = "ipywidgets"
version = "7.6.3"
description = "IPython HTML widgets for Jupyter"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
ipykernel = ">=4.5.1"
ipython = {version = ">=4.0.0", markers = "python_version >= \"3.3\""}
jupyterlab-widgets = {version = ">=1.0.0", markers = "python_version >= \"3.6\""}
nbformat = ">=4.2.0"
traitlets = ">=4.3.1"
widgetsnbextension = ">=3.5.0,<3.6.0"
[package.extras]
test = ["pytest (>=3.6.0)", "pytest-cov", "mock"]
[[package]]
name = "isort"
version = "5.7.0"
@ -464,7 +496,7 @@ name = "jinja2"
version = "2.11.3"
description = "A very fast and expressive template engine."
category = "main"
optional = true
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*"
[package.dependencies]
@ -497,7 +529,7 @@ name = "jsonschema"
version = "3.2.0"
description = "An implementation of JSON Schema validation for Python"
category = "main"
optional = true
optional = false
python-versions = "*"
[package.dependencies]
@ -594,7 +626,7 @@ name = "jupyterlab-pygments"
version = "0.1.2"
description = "Pygments theme using JupyterLab CSS variables"
category = "main"
optional = true
optional = false
python-versions = "*"
[package.dependencies]
@ -620,6 +652,14 @@ requests = "*"
[package.extras]
test = ["codecov", "ipykernel", "pytest (>=5.3.2)", "pytest-cov", "jupyter-server", "pytest-console-scripts", "strict-rfc3339", "wheel"]
[[package]]
name = "jupyterlab-widgets"
version = "1.0.0"
description = "A JupyterLab extension."
category = "main"
optional = false
python-versions = ">=3.6"
[[package]]
name = "kiwisolver"
version = "1.3.1"
@ -641,7 +681,7 @@ name = "markupsafe"
version = "1.1.1"
description = "Safely add untrusted strings to HTML/XML markup."
category = "main"
optional = true
optional = false
python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*"
[[package]]
@ -673,7 +713,7 @@ name = "mistune"
version = "0.8.4"
description = "The fastest markdown parser in pure Python"
category = "main"
optional = true
optional = false
python-versions = "*"
[[package]]
@ -696,7 +736,7 @@ name = "nbclient"
version = "0.5.2"
description = "A client library for executing notebooks. Formerly nbconvert's ExecutePreprocessor."
category = "main"
optional = true
optional = false
python-versions = ">=3.6.1"
[package.dependencies]
@ -716,7 +756,7 @@ name = "nbconvert"
version = "6.0.7"
description = "Converting Jupyter Notebooks"
category = "main"
optional = true
optional = false
python-versions = ">=3.6"
[package.dependencies]
@ -746,7 +786,7 @@ name = "nbformat"
version = "5.1.2"
description = "The Jupyter Notebook format"
category = "main"
optional = true
optional = false
python-versions = ">=3.5"
[package.dependencies]
@ -764,7 +804,7 @@ name = "nest-asyncio"
version = "1.5.1"
description = "Patch asyncio to allow nested event loops"
category = "main"
optional = true
optional = false
python-versions = ">=3.5"
[[package]]
@ -772,7 +812,7 @@ name = "notebook"
version = "6.2.0"
description = "A web-based notebook environment for interactive computing"
category = "main"
optional = true
optional = false
python-versions = ">=3.5"
[package.dependencies]
@ -847,7 +887,7 @@ name = "pandocfilters"
version = "1.4.3"
description = "Utilities for writing pandoc filters in python"
category = "main"
optional = true
optional = false
python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*"
[[package]]
@ -894,7 +934,7 @@ name = "prometheus-client"
version = "0.9.0"
description = "Python client for the Prometheus monitoring system."
category = "main"
optional = true
optional = false
python-versions = "*"
[package.extras]
@ -1026,7 +1066,7 @@ name = "pyrsistent"
version = "0.17.3"
description = "Persistent/Functional/Immutable data structures"
category = "main"
optional = true
optional = false
python-versions = ">=3.5"
[[package]]
@ -1072,7 +1112,7 @@ name = "pywinpty"
version = "0.5.7"
description = "Python bindings for the winpty library"
category = "main"
optional = true
optional = false
python-versions = "*"
[[package]]
@ -1152,7 +1192,7 @@ name = "send2trash"
version = "1.5.0"
description = "Send file to trash natively under Mac OS X, Windows and Linux."
category = "main"
optional = true
optional = false
python-versions = "*"
[[package]]
@ -1213,7 +1253,7 @@ name = "terminado"
version = "0.9.2"
description = "Tornado websocket backend for the Xterm.js Javascript terminal emulator library."
category = "main"
optional = true
optional = false
python-versions = ">=3.6"
[package.dependencies]
@ -1226,7 +1266,7 @@ name = "testpath"
version = "0.4.4"
description = "Test utilities for code working with files and commands"
category = "main"
optional = true
optional = false
python-versions = "*"
[package.extras]
@ -1296,9 +1336,20 @@ name = "webencodings"
version = "0.5.1"
description = "Character encoding aliases for legacy web content"
category = "main"
optional = true
optional = false
python-versions = "*"
[[package]]
name = "widgetsnbextension"
version = "3.5.1"
description = "IPython HTML widgets for Jupyter"
category = "main"
optional = false
python-versions = "*"
[package.dependencies]
notebook = ">=4.4.1"
[[package]]
name = "wrapt"
version = "1.12.1"
@ -1313,7 +1364,7 @@ jupyter = ["jupyterlab"]
[metadata]
lock-version = "1.1"
python-versions = ">=3.8,<3.10"
content-hash = "964d6183eaf7a2d6e9d4df53f24a7ac42e4092de518a601641625987cc687f0c"
content-hash = "b395ea51e456a5ed0a75cc85aab614a431652d04e3b24ed701d8a76033d27c51"
[metadata.files]
anyio = [
@ -1560,6 +1611,10 @@ ipykernel = [
{file = "ipykernel-5.4.3-py3-none-any.whl", hash = "sha256:4ed205700001a83b5832d4821c46a5733f1bf4b1c55744314ae3c756be6b6095"},
{file = "ipykernel-5.4.3.tar.gz", hash = "sha256:697103d218e9a8828025af7986e033c89e0b36e2b6eb84a5bda4739b9a27f3cb"},
]
ipympl = [
{file = "ipympl-0.6.3-py2.py3-none-any.whl", hash = "sha256:5aa5ab26aaaf583f9fa12896b277460609926828075129c3165695243ba4fc91"},
{file = "ipympl-0.6.3.tar.gz", hash = "sha256:bf2a33863ec9025d6d767f09b9f36dd8f7fe80d1f8f5ba08fca9f4e460ee64f8"},
]
ipython = [
{file = "ipython-7.20.0-py3-none-any.whl", hash = "sha256:1918dea4bfdc5d1a830fcfce9a710d1d809cbed123e85eab0539259cb0f56640"},
{file = "ipython-7.20.0.tar.gz", hash = "sha256:1923af00820a8cf58e91d56b89efc59780a6e81363b94464a0f17c039dffff9e"},
@ -1568,6 +1623,10 @@ ipython-genutils = [
{file = "ipython_genutils-0.2.0-py2.py3-none-any.whl", hash = "sha256:72dd37233799e619666c9f639a9da83c34013a73e8bbc79a7a6348d93c61fab8"},
{file = "ipython_genutils-0.2.0.tar.gz", hash = "sha256:eb2e116e75ecef9d4d228fdc66af54269afa26ab4463042e33785b887c628ba8"},
]
ipywidgets = [
{file = "ipywidgets-7.6.3-py2.py3-none-any.whl", hash = "sha256:e6513cfdaf5878de30f32d57f6dc2474da395a2a2991b94d487406c0ab7f55ca"},
{file = "ipywidgets-7.6.3.tar.gz", hash = "sha256:9f1a43e620530f9e570e4a493677d25f08310118d315b00e25a18f12913c41f0"},
]
isort = [
{file = "isort-5.7.0-py3-none-any.whl", hash = "sha256:fff4f0c04e1825522ce6949973e83110a6e907750cd92d128b0d14aaaadbffdc"},
{file = "isort-5.7.0.tar.gz", hash = "sha256:c729845434366216d320e936b8ad6f9d681aab72dc7cbc2d51bedc3582f3ad1e"},
@ -1616,6 +1675,10 @@ jupyterlab-server = [
{file = "jupyterlab_server-2.2.1-py3-none-any.whl", hash = "sha256:b647c532bbb45dad83b1dcd18e9b8cd9a22a68f799811cbca35616b3e8d27acc"},
{file = "jupyterlab_server-2.2.1.tar.gz", hash = "sha256:8b619ec5e13c2d1ac2e3a43a8147382f41fb17b425b50fa38b1cc84849c7bf94"},
]
jupyterlab-widgets = [
{file = "jupyterlab_widgets-1.0.0-py3-none-any.whl", hash = "sha256:caeaf3e6103180e654e7d8d2b81b7d645e59e432487c1d35a41d6d3ee56b3fef"},
{file = "jupyterlab_widgets-1.0.0.tar.gz", hash = "sha256:5c1a29a84d3069208cb506b10609175b249b6486d6b1cbae8fcde2a11584fb78"},
]
kiwisolver = [
{file = "kiwisolver-1.3.1-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:fd34fbbfbc40628200730bc1febe30631347103fc8d3d4fa012c21ab9c11eca9"},
{file = "kiwisolver-1.3.1-cp36-cp36m-manylinux1_i686.whl", hash = "sha256:d3155d828dec1d43283bd24d3d3e0d9c7c350cdfcc0bd06c0ad1209c1bbc36d0"},
@ -2231,6 +2294,10 @@ webencodings = [
{file = "webencodings-0.5.1-py2.py3-none-any.whl", hash = "sha256:a0af1213f3c2226497a97e2b3aa01a7e4bee4f403f95be16fc9acd2947514a78"},
{file = "webencodings-0.5.1.tar.gz", hash = "sha256:b36a1c245f2d304965eb4e0a82848379241dc04b865afcc4aab16748587e1923"},
]
widgetsnbextension = [
{file = "widgetsnbextension-3.5.1-py2.py3-none-any.whl", hash = "sha256:bd314f8ceb488571a5ffea6cc5b9fc6cba0adaf88a9d2386b93a489751938bcd"},
{file = "widgetsnbextension-3.5.1.tar.gz", hash = "sha256:079f87d87270bce047512400efd70238820751a11d2d8cb137a5a5bdbaf255c7"},
]
wrapt = [
{file = "wrapt-1.12.1.tar.gz", hash = "sha256:b62ffa81fb85f4332a4f609cab4ac40709470da05643a082ec1eb88e6d9b97d7"},
]

View File

@ -18,6 +18,7 @@ python-dotenv = "^0.15.0"
matplotlib = "^3.3.4"
pyarrow = "^3.0.0"
scikit-learn = "^0.24.1"
ipympl = "^0.6.3"
[tool.poetry.dev-dependencies]
pylint = "^2.6.0"