Zajecia 8 - MLflow

This commit is contained in:
Tomasz Ziętkiewicz 2021-05-10 12:53:57 +02:00
parent 6e4072d04e
commit 2e24fd7abd
6 changed files with 1114 additions and 22 deletions

18
.gitignore vendored
View File

@ -1,14 +1,4 @@
# ---> JupyterNotebooks .ipynb_checkpoints/
# gitignore template for Jupyter Notebooks my_runs
# website: http://jupyter.org/ mlruns
IUM_08/examples
.ipynb_checkpoints
*/.ipynb_checkpoints/*
# IPython
profile_default/
ipython_config.py
# Remove previous ipynb_checkpoints
# git rm -r .ipynb_checkpoints/

View File

@ -243,7 +243,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 61,
"metadata": { "metadata": {
"slideshow": { "slideshow": {
"slide_type": "slide" "slide_type": "slide"
@ -260,7 +260,7 @@
} }
], ],
"source": [ "source": [
"# Żeby poniższa komenda zadziałała, musisz posiadać plik /.kaggle/kaggle.json, zawierający Kaggle API token.\n", "# Żeby poniższa komenda zadziałała, musisz posiadać plik ~/.kaggle/kaggle.json, zawierający Kaggle API token.\n",
"# Instrukcje: https://www.kaggle.com/docs/api\n", "# Instrukcje: https://www.kaggle.com/docs/api\n",
"!kaggle datasets download -d uciml/iris" "!kaggle datasets download -d uciml/iris"
] ]
@ -1022,7 +1022,11 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [ "source": [
"### Przykładowy podział z pomocą standardowych narzędzi Bash" "### Przykładowy podział z pomocą standardowych narzędzi Bash"
] ]
@ -1260,7 +1264,11 @@
}, },
{ {
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [ "source": [
"### Podział z pomocą sckikit learn\n", "### Podział z pomocą sckikit learn\n",
"- Do podziału możemy też użyć biblioteki https://scikit-learn.org/" "- Do podziału możemy też użyć biblioteki https://scikit-learn.org/"
@ -1269,7 +1277,11 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 45, "execution_count": 45,
"metadata": {}, "metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [ "outputs": [
{ {
"data": { "data": {
@ -1294,7 +1306,11 @@
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 46, "execution_count": 46,
"metadata": {}, "metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"outputs": [ "outputs": [
{ {
"data": { "data": {
@ -1318,7 +1334,10 @@
"cell_type": "code", "cell_type": "code",
"execution_count": 48, "execution_count": 48,
"metadata": { "metadata": {
"scrolled": true "scrolled": true,
"slideshow": {
"slide_type": "slide"
}
}, },
"outputs": [ "outputs": [
{ {
@ -1345,7 +1364,10 @@
"cell_type": "code", "cell_type": "code",
"execution_count": 49, "execution_count": 49,
"metadata": { "metadata": {
"scrolled": true "scrolled": true,
"slideshow": {
"slide_type": "slide"
}
}, },
"outputs": [ "outputs": [
{ {

1080
IUM_08.MLFlow.ipynb Normal file

File diff suppressed because it is too large Load Diff

BIN
IUM_08/compare-metrics.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

BIN
IUM_08/mlflowui.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 155 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB