zuma/wyk/2a_Regresja_logistyczna.ipynb
2021-03-29 17:59:33 +02:00

6193 lines
288 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{
"cells": [
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"### AITech — Uczenie maszynowe\n",
"# 3. Regresja logistyczna"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"**Uwaga**: Wbrew nazwie, *regresja* logistyczna jest algorytmem służącym do rozwiązywania problemów *klasyfikacji* (wcale nie problemów *regresji*!)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Do demonstracji metody regresji ligistycznej wykorzystamy klasyczny zbiór danych <a href=\"https://en.wikipedia.org/wiki/Iris_flower_data_set\">*Iris flower data set*</a>, składający się ze 150 przykładów wartości 4 cech dla 3 gatunków irysów (kosaćców)."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"### *Iris flower data set*\n",
"\n",
"* 150 przykładów\n",
"* 4 cechy\n",
"* 3 kategorie"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"| <img src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/5/56/Kosaciec_szczecinkowaty_Iris_setosa.jpg/450px-Kosaciec_szczecinkowaty_Iris_setosa.jpg\"> | <img style=\"float: right;\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/9/9f/Iris_virginica.jpg/736px-Iris_virginica.jpg\"> | <img style=\"float: right;\" src=\"https://upload.wikimedia.org/wikipedia/commons/thumb/2/27/Blue_Flag%2C_Ottawa.jpg/600px-Blue_Flag%2C_Ottawa.jpg\"> |\n",
"| :--- | :--- | :--- |\n",
"| *Iris setosa* | *Iris virginica* | *Iris versicolor* |\n",
"| kosaciec szczecinkowy | kosaciec amerykański | kosaciec różnobarwny |\n"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"4 cechy:\n",
" * długość działek kielicha (*sepal length*, `sl`)\n",
" * szerokość działek kielicha (*sepal width*, `sw`)\n",
" * długość płatka (*petal length*, `pl`)\n",
" * szerokość płatka (*petal width*, `pw`)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"## 3.1. Dwuklasowa regresja logistyczna"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Zacznijmy od najprostszego przypadku:\n",
" * ograniczmy się do **2** klas\n",
" * ograniczmy się do **1** zmiennej"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"source": [
"→ dwuklasowa regresja logistyczna jednej zmiennej"
]
},
{
"cell_type": "code",
"execution_count": 1,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"# Przydatne importy\n",
"\n",
"import numpy as np\n",
"import matplotlib\n",
"import matplotlib.pyplot as pl\n",
"import pandas\n",
"import ipywidgets as widgets\n",
"\n",
"%matplotlib inline\n",
"%config InlineBackend.figure_format = 'svg'\n",
"\n",
"from IPython.display import display, Math, Latex\n",
"\n",
"# Przydatne funkcje\n",
"\n",
"# Wyświetlanie macierzy w LaTeX-u\n",
"def LatexMatrix(matrix):\n",
" ltx = r'\\left[\\begin{array}'\n",
" m, n = matrix.shape\n",
" ltx += '{' + (\"r\" * n) + '}'\n",
" for i in range(m):\n",
" ltx += r\" & \".join([('%.4f' % j.item()) for j in matrix[i]]) + r\" \\\\ \"\n",
" ltx += r'\\end{array}\\right]'\n",
" return ltx\n",
"\n",
"# Hipoteza (wersja macierzowa)\n",
"def hMx(theta, X):\n",
" return X * theta\n",
"\n",
"# Wykres danych (wersja macierzowa)\n",
"def regdotsMx(X, y, xlabel, ylabel): \n",
" fig = pl.figure(figsize=(16*.6, 9*.6))\n",
" ax = fig.add_subplot(111)\n",
" fig.subplots_adjust(left=0.1, right=0.9, bottom=0.1, top=0.9)\n",
" ax.scatter([X[:, 1]], [y], c='r', s=50, label='Dane')\n",
" \n",
" ax.set_xlabel(xlabel)\n",
" ax.set_ylabel(ylabel)\n",
" ax.margins(.05, .05)\n",
" pl.ylim(y.min() - 1, y.max() + 1)\n",
" pl.xlim(np.min(X[:, 1]) - 1, np.max(X[:, 1]) + 1)\n",
" return fig\n",
"\n",
"# Wykres krzywej regresji (wersja macierzowa)\n",
"def reglineMx(fig, fun, theta, X):\n",
" ax = fig.axes[0]\n",
" x0 = np.min(X[:, 1]) - 1.0\n",
" x1 = np.max(X[:, 1]) + 1.0\n",
" L = [x0, x1]\n",
" LX = np.matrix([1, x0, 1, x1]).reshape(2, 2)\n",
" ax.plot(L, fun(theta, LX), linewidth='2',\n",
" label=(r'$y={theta0:.2}{op}{theta1:.2}x$'.format(\n",
" theta0=float(theta[0][0]),\n",
" theta1=(float(theta[1][0]) if theta[1][0] >= 0 else float(-theta[1][0])),\n",
" op='+' if theta[1][0] >= 0 else '-')))\n",
"\n",
"# Legenda wykresu\n",
"def legend(fig):\n",
" ax = fig.axes[0]\n",
" handles, labels = ax.get_legend_handles_labels()\n",
" # try-except block is a fix for a bug in Poly3DCollection\n",
" try:\n",
" fig.legend(handles, labels, fontsize='15', loc='lower right')\n",
" except AttributeError:\n",
" pass\n",
"\n",
"# Wersja macierzowa funkcji kosztu\n",
"def JMx(theta,X,y):\n",
" m = len(y)\n",
" J = 1.0 / (2.0 * m) * ((X * theta - y).T * ( X * theta - y))\n",
" return J.item()\n",
"\n",
"# Wersja macierzowa gradientu funkcji kosztu\n",
"def dJMx(theta,X,y):\n",
" return 1.0 / len(y) * (X.T * (X * theta - y)) \n",
"\n",
"# Implementacja algorytmu gradientu prostego za pomocą numpy i macierzy\n",
"def GDMx(fJ, fdJ, theta, X, y, alpha=0.1, eps=10**-3):\n",
" current_cost = fJ(theta, X, y)\n",
" logs = [[current_cost, theta]]\n",
" while True:\n",
" theta = theta - alpha * fdJ(theta, X, y) # implementacja wzoru\n",
" current_cost, prev_cost = fJ(theta, X, y), current_cost\n",
" if current_cost > 10000:\n",
" break\n",
" if abs(prev_cost - current_cost) <= eps:\n",
" break\n",
" logs.append([current_cost, theta]) \n",
" return theta, logs\n",
"\n",
"thetaStartMx = np.matrix([0, 0]).reshape(2, 1)\n",
"\n",
"# Funkcja, która rysuje próg\n",
"def threshold(fig, theta):\n",
" x_thr = (0.5 - theta.item(0)) / theta.item(1)\n",
" ax = fig.axes[0]\n",
" ax.plot([x_thr, x_thr], [-1, 2],\n",
" color='orange', linestyle='dashed',\n",
" label=u'próg: $x={:.2F}$'.format(x_thr))"
]
},
{
"cell_type": "code",
"execution_count": 2,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" sl sw pl pw Gatunek\n",
"0 5.2 3.4 1.4 0.2 Iris-setosa\n",
"1 5.1 3.7 1.5 0.4 Iris-setosa\n",
"2 6.7 3.1 5.6 2.4 Iris-virginica\n",
"3 6.5 3.2 5.1 2.0 Iris-virginica\n",
"4 4.9 2.5 4.5 1.7 Iris-virginica\n",
"5 6.0 2.7 5.1 1.6 Iris-versicolor\n"
]
}
],
"source": [
"# Wczytanie pełnych (oryginalnych) danych\n",
"\n",
"data_iris = pandas.read_csv('iris.csv')\n",
"print(data_iris[:6])"
]
},
{
"cell_type": "code",
"execution_count": 35,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" dł. płatka Iris setosa?\n",
"0 1.4 1\n",
"1 1.5 1\n",
"2 5.6 0\n",
"3 5.1 0\n",
"4 4.5 0\n",
"5 5.1 0\n"
]
}
],
"source": [
"# Ograniczenie danych do 2 klas i 1 cechy\n",
"\n",
"data_iris_setosa = pandas.DataFrame()\n",
"data_iris_setosa['dł. płatka'] = data_iris['pl'] # \"pl\" oznacza \"petal length\"\n",
"data_iris_setosa['Iris setosa?'] = data_iris['Gatunek'].apply(lambda x: 1 if x=='Iris-setosa' else 0)\n",
"print(data_iris_setosa[:6])"
]
},
{
"cell_type": "code",
"execution_count": 36,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\r\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\r\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\r\n",
"<!-- Created with matplotlib (https://matplotlib.org/) -->\r\n",
"<svg height=\"360.619219pt\" version=\"1.1\" viewBox=\"0 0 673.940937 360.619219\" width=\"673.940937pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n",
" <defs>\r\n",
" <style type=\"text/css\">\r\n",
"*{stroke-linecap:butt;stroke-linejoin:round;}\r\n",
" </style>\r\n",
" </defs>\r\n",
" <g id=\"figure_1\">\r\n",
" <g id=\"patch_1\">\r\n",
" <path d=\"M 0 360.619219 \r\n",
"L 673.940937 360.619219 \r\n",
"L 673.940937 0 \r\n",
"L 0 0 \r\n",
"z\r\n",
"\" style=\"fill:none;\"/>\r\n",
" </g>\r\n",
" <g id=\"axes_1\">\r\n",
" <g id=\"patch_2\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"L 52.160938 10.999219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;\"/>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 3.535534 \r\n",
"C 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\n",
"C 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\n",
"C 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\n",
"C 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\n",
"C -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\n",
"C -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\n",
"C -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\n",
"C -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\n",
"z\r\n",
"\" id=\"mb12790921d\" style=\"stroke:#ff0000;\"/>\r\n",
" </defs>\r\n",
" <g clip-path=\"url(#p9633b61b00)\">\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"304.14271\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"311.142203\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"500.128532\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"122.155874\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.141697\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"493.129039\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"262.145748\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"535.126001\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"514.12752\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"129.155368\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mb12790921d\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#mb12790921d\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n",
"\" id=\"mfc17c0fbb1\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_1\">\r\n",
" <!-- 0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 31.78125 66.40625 \r\n",
"Q 24.171875 66.40625 20.328125 58.90625 \r\n",
"Q 16.5 51.421875 16.5 36.375 \r\n",
"Q 16.5 21.390625 20.328125 13.890625 \r\n",
"Q 24.171875 6.390625 31.78125 6.390625 \r\n",
"Q 39.453125 6.390625 43.28125 13.890625 \r\n",
"Q 47.125 21.390625 47.125 36.375 \r\n",
"Q 47.125 51.421875 43.28125 58.90625 \r\n",
"Q 39.453125 66.40625 31.78125 66.40625 \r\n",
"z\r\n",
"M 31.78125 74.21875 \r\n",
"Q 44.046875 74.21875 50.515625 64.515625 \r\n",
"Q 56.984375 54.828125 56.984375 36.375 \r\n",
"Q 56.984375 17.96875 50.515625 8.265625 \r\n",
"Q 44.046875 -1.421875 31.78125 -1.421875 \r\n",
"Q 19.53125 -1.421875 13.0625 8.265625 \r\n",
"Q 6.59375 17.96875 6.59375 36.375 \r\n",
"Q 6.59375 54.828125 13.0625 64.515625 \r\n",
"Q 19.53125 74.21875 31.78125 74.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-48\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(48.979688 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_2\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"122.155874\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_2\">\r\n",
" <!-- 1 -->\r\n",
" <defs>\r\n",
" <path d=\"M 12.40625 8.296875 \r\n",
"L 28.515625 8.296875 \r\n",
"L 28.515625 63.921875 \r\n",
"L 10.984375 60.40625 \r\n",
"L 10.984375 69.390625 \r\n",
"L 28.421875 72.90625 \r\n",
"L 38.28125 72.90625 \r\n",
"L 38.28125 8.296875 \r\n",
"L 54.390625 8.296875 \r\n",
"L 54.390625 0 \r\n",
"L 12.40625 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-49\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(118.974624 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_3\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"192.150811\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_3\">\r\n",
" <!-- 2 -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.1875 8.296875 \r\n",
"L 53.609375 8.296875 \r\n",
"L 53.609375 0 \r\n",
"L 7.328125 0 \r\n",
"L 7.328125 8.296875 \r\n",
"Q 12.9375 14.109375 22.625 23.890625 \r\n",
"Q 32.328125 33.6875 34.8125 36.53125 \r\n",
"Q 39.546875 41.84375 41.421875 45.53125 \r\n",
"Q 43.3125 49.21875 43.3125 52.78125 \r\n",
"Q 43.3125 58.59375 39.234375 62.25 \r\n",
"Q 35.15625 65.921875 28.609375 65.921875 \r\n",
"Q 23.96875 65.921875 18.8125 64.3125 \r\n",
"Q 13.671875 62.703125 7.8125 59.421875 \r\n",
"L 7.8125 69.390625 \r\n",
"Q 13.765625 71.78125 18.9375 73 \r\n",
"Q 24.125 74.21875 28.421875 74.21875 \r\n",
"Q 39.75 74.21875 46.484375 68.546875 \r\n",
"Q 53.21875 62.890625 53.21875 53.421875 \r\n",
"Q 53.21875 48.921875 51.53125 44.890625 \r\n",
"Q 49.859375 40.875 45.40625 35.40625 \r\n",
"Q 44.1875 33.984375 37.640625 27.21875 \r\n",
"Q 31.109375 20.453125 19.1875 8.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-50\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(188.969561 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_4\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"262.145748\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_4\">\r\n",
" <!-- 3 -->\r\n",
" <defs>\r\n",
" <path d=\"M 40.578125 39.3125 \r\n",
"Q 47.65625 37.796875 51.625 33 \r\n",
"Q 55.609375 28.21875 55.609375 21.1875 \r\n",
"Q 55.609375 10.40625 48.1875 4.484375 \r\n",
"Q 40.765625 -1.421875 27.09375 -1.421875 \r\n",
"Q 22.515625 -1.421875 17.65625 -0.515625 \r\n",
"Q 12.796875 0.390625 7.625 2.203125 \r\n",
"L 7.625 11.71875 \r\n",
"Q 11.71875 9.328125 16.59375 8.109375 \r\n",
"Q 21.484375 6.890625 26.8125 6.890625 \r\n",
"Q 36.078125 6.890625 40.9375 10.546875 \r\n",
"Q 45.796875 14.203125 45.796875 21.1875 \r\n",
"Q 45.796875 27.640625 41.28125 31.265625 \r\n",
"Q 36.765625 34.90625 28.71875 34.90625 \r\n",
"L 20.21875 34.90625 \r\n",
"L 20.21875 43.015625 \r\n",
"L 29.109375 43.015625 \r\n",
"Q 36.375 43.015625 40.234375 45.921875 \r\n",
"Q 44.09375 48.828125 44.09375 54.296875 \r\n",
"Q 44.09375 59.90625 40.109375 62.90625 \r\n",
"Q 36.140625 65.921875 28.71875 65.921875 \r\n",
"Q 24.65625 65.921875 20.015625 65.03125 \r\n",
"Q 15.375 64.15625 9.8125 62.3125 \r\n",
"L 9.8125 71.09375 \r\n",
"Q 15.4375 72.65625 20.34375 73.4375 \r\n",
"Q 25.25 74.21875 29.59375 74.21875 \r\n",
"Q 40.828125 74.21875 47.359375 69.109375 \r\n",
"Q 53.90625 64.015625 53.90625 55.328125 \r\n",
"Q 53.90625 49.265625 50.4375 45.09375 \r\n",
"Q 46.96875 40.921875 40.578125 39.3125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-51\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(258.964498 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-51\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_5\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"332.140684\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_5\">\r\n",
" <!-- 4 -->\r\n",
" <defs>\r\n",
" <path d=\"M 37.796875 64.3125 \r\n",
"L 12.890625 25.390625 \r\n",
"L 37.796875 25.390625 \r\n",
"z\r\n",
"M 35.203125 72.90625 \r\n",
"L 47.609375 72.90625 \r\n",
"L 47.609375 25.390625 \r\n",
"L 58.015625 25.390625 \r\n",
"L 58.015625 17.1875 \r\n",
"L 47.609375 17.1875 \r\n",
"L 47.609375 0 \r\n",
"L 37.796875 0 \r\n",
"L 37.796875 17.1875 \r\n",
"L 4.890625 17.1875 \r\n",
"L 4.890625 26.703125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-52\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(328.959434 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_6\">\r\n",
" <g id=\"line2d_6\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"402.135621\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_6\">\r\n",
" <!-- 5 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.796875 72.90625 \r\n",
"L 49.515625 72.90625 \r\n",
"L 49.515625 64.59375 \r\n",
"L 19.828125 64.59375 \r\n",
"L 19.828125 46.734375 \r\n",
"Q 21.96875 47.46875 24.109375 47.828125 \r\n",
"Q 26.265625 48.1875 28.421875 48.1875 \r\n",
"Q 40.625 48.1875 47.75 41.5 \r\n",
"Q 54.890625 34.8125 54.890625 23.390625 \r\n",
"Q 54.890625 11.625 47.5625 5.09375 \r\n",
"Q 40.234375 -1.421875 26.90625 -1.421875 \r\n",
"Q 22.3125 -1.421875 17.546875 -0.640625 \r\n",
"Q 12.796875 0.140625 7.71875 1.703125 \r\n",
"L 7.71875 11.625 \r\n",
"Q 12.109375 9.234375 16.796875 8.0625 \r\n",
"Q 21.484375 6.890625 26.703125 6.890625 \r\n",
"Q 35.15625 6.890625 40.078125 11.328125 \r\n",
"Q 45.015625 15.765625 45.015625 23.390625 \r\n",
"Q 45.015625 31 40.078125 35.4375 \r\n",
"Q 35.15625 39.890625 26.703125 39.890625 \r\n",
"Q 22.75 39.890625 18.8125 39.015625 \r\n",
"Q 14.890625 38.140625 10.796875 36.28125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-53\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(398.954371 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_7\">\r\n",
" <g id=\"line2d_7\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"472.130558\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_7\">\r\n",
" <!-- 6 -->\r\n",
" <defs>\r\n",
" <path d=\"M 33.015625 40.375 \r\n",
"Q 26.375 40.375 22.484375 35.828125 \r\n",
"Q 18.609375 31.296875 18.609375 23.390625 \r\n",
"Q 18.609375 15.53125 22.484375 10.953125 \r\n",
"Q 26.375 6.390625 33.015625 6.390625 \r\n",
"Q 39.65625 6.390625 43.53125 10.953125 \r\n",
"Q 47.40625 15.53125 47.40625 23.390625 \r\n",
"Q 47.40625 31.296875 43.53125 35.828125 \r\n",
"Q 39.65625 40.375 33.015625 40.375 \r\n",
"z\r\n",
"M 52.59375 71.296875 \r\n",
"L 52.59375 62.3125 \r\n",
"Q 48.875 64.0625 45.09375 64.984375 \r\n",
"Q 41.3125 65.921875 37.59375 65.921875 \r\n",
"Q 27.828125 65.921875 22.671875 59.328125 \r\n",
"Q 17.53125 52.734375 16.796875 39.40625 \r\n",
"Q 19.671875 43.65625 24.015625 45.921875 \r\n",
"Q 28.375 48.1875 33.59375 48.1875 \r\n",
"Q 44.578125 48.1875 50.953125 41.515625 \r\n",
"Q 57.328125 34.859375 57.328125 23.390625 \r\n",
"Q 57.328125 12.15625 50.6875 5.359375 \r\n",
"Q 44.046875 -1.421875 33.015625 -1.421875 \r\n",
"Q 20.359375 -1.421875 13.671875 8.265625 \r\n",
"Q 6.984375 17.96875 6.984375 36.375 \r\n",
"Q 6.984375 53.65625 15.1875 63.9375 \r\n",
"Q 23.390625 74.21875 37.203125 74.21875 \r\n",
"Q 40.921875 74.21875 44.703125 73.484375 \r\n",
"Q 48.484375 72.75 52.59375 71.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-54\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(468.949308 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-54\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_8\">\r\n",
" <g id=\"line2d_8\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"542.125494\" xlink:href=\"#mfc17c0fbb1\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_8\">\r\n",
" <!-- 7 -->\r\n",
" <defs>\r\n",
" <path d=\"M 8.203125 72.90625 \r\n",
"L 55.078125 72.90625 \r\n",
"L 55.078125 68.703125 \r\n",
"L 28.609375 0 \r\n",
"L 18.3125 0 \r\n",
"L 43.21875 64.59375 \r\n",
"L 8.203125 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-55\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(538.944244 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-55\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_9\">\r\n",
" <!-- x -->\r\n",
" <defs>\r\n",
" <path d=\"M 54.890625 54.6875 \r\n",
"L 35.109375 28.078125 \r\n",
"L 55.90625 0 \r\n",
"L 45.3125 0 \r\n",
"L 29.390625 21.484375 \r\n",
"L 13.484375 0 \r\n",
"L 2.875 0 \r\n",
"L 24.125 28.609375 \r\n",
"L 4.6875 54.6875 \r\n",
"L 15.28125 54.6875 \r\n",
"L 29.78125 35.203125 \r\n",
"L 44.28125 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-120\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(325.681562 350.315781)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-120\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_9\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n",
"\" id=\"mc9f39767ee\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_10\">\r\n",
" <!-- 1.0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.59375 35.5 \r\n",
"L 73.1875 35.5 \r\n",
"L 73.1875 27.203125 \r\n",
"L 10.59375 27.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-8722\"/>\r\n",
" <path d=\"M 10.6875 12.40625 \r\n",
"L 21 12.40625 \r\n",
"L 21 0 \r\n",
"L 10.6875 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-46\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(20.878125 325.838437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_10\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"270.199219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_11\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(20.878125 273.998437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_11\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_12\">\r\n",
" <!-- 0.0 -->\r\n",
" <g transform=\"translate(29.257813 222.158437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_12\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"166.519219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_13\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(29.257813 170.318437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_13\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"114.679219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_14\">\r\n",
" <!-- 1.0 -->\r\n",
" <g transform=\"translate(29.257813 118.478438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_6\">\r\n",
" <g id=\"line2d_14\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"62.839219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_15\">\r\n",
" <!-- 1.5 -->\r\n",
" <g transform=\"translate(29.257813 66.638438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_7\">\r\n",
" <g id=\"line2d_15\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mc9f39767ee\" y=\"10.999219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_16\">\r\n",
" <!-- 2.0 -->\r\n",
" <g transform=\"translate(29.257813 14.798438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_17\">\r\n",
" <!-- Iris setosa? -->\r\n",
" <defs>\r\n",
" <path d=\"M 9.8125 72.90625 \r\n",
"L 19.671875 72.90625 \r\n",
"L 19.671875 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-73\"/>\r\n",
" <path d=\"M 41.109375 46.296875 \r\n",
"Q 39.59375 47.171875 37.8125 47.578125 \r\n",
"Q 36.03125 48 33.890625 48 \r\n",
"Q 26.265625 48 22.1875 43.046875 \r\n",
"Q 18.109375 38.09375 18.109375 28.8125 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 20.953125 51.171875 25.484375 53.578125 \r\n",
"Q 30.03125 56 36.53125 56 \r\n",
"Q 37.453125 56 38.578125 55.875 \r\n",
"Q 39.703125 55.765625 41.0625 55.515625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-114\"/>\r\n",
" <path d=\"M 9.421875 54.6875 \r\n",
"L 18.40625 54.6875 \r\n",
"L 18.40625 0 \r\n",
"L 9.421875 0 \r\n",
"z\r\n",
"M 9.421875 75.984375 \r\n",
"L 18.40625 75.984375 \r\n",
"L 18.40625 64.59375 \r\n",
"L 9.421875 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-105\"/>\r\n",
" <path d=\"M 44.28125 53.078125 \r\n",
"L 44.28125 44.578125 \r\n",
"Q 40.484375 46.53125 36.375 47.5 \r\n",
"Q 32.28125 48.484375 27.875 48.484375 \r\n",
"Q 21.1875 48.484375 17.84375 46.4375 \r\n",
"Q 14.5 44.390625 14.5 40.28125 \r\n",
"Q 14.5 37.15625 16.890625 35.375 \r\n",
"Q 19.28125 33.59375 26.515625 31.984375 \r\n",
"L 29.59375 31.296875 \r\n",
"Q 39.15625 29.25 43.1875 25.515625 \r\n",
"Q 47.21875 21.78125 47.21875 15.09375 \r\n",
"Q 47.21875 7.46875 41.1875 3.015625 \r\n",
"Q 35.15625 -1.421875 24.609375 -1.421875 \r\n",
"Q 20.21875 -1.421875 15.453125 -0.5625 \r\n",
"Q 10.6875 0.296875 5.421875 2 \r\n",
"L 5.421875 11.28125 \r\n",
"Q 10.40625 8.6875 15.234375 7.390625 \r\n",
"Q 20.0625 6.109375 24.8125 6.109375 \r\n",
"Q 31.15625 6.109375 34.5625 8.28125 \r\n",
"Q 37.984375 10.453125 37.984375 14.40625 \r\n",
"Q 37.984375 18.0625 35.515625 20.015625 \r\n",
"Q 33.0625 21.96875 24.703125 23.78125 \r\n",
"L 21.578125 24.515625 \r\n",
"Q 13.234375 26.265625 9.515625 29.90625 \r\n",
"Q 5.8125 33.546875 5.8125 39.890625 \r\n",
"Q 5.8125 47.609375 11.28125 51.796875 \r\n",
"Q 16.75 56 26.8125 56 \r\n",
"Q 31.78125 56 36.171875 55.265625 \r\n",
"Q 40.578125 54.546875 44.28125 53.078125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-115\"/>\r\n",
" <path id=\"DejaVuSans-32\"/>\r\n",
" <path d=\"M 56.203125 29.59375 \r\n",
"L 56.203125 25.203125 \r\n",
"L 14.890625 25.203125 \r\n",
"Q 15.484375 15.921875 20.484375 11.0625 \r\n",
"Q 25.484375 6.203125 34.421875 6.203125 \r\n",
"Q 39.59375 6.203125 44.453125 7.46875 \r\n",
"Q 49.3125 8.734375 54.109375 11.28125 \r\n",
"L 54.109375 2.78125 \r\n",
"Q 49.265625 0.734375 44.1875 -0.34375 \r\n",
"Q 39.109375 -1.421875 33.890625 -1.421875 \r\n",
"Q 20.796875 -1.421875 13.15625 6.1875 \r\n",
"Q 5.515625 13.8125 5.515625 26.8125 \r\n",
"Q 5.515625 40.234375 12.765625 48.109375 \r\n",
"Q 20.015625 56 32.328125 56 \r\n",
"Q 43.359375 56 49.78125 48.890625 \r\n",
"Q 56.203125 41.796875 56.203125 29.59375 \r\n",
"z\r\n",
"M 47.21875 32.234375 \r\n",
"Q 47.125 39.59375 43.09375 43.984375 \r\n",
"Q 39.0625 48.390625 32.421875 48.390625 \r\n",
"Q 24.90625 48.390625 20.390625 44.140625 \r\n",
"Q 15.875 39.890625 15.1875 32.171875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-101\"/>\r\n",
" <path d=\"M 18.3125 70.21875 \r\n",
"L 18.3125 54.6875 \r\n",
"L 36.8125 54.6875 \r\n",
"L 36.8125 47.703125 \r\n",
"L 18.3125 47.703125 \r\n",
"L 18.3125 18.015625 \r\n",
"Q 18.3125 11.328125 20.140625 9.421875 \r\n",
"Q 21.96875 7.515625 27.59375 7.515625 \r\n",
"L 36.8125 7.515625 \r\n",
"L 36.8125 0 \r\n",
"L 27.59375 0 \r\n",
"Q 17.1875 0 13.234375 3.875 \r\n",
"Q 9.28125 7.765625 9.28125 18.015625 \r\n",
"L 9.28125 47.703125 \r\n",
"L 2.6875 47.703125 \r\n",
"L 2.6875 54.6875 \r\n",
"L 9.28125 54.6875 \r\n",
"L 9.28125 70.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-116\"/>\r\n",
" <path d=\"M 30.609375 48.390625 \r\n",
"Q 23.390625 48.390625 19.1875 42.75 \r\n",
"Q 14.984375 37.109375 14.984375 27.296875 \r\n",
"Q 14.984375 17.484375 19.15625 11.84375 \r\n",
"Q 23.34375 6.203125 30.609375 6.203125 \r\n",
"Q 37.796875 6.203125 41.984375 11.859375 \r\n",
"Q 46.1875 17.53125 46.1875 27.296875 \r\n",
"Q 46.1875 37.015625 41.984375 42.703125 \r\n",
"Q 37.796875 48.390625 30.609375 48.390625 \r\n",
"z\r\n",
"M 30.609375 56 \r\n",
"Q 42.328125 56 49.015625 48.375 \r\n",
"Q 55.71875 40.765625 55.71875 27.296875 \r\n",
"Q 55.71875 13.875 49.015625 6.21875 \r\n",
"Q 42.328125 -1.421875 30.609375 -1.421875 \r\n",
"Q 18.84375 -1.421875 12.171875 6.21875 \r\n",
"Q 5.515625 13.875 5.515625 27.296875 \r\n",
"Q 5.515625 40.765625 12.171875 48.375 \r\n",
"Q 18.84375 56 30.609375 56 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-111\"/>\r\n",
" <path d=\"M 34.28125 27.484375 \r\n",
"Q 23.390625 27.484375 19.1875 25 \r\n",
"Q 14.984375 22.515625 14.984375 16.5 \r\n",
"Q 14.984375 11.71875 18.140625 8.90625 \r\n",
"Q 21.296875 6.109375 26.703125 6.109375 \r\n",
"Q 34.1875 6.109375 38.703125 11.40625 \r\n",
"Q 43.21875 16.703125 43.21875 25.484375 \r\n",
"L 43.21875 27.484375 \r\n",
"z\r\n",
"M 52.203125 31.203125 \r\n",
"L 52.203125 0 \r\n",
"L 43.21875 0 \r\n",
"L 43.21875 8.296875 \r\n",
"Q 40.140625 3.328125 35.546875 0.953125 \r\n",
"Q 30.953125 -1.421875 24.3125 -1.421875 \r\n",
"Q 15.921875 -1.421875 10.953125 3.296875 \r\n",
"Q 6 8.015625 6 15.921875 \r\n",
"Q 6 25.140625 12.171875 29.828125 \r\n",
"Q 18.359375 34.515625 30.609375 34.515625 \r\n",
"L 43.21875 34.515625 \r\n",
"L 43.21875 35.40625 \r\n",
"Q 43.21875 41.609375 39.140625 45 \r\n",
"Q 35.0625 48.390625 27.6875 48.390625 \r\n",
"Q 23 48.390625 18.546875 47.265625 \r\n",
"Q 14.109375 46.140625 10.015625 43.890625 \r\n",
"L 10.015625 52.203125 \r\n",
"Q 14.9375 54.109375 19.578125 55.046875 \r\n",
"Q 24.21875 56 28.609375 56 \r\n",
"Q 40.484375 56 46.34375 49.84375 \r\n",
"Q 52.203125 43.703125 52.203125 31.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-97\"/>\r\n",
" <path d=\"M 19.09375 12.40625 \r\n",
"L 29 12.40625 \r\n",
"L 29 0 \r\n",
"L 19.09375 0 \r\n",
"z\r\n",
"M 28.71875 19.578125 \r\n",
"L 19.390625 19.578125 \r\n",
"L 19.390625 27.09375 \r\n",
"Q 19.390625 32.03125 20.75 35.203125 \r\n",
"Q 22.125 38.375 26.515625 42.578125 \r\n",
"L 30.90625 46.921875 \r\n",
"Q 33.6875 49.515625 34.9375 51.8125 \r\n",
"Q 36.1875 54.109375 36.1875 56.5 \r\n",
"Q 36.1875 60.84375 32.984375 63.53125 \r\n",
"Q 29.78125 66.21875 24.515625 66.21875 \r\n",
"Q 20.65625 66.21875 16.28125 64.5 \r\n",
"Q 11.921875 62.796875 7.171875 59.515625 \r\n",
"L 7.171875 68.703125 \r\n",
"Q 11.765625 71.484375 16.46875 72.84375 \r\n",
"Q 21.1875 74.21875 26.21875 74.21875 \r\n",
"Q 35.203125 74.21875 40.640625 69.484375 \r\n",
"Q 46.09375 64.75 46.09375 56.984375 \r\n",
"Q 46.09375 53.265625 44.328125 49.921875 \r\n",
"Q 42.578125 46.578125 38.1875 42.390625 \r\n",
"L 33.890625 38.1875 \r\n",
"Q 31.59375 35.890625 30.640625 34.59375 \r\n",
"Q 29.6875 33.296875 29.296875 32.078125 \r\n",
"Q 29 31.0625 28.859375 29.59375 \r\n",
"Q 28.71875 28.125 28.71875 25.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-63\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(14.798438 194.655937)rotate(-90)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-73\"/>\r\n",
" <use x=\"29.492188\" xlink:href=\"#DejaVuSans-114\"/>\r\n",
" <use x=\"70.605469\" xlink:href=\"#DejaVuSans-105\"/>\r\n",
" <use x=\"98.388672\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"150.488281\" xlink:href=\"#DejaVuSans-32\"/>\r\n",
" <use x=\"182.275391\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"234.375\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" <use x=\"295.898438\" xlink:href=\"#DejaVuSans-116\"/>\r\n",
" <use x=\"335.107422\" xlink:href=\"#DejaVuSans-111\"/>\r\n",
" <use x=\"396.289062\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"448.388672\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"509.667969\" xlink:href=\"#DejaVuSans-63\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"patch_3\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 52.160938 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_4\">\r\n",
" <path d=\"M 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_5\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_6\">\r\n",
" <path d=\"M 52.160938 10.999219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"legend_1\">\r\n",
" <g id=\"patch_7\">\r\n",
" <path d=\"M 575.962812 353.119219 \r\n",
"L 663.440937 353.119219 \r\n",
"Q 666.440937 353.119219 666.440937 350.119219 \r\n",
"L 666.440937 329.602031 \r\n",
"Q 666.440937 326.602031 663.440937 326.602031 \r\n",
"L 575.962812 326.602031 \r\n",
"Q 572.962812 326.602031 572.962812 329.602031 \r\n",
"L 572.962812 350.119219 \r\n",
"Q 572.962812 353.119219 575.962812 353.119219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;opacity:0.8;stroke:#cccccc;stroke-linejoin:miter;\"/>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_2\">\r\n",
" <g>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"593.962812\" xlink:href=\"#mb12790921d\" y=\"340.062187\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_18\">\r\n",
" <!-- Dane -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.671875 64.796875 \r\n",
"L 19.671875 8.109375 \r\n",
"L 31.59375 8.109375 \r\n",
"Q 46.6875 8.109375 53.6875 14.9375 \r\n",
"Q 60.6875 21.78125 60.6875 36.53125 \r\n",
"Q 60.6875 51.171875 53.6875 57.984375 \r\n",
"Q 46.6875 64.796875 31.59375 64.796875 \r\n",
"z\r\n",
"M 9.8125 72.90625 \r\n",
"L 30.078125 72.90625 \r\n",
"Q 51.265625 72.90625 61.171875 64.09375 \r\n",
"Q 71.09375 55.28125 71.09375 36.53125 \r\n",
"Q 71.09375 17.671875 61.125 8.828125 \r\n",
"Q 51.171875 0 30.078125 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-68\"/>\r\n",
" <path d=\"M 54.890625 33.015625 \r\n",
"L 54.890625 0 \r\n",
"L 45.90625 0 \r\n",
"L 45.90625 32.71875 \r\n",
"Q 45.90625 40.484375 42.875 44.328125 \r\n",
"Q 39.84375 48.1875 33.796875 48.1875 \r\n",
"Q 26.515625 48.1875 22.3125 43.546875 \r\n",
"Q 18.109375 38.921875 18.109375 30.90625 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 21.34375 51.125 25.703125 53.5625 \r\n",
"Q 30.078125 56 35.796875 56 \r\n",
"Q 45.21875 56 50.046875 50.171875 \r\n",
"Q 54.890625 44.34375 54.890625 33.015625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-110\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(620.962812 343.999687)scale(0.15 -0.15)\">\r\n",
" <use xlink:href=\"#DejaVuSans-68\"/>\r\n",
" <use x=\"77.001953\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"138.28125\" xlink:href=\"#DejaVuSans-110\"/>\r\n",
" <use x=\"201.660156\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <defs>\r\n",
" <clipPath id=\"p9633b61b00\">\r\n",
" <rect height=\"311.04\" width=\"552.96\" x=\"52.160938\" y=\"10.999219\"/>\r\n",
" </clipPath>\r\n",
" </defs>\r\n",
"</svg>\r\n"
],
"text/plain": [
"<Figure size 691.2x388.8 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig = regdotsMx(XMx3, yMx3, 'x', 'Iris setosa?')\n",
"legend(fig)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"#### Próba zastosowania regresji liniowej do problemu klasyfikacji\n",
"\n",
"Najpierw z ciekawości sprawdźmy, co otrzymalibyśmy, gdybyśmy zastosowali regresję liniową do problemu klasyfikacji."
]
},
{
"cell_type": "code",
"execution_count": 5,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"import numpy as np\n",
"\n",
"# Przygotowanie danych\n",
"m, n_plus_1 = data_iris_setosa.values.shape\n",
"n = n_plus_1 - 1\n",
"Xn = data_iris_setosa.values[:, 0:n].reshape(m, n)\n",
"\n",
"XMx3 = np.matrix(np.concatenate((np.ones((m, 1)), Xn), axis=1)).reshape(m, n_plus_1)\n",
"yMx3 = np.matrix(data_iris_setosa.values[:, 1]).reshape(m, 1)\n",
"\n",
"# Regresja liniowa\n",
"theta_e3, logs3 = GDMx(JMx, dJMx, thetaStartMx, XMx3, yMx3, alpha=0.03, eps=0.000001)"
]
},
{
"cell_type": "code",
"execution_count": 37,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\r\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\r\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\r\n",
"<!-- Created with matplotlib (https://matplotlib.org/) -->\r\n",
"<svg height=\"360.619219pt\" version=\"1.1\" viewBox=\"0 0 673.940937 360.619219\" width=\"673.940937pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n",
" <defs>\r\n",
" <style type=\"text/css\">\r\n",
"*{stroke-linecap:butt;stroke-linejoin:round;}\r\n",
" </style>\r\n",
" </defs>\r\n",
" <g id=\"figure_1\">\r\n",
" <g id=\"patch_1\">\r\n",
" <path d=\"M 0 360.619219 \r\n",
"L 673.940937 360.619219 \r\n",
"L 673.940937 0 \r\n",
"L 0 0 \r\n",
"z\r\n",
"\" style=\"fill:none;\"/>\r\n",
" </g>\r\n",
" <g id=\"axes_1\">\r\n",
" <g id=\"patch_2\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"L 52.160938 10.999219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;\"/>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 3.535534 \r\n",
"C 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\n",
"C 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\n",
"C 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\n",
"C 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\n",
"C -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\n",
"C -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\n",
"C -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\n",
"C -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\n",
"z\r\n",
"\" id=\"m4dd75d2d85\" style=\"stroke:#ff0000;\"/>\r\n",
" </defs>\r\n",
" <g clip-path=\"url(#pae126f091f)\">\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"304.14271\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"311.142203\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"500.128532\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"122.155874\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.141697\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"493.129039\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"262.145748\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"535.126001\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"514.12752\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"129.155368\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m4dd75d2d85\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#m4dd75d2d85\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n",
"\" id=\"m9d2bbc2831\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_1\">\r\n",
" <!-- 0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 31.78125 66.40625 \r\n",
"Q 24.171875 66.40625 20.328125 58.90625 \r\n",
"Q 16.5 51.421875 16.5 36.375 \r\n",
"Q 16.5 21.390625 20.328125 13.890625 \r\n",
"Q 24.171875 6.390625 31.78125 6.390625 \r\n",
"Q 39.453125 6.390625 43.28125 13.890625 \r\n",
"Q 47.125 21.390625 47.125 36.375 \r\n",
"Q 47.125 51.421875 43.28125 58.90625 \r\n",
"Q 39.453125 66.40625 31.78125 66.40625 \r\n",
"z\r\n",
"M 31.78125 74.21875 \r\n",
"Q 44.046875 74.21875 50.515625 64.515625 \r\n",
"Q 56.984375 54.828125 56.984375 36.375 \r\n",
"Q 56.984375 17.96875 50.515625 8.265625 \r\n",
"Q 44.046875 -1.421875 31.78125 -1.421875 \r\n",
"Q 19.53125 -1.421875 13.0625 8.265625 \r\n",
"Q 6.59375 17.96875 6.59375 36.375 \r\n",
"Q 6.59375 54.828125 13.0625 64.515625 \r\n",
"Q 19.53125 74.21875 31.78125 74.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-48\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(48.979688 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_2\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"122.155874\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_2\">\r\n",
" <!-- 1 -->\r\n",
" <defs>\r\n",
" <path d=\"M 12.40625 8.296875 \r\n",
"L 28.515625 8.296875 \r\n",
"L 28.515625 63.921875 \r\n",
"L 10.984375 60.40625 \r\n",
"L 10.984375 69.390625 \r\n",
"L 28.421875 72.90625 \r\n",
"L 38.28125 72.90625 \r\n",
"L 38.28125 8.296875 \r\n",
"L 54.390625 8.296875 \r\n",
"L 54.390625 0 \r\n",
"L 12.40625 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-49\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(118.974624 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_3\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"192.150811\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_3\">\r\n",
" <!-- 2 -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.1875 8.296875 \r\n",
"L 53.609375 8.296875 \r\n",
"L 53.609375 0 \r\n",
"L 7.328125 0 \r\n",
"L 7.328125 8.296875 \r\n",
"Q 12.9375 14.109375 22.625 23.890625 \r\n",
"Q 32.328125 33.6875 34.8125 36.53125 \r\n",
"Q 39.546875 41.84375 41.421875 45.53125 \r\n",
"Q 43.3125 49.21875 43.3125 52.78125 \r\n",
"Q 43.3125 58.59375 39.234375 62.25 \r\n",
"Q 35.15625 65.921875 28.609375 65.921875 \r\n",
"Q 23.96875 65.921875 18.8125 64.3125 \r\n",
"Q 13.671875 62.703125 7.8125 59.421875 \r\n",
"L 7.8125 69.390625 \r\n",
"Q 13.765625 71.78125 18.9375 73 \r\n",
"Q 24.125 74.21875 28.421875 74.21875 \r\n",
"Q 39.75 74.21875 46.484375 68.546875 \r\n",
"Q 53.21875 62.890625 53.21875 53.421875 \r\n",
"Q 53.21875 48.921875 51.53125 44.890625 \r\n",
"Q 49.859375 40.875 45.40625 35.40625 \r\n",
"Q 44.1875 33.984375 37.640625 27.21875 \r\n",
"Q 31.109375 20.453125 19.1875 8.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-50\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(188.969561 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_4\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"262.145748\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_4\">\r\n",
" <!-- 3 -->\r\n",
" <defs>\r\n",
" <path d=\"M 40.578125 39.3125 \r\n",
"Q 47.65625 37.796875 51.625 33 \r\n",
"Q 55.609375 28.21875 55.609375 21.1875 \r\n",
"Q 55.609375 10.40625 48.1875 4.484375 \r\n",
"Q 40.765625 -1.421875 27.09375 -1.421875 \r\n",
"Q 22.515625 -1.421875 17.65625 -0.515625 \r\n",
"Q 12.796875 0.390625 7.625 2.203125 \r\n",
"L 7.625 11.71875 \r\n",
"Q 11.71875 9.328125 16.59375 8.109375 \r\n",
"Q 21.484375 6.890625 26.8125 6.890625 \r\n",
"Q 36.078125 6.890625 40.9375 10.546875 \r\n",
"Q 45.796875 14.203125 45.796875 21.1875 \r\n",
"Q 45.796875 27.640625 41.28125 31.265625 \r\n",
"Q 36.765625 34.90625 28.71875 34.90625 \r\n",
"L 20.21875 34.90625 \r\n",
"L 20.21875 43.015625 \r\n",
"L 29.109375 43.015625 \r\n",
"Q 36.375 43.015625 40.234375 45.921875 \r\n",
"Q 44.09375 48.828125 44.09375 54.296875 \r\n",
"Q 44.09375 59.90625 40.109375 62.90625 \r\n",
"Q 36.140625 65.921875 28.71875 65.921875 \r\n",
"Q 24.65625 65.921875 20.015625 65.03125 \r\n",
"Q 15.375 64.15625 9.8125 62.3125 \r\n",
"L 9.8125 71.09375 \r\n",
"Q 15.4375 72.65625 20.34375 73.4375 \r\n",
"Q 25.25 74.21875 29.59375 74.21875 \r\n",
"Q 40.828125 74.21875 47.359375 69.109375 \r\n",
"Q 53.90625 64.015625 53.90625 55.328125 \r\n",
"Q 53.90625 49.265625 50.4375 45.09375 \r\n",
"Q 46.96875 40.921875 40.578125 39.3125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-51\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(258.964498 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-51\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_5\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"332.140684\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_5\">\r\n",
" <!-- 4 -->\r\n",
" <defs>\r\n",
" <path d=\"M 37.796875 64.3125 \r\n",
"L 12.890625 25.390625 \r\n",
"L 37.796875 25.390625 \r\n",
"z\r\n",
"M 35.203125 72.90625 \r\n",
"L 47.609375 72.90625 \r\n",
"L 47.609375 25.390625 \r\n",
"L 58.015625 25.390625 \r\n",
"L 58.015625 17.1875 \r\n",
"L 47.609375 17.1875 \r\n",
"L 47.609375 0 \r\n",
"L 37.796875 0 \r\n",
"L 37.796875 17.1875 \r\n",
"L 4.890625 17.1875 \r\n",
"L 4.890625 26.703125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-52\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(328.959434 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_6\">\r\n",
" <g id=\"line2d_6\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"402.135621\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_6\">\r\n",
" <!-- 5 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.796875 72.90625 \r\n",
"L 49.515625 72.90625 \r\n",
"L 49.515625 64.59375 \r\n",
"L 19.828125 64.59375 \r\n",
"L 19.828125 46.734375 \r\n",
"Q 21.96875 47.46875 24.109375 47.828125 \r\n",
"Q 26.265625 48.1875 28.421875 48.1875 \r\n",
"Q 40.625 48.1875 47.75 41.5 \r\n",
"Q 54.890625 34.8125 54.890625 23.390625 \r\n",
"Q 54.890625 11.625 47.5625 5.09375 \r\n",
"Q 40.234375 -1.421875 26.90625 -1.421875 \r\n",
"Q 22.3125 -1.421875 17.546875 -0.640625 \r\n",
"Q 12.796875 0.140625 7.71875 1.703125 \r\n",
"L 7.71875 11.625 \r\n",
"Q 12.109375 9.234375 16.796875 8.0625 \r\n",
"Q 21.484375 6.890625 26.703125 6.890625 \r\n",
"Q 35.15625 6.890625 40.078125 11.328125 \r\n",
"Q 45.015625 15.765625 45.015625 23.390625 \r\n",
"Q 45.015625 31 40.078125 35.4375 \r\n",
"Q 35.15625 39.890625 26.703125 39.890625 \r\n",
"Q 22.75 39.890625 18.8125 39.015625 \r\n",
"Q 14.890625 38.140625 10.796875 36.28125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-53\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(398.954371 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_7\">\r\n",
" <g id=\"line2d_7\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"472.130558\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_7\">\r\n",
" <!-- 6 -->\r\n",
" <defs>\r\n",
" <path d=\"M 33.015625 40.375 \r\n",
"Q 26.375 40.375 22.484375 35.828125 \r\n",
"Q 18.609375 31.296875 18.609375 23.390625 \r\n",
"Q 18.609375 15.53125 22.484375 10.953125 \r\n",
"Q 26.375 6.390625 33.015625 6.390625 \r\n",
"Q 39.65625 6.390625 43.53125 10.953125 \r\n",
"Q 47.40625 15.53125 47.40625 23.390625 \r\n",
"Q 47.40625 31.296875 43.53125 35.828125 \r\n",
"Q 39.65625 40.375 33.015625 40.375 \r\n",
"z\r\n",
"M 52.59375 71.296875 \r\n",
"L 52.59375 62.3125 \r\n",
"Q 48.875 64.0625 45.09375 64.984375 \r\n",
"Q 41.3125 65.921875 37.59375 65.921875 \r\n",
"Q 27.828125 65.921875 22.671875 59.328125 \r\n",
"Q 17.53125 52.734375 16.796875 39.40625 \r\n",
"Q 19.671875 43.65625 24.015625 45.921875 \r\n",
"Q 28.375 48.1875 33.59375 48.1875 \r\n",
"Q 44.578125 48.1875 50.953125 41.515625 \r\n",
"Q 57.328125 34.859375 57.328125 23.390625 \r\n",
"Q 57.328125 12.15625 50.6875 5.359375 \r\n",
"Q 44.046875 -1.421875 33.015625 -1.421875 \r\n",
"Q 20.359375 -1.421875 13.671875 8.265625 \r\n",
"Q 6.984375 17.96875 6.984375 36.375 \r\n",
"Q 6.984375 53.65625 15.1875 63.9375 \r\n",
"Q 23.390625 74.21875 37.203125 74.21875 \r\n",
"Q 40.921875 74.21875 44.703125 73.484375 \r\n",
"Q 48.484375 72.75 52.59375 71.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-54\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(468.949308 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-54\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_8\">\r\n",
" <g id=\"line2d_8\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"542.125494\" xlink:href=\"#m9d2bbc2831\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_8\">\r\n",
" <!-- 7 -->\r\n",
" <defs>\r\n",
" <path d=\"M 8.203125 72.90625 \r\n",
"L 55.078125 72.90625 \r\n",
"L 55.078125 68.703125 \r\n",
"L 28.609375 0 \r\n",
"L 18.3125 0 \r\n",
"L 43.21875 64.59375 \r\n",
"L 8.203125 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-55\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(538.944244 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-55\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_9\">\r\n",
" <!-- x -->\r\n",
" <defs>\r\n",
" <path d=\"M 54.890625 54.6875 \r\n",
"L 35.109375 28.078125 \r\n",
"L 55.90625 0 \r\n",
"L 45.3125 0 \r\n",
"L 29.390625 21.484375 \r\n",
"L 13.484375 0 \r\n",
"L 2.875 0 \r\n",
"L 24.125 28.609375 \r\n",
"L 4.6875 54.6875 \r\n",
"L 15.28125 54.6875 \r\n",
"L 29.78125 35.203125 \r\n",
"L 44.28125 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-120\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(325.681562 350.315781)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-120\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_9\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n",
"\" id=\"m7f714a34b7\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_10\">\r\n",
" <!-- 1.0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.59375 35.5 \r\n",
"L 73.1875 35.5 \r\n",
"L 73.1875 27.203125 \r\n",
"L 10.59375 27.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-8722\"/>\r\n",
" <path d=\"M 10.6875 12.40625 \r\n",
"L 21 12.40625 \r\n",
"L 21 0 \r\n",
"L 10.6875 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-46\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(20.878125 325.838437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_10\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"270.199219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_11\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(20.878125 273.998437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_11\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_12\">\r\n",
" <!-- 0.0 -->\r\n",
" <g transform=\"translate(29.257813 222.158437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_12\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"166.519219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_13\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(29.257813 170.318437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_13\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"114.679219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_14\">\r\n",
" <!-- 1.0 -->\r\n",
" <g transform=\"translate(29.257813 118.478438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_6\">\r\n",
" <g id=\"line2d_14\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"62.839219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_15\">\r\n",
" <!-- 1.5 -->\r\n",
" <g transform=\"translate(29.257813 66.638438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_7\">\r\n",
" <g id=\"line2d_15\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m7f714a34b7\" y=\"10.999219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_16\">\r\n",
" <!-- 2.0 -->\r\n",
" <g transform=\"translate(29.257813 14.798438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_17\">\r\n",
" <!-- Iris setosa? -->\r\n",
" <defs>\r\n",
" <path d=\"M 9.8125 72.90625 \r\n",
"L 19.671875 72.90625 \r\n",
"L 19.671875 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-73\"/>\r\n",
" <path d=\"M 41.109375 46.296875 \r\n",
"Q 39.59375 47.171875 37.8125 47.578125 \r\n",
"Q 36.03125 48 33.890625 48 \r\n",
"Q 26.265625 48 22.1875 43.046875 \r\n",
"Q 18.109375 38.09375 18.109375 28.8125 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 20.953125 51.171875 25.484375 53.578125 \r\n",
"Q 30.03125 56 36.53125 56 \r\n",
"Q 37.453125 56 38.578125 55.875 \r\n",
"Q 39.703125 55.765625 41.0625 55.515625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-114\"/>\r\n",
" <path d=\"M 9.421875 54.6875 \r\n",
"L 18.40625 54.6875 \r\n",
"L 18.40625 0 \r\n",
"L 9.421875 0 \r\n",
"z\r\n",
"M 9.421875 75.984375 \r\n",
"L 18.40625 75.984375 \r\n",
"L 18.40625 64.59375 \r\n",
"L 9.421875 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-105\"/>\r\n",
" <path d=\"M 44.28125 53.078125 \r\n",
"L 44.28125 44.578125 \r\n",
"Q 40.484375 46.53125 36.375 47.5 \r\n",
"Q 32.28125 48.484375 27.875 48.484375 \r\n",
"Q 21.1875 48.484375 17.84375 46.4375 \r\n",
"Q 14.5 44.390625 14.5 40.28125 \r\n",
"Q 14.5 37.15625 16.890625 35.375 \r\n",
"Q 19.28125 33.59375 26.515625 31.984375 \r\n",
"L 29.59375 31.296875 \r\n",
"Q 39.15625 29.25 43.1875 25.515625 \r\n",
"Q 47.21875 21.78125 47.21875 15.09375 \r\n",
"Q 47.21875 7.46875 41.1875 3.015625 \r\n",
"Q 35.15625 -1.421875 24.609375 -1.421875 \r\n",
"Q 20.21875 -1.421875 15.453125 -0.5625 \r\n",
"Q 10.6875 0.296875 5.421875 2 \r\n",
"L 5.421875 11.28125 \r\n",
"Q 10.40625 8.6875 15.234375 7.390625 \r\n",
"Q 20.0625 6.109375 24.8125 6.109375 \r\n",
"Q 31.15625 6.109375 34.5625 8.28125 \r\n",
"Q 37.984375 10.453125 37.984375 14.40625 \r\n",
"Q 37.984375 18.0625 35.515625 20.015625 \r\n",
"Q 33.0625 21.96875 24.703125 23.78125 \r\n",
"L 21.578125 24.515625 \r\n",
"Q 13.234375 26.265625 9.515625 29.90625 \r\n",
"Q 5.8125 33.546875 5.8125 39.890625 \r\n",
"Q 5.8125 47.609375 11.28125 51.796875 \r\n",
"Q 16.75 56 26.8125 56 \r\n",
"Q 31.78125 56 36.171875 55.265625 \r\n",
"Q 40.578125 54.546875 44.28125 53.078125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-115\"/>\r\n",
" <path id=\"DejaVuSans-32\"/>\r\n",
" <path d=\"M 56.203125 29.59375 \r\n",
"L 56.203125 25.203125 \r\n",
"L 14.890625 25.203125 \r\n",
"Q 15.484375 15.921875 20.484375 11.0625 \r\n",
"Q 25.484375 6.203125 34.421875 6.203125 \r\n",
"Q 39.59375 6.203125 44.453125 7.46875 \r\n",
"Q 49.3125 8.734375 54.109375 11.28125 \r\n",
"L 54.109375 2.78125 \r\n",
"Q 49.265625 0.734375 44.1875 -0.34375 \r\n",
"Q 39.109375 -1.421875 33.890625 -1.421875 \r\n",
"Q 20.796875 -1.421875 13.15625 6.1875 \r\n",
"Q 5.515625 13.8125 5.515625 26.8125 \r\n",
"Q 5.515625 40.234375 12.765625 48.109375 \r\n",
"Q 20.015625 56 32.328125 56 \r\n",
"Q 43.359375 56 49.78125 48.890625 \r\n",
"Q 56.203125 41.796875 56.203125 29.59375 \r\n",
"z\r\n",
"M 47.21875 32.234375 \r\n",
"Q 47.125 39.59375 43.09375 43.984375 \r\n",
"Q 39.0625 48.390625 32.421875 48.390625 \r\n",
"Q 24.90625 48.390625 20.390625 44.140625 \r\n",
"Q 15.875 39.890625 15.1875 32.171875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-101\"/>\r\n",
" <path d=\"M 18.3125 70.21875 \r\n",
"L 18.3125 54.6875 \r\n",
"L 36.8125 54.6875 \r\n",
"L 36.8125 47.703125 \r\n",
"L 18.3125 47.703125 \r\n",
"L 18.3125 18.015625 \r\n",
"Q 18.3125 11.328125 20.140625 9.421875 \r\n",
"Q 21.96875 7.515625 27.59375 7.515625 \r\n",
"L 36.8125 7.515625 \r\n",
"L 36.8125 0 \r\n",
"L 27.59375 0 \r\n",
"Q 17.1875 0 13.234375 3.875 \r\n",
"Q 9.28125 7.765625 9.28125 18.015625 \r\n",
"L 9.28125 47.703125 \r\n",
"L 2.6875 47.703125 \r\n",
"L 2.6875 54.6875 \r\n",
"L 9.28125 54.6875 \r\n",
"L 9.28125 70.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-116\"/>\r\n",
" <path d=\"M 30.609375 48.390625 \r\n",
"Q 23.390625 48.390625 19.1875 42.75 \r\n",
"Q 14.984375 37.109375 14.984375 27.296875 \r\n",
"Q 14.984375 17.484375 19.15625 11.84375 \r\n",
"Q 23.34375 6.203125 30.609375 6.203125 \r\n",
"Q 37.796875 6.203125 41.984375 11.859375 \r\n",
"Q 46.1875 17.53125 46.1875 27.296875 \r\n",
"Q 46.1875 37.015625 41.984375 42.703125 \r\n",
"Q 37.796875 48.390625 30.609375 48.390625 \r\n",
"z\r\n",
"M 30.609375 56 \r\n",
"Q 42.328125 56 49.015625 48.375 \r\n",
"Q 55.71875 40.765625 55.71875 27.296875 \r\n",
"Q 55.71875 13.875 49.015625 6.21875 \r\n",
"Q 42.328125 -1.421875 30.609375 -1.421875 \r\n",
"Q 18.84375 -1.421875 12.171875 6.21875 \r\n",
"Q 5.515625 13.875 5.515625 27.296875 \r\n",
"Q 5.515625 40.765625 12.171875 48.375 \r\n",
"Q 18.84375 56 30.609375 56 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-111\"/>\r\n",
" <path d=\"M 34.28125 27.484375 \r\n",
"Q 23.390625 27.484375 19.1875 25 \r\n",
"Q 14.984375 22.515625 14.984375 16.5 \r\n",
"Q 14.984375 11.71875 18.140625 8.90625 \r\n",
"Q 21.296875 6.109375 26.703125 6.109375 \r\n",
"Q 34.1875 6.109375 38.703125 11.40625 \r\n",
"Q 43.21875 16.703125 43.21875 25.484375 \r\n",
"L 43.21875 27.484375 \r\n",
"z\r\n",
"M 52.203125 31.203125 \r\n",
"L 52.203125 0 \r\n",
"L 43.21875 0 \r\n",
"L 43.21875 8.296875 \r\n",
"Q 40.140625 3.328125 35.546875 0.953125 \r\n",
"Q 30.953125 -1.421875 24.3125 -1.421875 \r\n",
"Q 15.921875 -1.421875 10.953125 3.296875 \r\n",
"Q 6 8.015625 6 15.921875 \r\n",
"Q 6 25.140625 12.171875 29.828125 \r\n",
"Q 18.359375 34.515625 30.609375 34.515625 \r\n",
"L 43.21875 34.515625 \r\n",
"L 43.21875 35.40625 \r\n",
"Q 43.21875 41.609375 39.140625 45 \r\n",
"Q 35.0625 48.390625 27.6875 48.390625 \r\n",
"Q 23 48.390625 18.546875 47.265625 \r\n",
"Q 14.109375 46.140625 10.015625 43.890625 \r\n",
"L 10.015625 52.203125 \r\n",
"Q 14.9375 54.109375 19.578125 55.046875 \r\n",
"Q 24.21875 56 28.609375 56 \r\n",
"Q 40.484375 56 46.34375 49.84375 \r\n",
"Q 52.203125 43.703125 52.203125 31.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-97\"/>\r\n",
" <path d=\"M 19.09375 12.40625 \r\n",
"L 29 12.40625 \r\n",
"L 29 0 \r\n",
"L 19.09375 0 \r\n",
"z\r\n",
"M 28.71875 19.578125 \r\n",
"L 19.390625 19.578125 \r\n",
"L 19.390625 27.09375 \r\n",
"Q 19.390625 32.03125 20.75 35.203125 \r\n",
"Q 22.125 38.375 26.515625 42.578125 \r\n",
"L 30.90625 46.921875 \r\n",
"Q 33.6875 49.515625 34.9375 51.8125 \r\n",
"Q 36.1875 54.109375 36.1875 56.5 \r\n",
"Q 36.1875 60.84375 32.984375 63.53125 \r\n",
"Q 29.78125 66.21875 24.515625 66.21875 \r\n",
"Q 20.65625 66.21875 16.28125 64.5 \r\n",
"Q 11.921875 62.796875 7.171875 59.515625 \r\n",
"L 7.171875 68.703125 \r\n",
"Q 11.765625 71.484375 16.46875 72.84375 \r\n",
"Q 21.1875 74.21875 26.21875 74.21875 \r\n",
"Q 35.203125 74.21875 40.640625 69.484375 \r\n",
"Q 46.09375 64.75 46.09375 56.984375 \r\n",
"Q 46.09375 53.265625 44.328125 49.921875 \r\n",
"Q 42.578125 46.578125 38.1875 42.390625 \r\n",
"L 33.890625 38.1875 \r\n",
"Q 31.59375 35.890625 30.640625 34.59375 \r\n",
"Q 29.6875 33.296875 29.296875 32.078125 \r\n",
"Q 29 31.0625 28.859375 29.59375 \r\n",
"Q 28.71875 28.125 28.71875 25.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-63\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(14.798438 194.655937)rotate(-90)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-73\"/>\r\n",
" <use x=\"29.492188\" xlink:href=\"#DejaVuSans-114\"/>\r\n",
" <use x=\"70.605469\" xlink:href=\"#DejaVuSans-105\"/>\r\n",
" <use x=\"98.388672\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"150.488281\" xlink:href=\"#DejaVuSans-32\"/>\r\n",
" <use x=\"182.275391\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"234.375\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" <use x=\"295.898438\" xlink:href=\"#DejaVuSans-116\"/>\r\n",
" <use x=\"335.107422\" xlink:href=\"#DejaVuSans-111\"/>\r\n",
" <use x=\"396.289062\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"448.388672\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"509.667969\" xlink:href=\"#DejaVuSans-63\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"line2d_16\">\r\n",
" <path clip-path=\"url(#pae126f091f)\" d=\"M 52.160938 90.800709 \r\n",
"L 605.120937 287.486853 \r\n",
"\" style=\"fill:none;stroke:#1f77b4;stroke-linecap:square;stroke-width:2;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_3\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 52.160938 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_4\">\r\n",
" <path d=\"M 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_5\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_6\">\r\n",
" <path d=\"M 52.160938 10.999219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"legend_1\">\r\n",
" <g id=\"patch_7\">\r\n",
" <path d=\"M 505.190937 353.119219 \r\n",
"L 663.440937 353.119219 \r\n",
"Q 666.440937 353.119219 666.440937 350.119219 \r\n",
"L 666.440937 307.554375 \r\n",
"Q 666.440937 304.554375 663.440937 304.554375 \r\n",
"L 505.190937 304.554375 \r\n",
"Q 502.190937 304.554375 502.190937 307.554375 \r\n",
"L 502.190937 350.119219 \r\n",
"Q 502.190937 353.119219 505.190937 353.119219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;opacity:0.8;stroke:#cccccc;stroke-linejoin:miter;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_17\">\r\n",
" <path d=\"M 508.190937 316.702031 \r\n",
"L 538.190937 316.702031 \r\n",
"\" style=\"fill:none;stroke:#1f77b4;stroke-linecap:square;stroke-width:2;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_18\"/>\r\n",
" <g id=\"text_18\">\r\n",
" <!-- $y=1.2-0.24x$ -->\r\n",
" <defs>\r\n",
" <path d=\"M 24.8125 -5.078125 \r\n",
"Q 18.5625 -15.578125 14.625 -18.1875 \r\n",
"Q 10.6875 -20.796875 4.59375 -20.796875 \r\n",
"L -2.484375 -20.796875 \r\n",
"L -0.984375 -13.28125 \r\n",
"L 4.203125 -13.28125 \r\n",
"Q 7.953125 -13.28125 10.59375 -11.234375 \r\n",
"Q 13.234375 -9.1875 16.5 -3.21875 \r\n",
"L 19.28125 2 \r\n",
"L 7.171875 54.6875 \r\n",
"L 16.703125 54.6875 \r\n",
"L 25.78125 12.796875 \r\n",
"L 50.875 54.6875 \r\n",
"L 60.296875 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-Oblique-121\"/>\r\n",
" <path d=\"M 10.59375 45.40625 \r\n",
"L 73.1875 45.40625 \r\n",
"L 73.1875 37.203125 \r\n",
"L 10.59375 37.203125 \r\n",
"z\r\n",
"M 10.59375 25.484375 \r\n",
"L 73.1875 25.484375 \r\n",
"L 73.1875 17.1875 \r\n",
"L 10.59375 17.1875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-61\"/>\r\n",
" <path d=\"M 60.015625 54.6875 \r\n",
"L 34.90625 27.875 \r\n",
"L 50.296875 0 \r\n",
"L 39.984375 0 \r\n",
"L 28.421875 21.6875 \r\n",
"L 8.296875 0 \r\n",
"L -2.59375 0 \r\n",
"L 24.3125 28.8125 \r\n",
"L 10.015625 54.6875 \r\n",
"L 20.3125 54.6875 \r\n",
"L 30.8125 34.90625 \r\n",
"L 49.125 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-Oblique-120\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(550.190937 321.952031)scale(0.15 -0.15)\">\r\n",
" <use transform=\"translate(0 0.78125)\" xlink:href=\"#DejaVuSans-Oblique-121\"/>\r\n",
" <use transform=\"translate(78.662109 0.78125)\" xlink:href=\"#DejaVuSans-61\"/>\r\n",
" <use transform=\"translate(181.933594 0.78125)\" xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use transform=\"translate(245.556641 0.78125)\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use transform=\"translate(271.84375 0.78125)\" xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use transform=\"translate(354.949219 0.78125)\" xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use transform=\"translate(458.220703 0.78125)\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use transform=\"translate(521.84375 0.78125)\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use transform=\"translate(548.130859 0.78125)\" xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use transform=\"translate(611.753906 0.78125)\" xlink:href=\"#DejaVuSans-52\"/>\r\n",
" <use transform=\"translate(675.376953 0.78125)\" xlink:href=\"#DejaVuSans-Oblique-120\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_2\">\r\n",
" <g>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"523.190937\" xlink:href=\"#m4dd75d2d85\" y=\"340.062187\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_19\">\r\n",
" <!-- Dane -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.671875 64.796875 \r\n",
"L 19.671875 8.109375 \r\n",
"L 31.59375 8.109375 \r\n",
"Q 46.6875 8.109375 53.6875 14.9375 \r\n",
"Q 60.6875 21.78125 60.6875 36.53125 \r\n",
"Q 60.6875 51.171875 53.6875 57.984375 \r\n",
"Q 46.6875 64.796875 31.59375 64.796875 \r\n",
"z\r\n",
"M 9.8125 72.90625 \r\n",
"L 30.078125 72.90625 \r\n",
"Q 51.265625 72.90625 61.171875 64.09375 \r\n",
"Q 71.09375 55.28125 71.09375 36.53125 \r\n",
"Q 71.09375 17.671875 61.125 8.828125 \r\n",
"Q 51.171875 0 30.078125 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-68\"/>\r\n",
" <path d=\"M 54.890625 33.015625 \r\n",
"L 54.890625 0 \r\n",
"L 45.90625 0 \r\n",
"L 45.90625 32.71875 \r\n",
"Q 45.90625 40.484375 42.875 44.328125 \r\n",
"Q 39.84375 48.1875 33.796875 48.1875 \r\n",
"Q 26.515625 48.1875 22.3125 43.546875 \r\n",
"Q 18.109375 38.921875 18.109375 30.90625 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 21.34375 51.125 25.703125 53.5625 \r\n",
"Q 30.078125 56 35.796875 56 \r\n",
"Q 45.21875 56 50.046875 50.171875 \r\n",
"Q 54.890625 44.34375 54.890625 33.015625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-110\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(550.190937 343.999687)scale(0.15 -0.15)\">\r\n",
" <use xlink:href=\"#DejaVuSans-68\"/>\r\n",
" <use x=\"77.001953\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"138.28125\" xlink:href=\"#DejaVuSans-110\"/>\r\n",
" <use x=\"201.660156\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <defs>\r\n",
" <clipPath id=\"pae126f091f\">\r\n",
" <rect height=\"311.04\" width=\"552.96\" x=\"52.160938\" y=\"10.999219\"/>\r\n",
" </clipPath>\r\n",
" </defs>\r\n",
"</svg>\r\n"
],
"text/plain": [
"<Figure size 691.2x388.8 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig = regdotsMx(XMx3, yMx3, 'x', 'Iris setosa?')\n",
"reglineMx(fig, hMx, theta_e3, XMx3)\n",
"legend(fig)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"A gdyby tak przyjąć, że klasyfikator zwraca $1$ dla $h(x) > 0.5$ i $0$ w przeciwnym przypadku?"
]
},
{
"cell_type": "code",
"execution_count": 6,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\r\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\r\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\r\n",
"<!-- Created with matplotlib (https://matplotlib.org/) -->\r\n",
"<svg height=\"360.619219pt\" version=\"1.1\" viewBox=\"0 0 673.940937 360.619219\" width=\"673.940937pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n",
" <defs>\r\n",
" <style type=\"text/css\">\r\n",
"*{stroke-linecap:butt;stroke-linejoin:round;}\r\n",
" </style>\r\n",
" </defs>\r\n",
" <g id=\"figure_1\">\r\n",
" <g id=\"patch_1\">\r\n",
" <path d=\"M 0 360.619219 \r\n",
"L 673.940937 360.619219 \r\n",
"L 673.940937 0 \r\n",
"L 0 0 \r\n",
"z\r\n",
"\" style=\"fill:none;\"/>\r\n",
" </g>\r\n",
" <g id=\"axes_1\">\r\n",
" <g id=\"patch_2\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"L 52.160938 10.999219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;\"/>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 3.535534 \r\n",
"C 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\n",
"C 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\n",
"C 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\n",
"C 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\n",
"C -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\n",
"C -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\n",
"C -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\n",
"C -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\n",
"z\r\n",
"\" id=\"mc7aae00743\" style=\"stroke:#ff0000;\"/>\r\n",
" </defs>\r\n",
" <g clip-path=\"url(#pf16cc0c0f6)\">\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"304.14271\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"311.142203\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"500.128532\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"122.155874\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.141697\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"493.129039\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"262.145748\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"535.126001\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"514.12752\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"129.155368\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#mc7aae00743\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#mc7aae00743\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n",
"\" id=\"mca2222f4a6\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_1\">\r\n",
" <!-- 0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 31.78125 66.40625 \r\n",
"Q 24.171875 66.40625 20.328125 58.90625 \r\n",
"Q 16.5 51.421875 16.5 36.375 \r\n",
"Q 16.5 21.390625 20.328125 13.890625 \r\n",
"Q 24.171875 6.390625 31.78125 6.390625 \r\n",
"Q 39.453125 6.390625 43.28125 13.890625 \r\n",
"Q 47.125 21.390625 47.125 36.375 \r\n",
"Q 47.125 51.421875 43.28125 58.90625 \r\n",
"Q 39.453125 66.40625 31.78125 66.40625 \r\n",
"z\r\n",
"M 31.78125 74.21875 \r\n",
"Q 44.046875 74.21875 50.515625 64.515625 \r\n",
"Q 56.984375 54.828125 56.984375 36.375 \r\n",
"Q 56.984375 17.96875 50.515625 8.265625 \r\n",
"Q 44.046875 -1.421875 31.78125 -1.421875 \r\n",
"Q 19.53125 -1.421875 13.0625 8.265625 \r\n",
"Q 6.59375 17.96875 6.59375 36.375 \r\n",
"Q 6.59375 54.828125 13.0625 64.515625 \r\n",
"Q 19.53125 74.21875 31.78125 74.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-48\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(48.979688 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_2\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"122.155874\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_2\">\r\n",
" <!-- 1 -->\r\n",
" <defs>\r\n",
" <path d=\"M 12.40625 8.296875 \r\n",
"L 28.515625 8.296875 \r\n",
"L 28.515625 63.921875 \r\n",
"L 10.984375 60.40625 \r\n",
"L 10.984375 69.390625 \r\n",
"L 28.421875 72.90625 \r\n",
"L 38.28125 72.90625 \r\n",
"L 38.28125 8.296875 \r\n",
"L 54.390625 8.296875 \r\n",
"L 54.390625 0 \r\n",
"L 12.40625 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-49\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(118.974624 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_3\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"192.150811\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_3\">\r\n",
" <!-- 2 -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.1875 8.296875 \r\n",
"L 53.609375 8.296875 \r\n",
"L 53.609375 0 \r\n",
"L 7.328125 0 \r\n",
"L 7.328125 8.296875 \r\n",
"Q 12.9375 14.109375 22.625 23.890625 \r\n",
"Q 32.328125 33.6875 34.8125 36.53125 \r\n",
"Q 39.546875 41.84375 41.421875 45.53125 \r\n",
"Q 43.3125 49.21875 43.3125 52.78125 \r\n",
"Q 43.3125 58.59375 39.234375 62.25 \r\n",
"Q 35.15625 65.921875 28.609375 65.921875 \r\n",
"Q 23.96875 65.921875 18.8125 64.3125 \r\n",
"Q 13.671875 62.703125 7.8125 59.421875 \r\n",
"L 7.8125 69.390625 \r\n",
"Q 13.765625 71.78125 18.9375 73 \r\n",
"Q 24.125 74.21875 28.421875 74.21875 \r\n",
"Q 39.75 74.21875 46.484375 68.546875 \r\n",
"Q 53.21875 62.890625 53.21875 53.421875 \r\n",
"Q 53.21875 48.921875 51.53125 44.890625 \r\n",
"Q 49.859375 40.875 45.40625 35.40625 \r\n",
"Q 44.1875 33.984375 37.640625 27.21875 \r\n",
"Q 31.109375 20.453125 19.1875 8.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-50\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(188.969561 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_4\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"262.145748\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_4\">\r\n",
" <!-- 3 -->\r\n",
" <defs>\r\n",
" <path d=\"M 40.578125 39.3125 \r\n",
"Q 47.65625 37.796875 51.625 33 \r\n",
"Q 55.609375 28.21875 55.609375 21.1875 \r\n",
"Q 55.609375 10.40625 48.1875 4.484375 \r\n",
"Q 40.765625 -1.421875 27.09375 -1.421875 \r\n",
"Q 22.515625 -1.421875 17.65625 -0.515625 \r\n",
"Q 12.796875 0.390625 7.625 2.203125 \r\n",
"L 7.625 11.71875 \r\n",
"Q 11.71875 9.328125 16.59375 8.109375 \r\n",
"Q 21.484375 6.890625 26.8125 6.890625 \r\n",
"Q 36.078125 6.890625 40.9375 10.546875 \r\n",
"Q 45.796875 14.203125 45.796875 21.1875 \r\n",
"Q 45.796875 27.640625 41.28125 31.265625 \r\n",
"Q 36.765625 34.90625 28.71875 34.90625 \r\n",
"L 20.21875 34.90625 \r\n",
"L 20.21875 43.015625 \r\n",
"L 29.109375 43.015625 \r\n",
"Q 36.375 43.015625 40.234375 45.921875 \r\n",
"Q 44.09375 48.828125 44.09375 54.296875 \r\n",
"Q 44.09375 59.90625 40.109375 62.90625 \r\n",
"Q 36.140625 65.921875 28.71875 65.921875 \r\n",
"Q 24.65625 65.921875 20.015625 65.03125 \r\n",
"Q 15.375 64.15625 9.8125 62.3125 \r\n",
"L 9.8125 71.09375 \r\n",
"Q 15.4375 72.65625 20.34375 73.4375 \r\n",
"Q 25.25 74.21875 29.59375 74.21875 \r\n",
"Q 40.828125 74.21875 47.359375 69.109375 \r\n",
"Q 53.90625 64.015625 53.90625 55.328125 \r\n",
"Q 53.90625 49.265625 50.4375 45.09375 \r\n",
"Q 46.96875 40.921875 40.578125 39.3125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-51\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(258.964498 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-51\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_5\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"332.140684\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_5\">\r\n",
" <!-- 4 -->\r\n",
" <defs>\r\n",
" <path d=\"M 37.796875 64.3125 \r\n",
"L 12.890625 25.390625 \r\n",
"L 37.796875 25.390625 \r\n",
"z\r\n",
"M 35.203125 72.90625 \r\n",
"L 47.609375 72.90625 \r\n",
"L 47.609375 25.390625 \r\n",
"L 58.015625 25.390625 \r\n",
"L 58.015625 17.1875 \r\n",
"L 47.609375 17.1875 \r\n",
"L 47.609375 0 \r\n",
"L 37.796875 0 \r\n",
"L 37.796875 17.1875 \r\n",
"L 4.890625 17.1875 \r\n",
"L 4.890625 26.703125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-52\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(328.959434 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_6\">\r\n",
" <g id=\"line2d_6\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"402.135621\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_6\">\r\n",
" <!-- 5 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.796875 72.90625 \r\n",
"L 49.515625 72.90625 \r\n",
"L 49.515625 64.59375 \r\n",
"L 19.828125 64.59375 \r\n",
"L 19.828125 46.734375 \r\n",
"Q 21.96875 47.46875 24.109375 47.828125 \r\n",
"Q 26.265625 48.1875 28.421875 48.1875 \r\n",
"Q 40.625 48.1875 47.75 41.5 \r\n",
"Q 54.890625 34.8125 54.890625 23.390625 \r\n",
"Q 54.890625 11.625 47.5625 5.09375 \r\n",
"Q 40.234375 -1.421875 26.90625 -1.421875 \r\n",
"Q 22.3125 -1.421875 17.546875 -0.640625 \r\n",
"Q 12.796875 0.140625 7.71875 1.703125 \r\n",
"L 7.71875 11.625 \r\n",
"Q 12.109375 9.234375 16.796875 8.0625 \r\n",
"Q 21.484375 6.890625 26.703125 6.890625 \r\n",
"Q 35.15625 6.890625 40.078125 11.328125 \r\n",
"Q 45.015625 15.765625 45.015625 23.390625 \r\n",
"Q 45.015625 31 40.078125 35.4375 \r\n",
"Q 35.15625 39.890625 26.703125 39.890625 \r\n",
"Q 22.75 39.890625 18.8125 39.015625 \r\n",
"Q 14.890625 38.140625 10.796875 36.28125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-53\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(398.954371 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_7\">\r\n",
" <g id=\"line2d_7\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"472.130558\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_7\">\r\n",
" <!-- 6 -->\r\n",
" <defs>\r\n",
" <path d=\"M 33.015625 40.375 \r\n",
"Q 26.375 40.375 22.484375 35.828125 \r\n",
"Q 18.609375 31.296875 18.609375 23.390625 \r\n",
"Q 18.609375 15.53125 22.484375 10.953125 \r\n",
"Q 26.375 6.390625 33.015625 6.390625 \r\n",
"Q 39.65625 6.390625 43.53125 10.953125 \r\n",
"Q 47.40625 15.53125 47.40625 23.390625 \r\n",
"Q 47.40625 31.296875 43.53125 35.828125 \r\n",
"Q 39.65625 40.375 33.015625 40.375 \r\n",
"z\r\n",
"M 52.59375 71.296875 \r\n",
"L 52.59375 62.3125 \r\n",
"Q 48.875 64.0625 45.09375 64.984375 \r\n",
"Q 41.3125 65.921875 37.59375 65.921875 \r\n",
"Q 27.828125 65.921875 22.671875 59.328125 \r\n",
"Q 17.53125 52.734375 16.796875 39.40625 \r\n",
"Q 19.671875 43.65625 24.015625 45.921875 \r\n",
"Q 28.375 48.1875 33.59375 48.1875 \r\n",
"Q 44.578125 48.1875 50.953125 41.515625 \r\n",
"Q 57.328125 34.859375 57.328125 23.390625 \r\n",
"Q 57.328125 12.15625 50.6875 5.359375 \r\n",
"Q 44.046875 -1.421875 33.015625 -1.421875 \r\n",
"Q 20.359375 -1.421875 13.671875 8.265625 \r\n",
"Q 6.984375 17.96875 6.984375 36.375 \r\n",
"Q 6.984375 53.65625 15.1875 63.9375 \r\n",
"Q 23.390625 74.21875 37.203125 74.21875 \r\n",
"Q 40.921875 74.21875 44.703125 73.484375 \r\n",
"Q 48.484375 72.75 52.59375 71.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-54\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(468.949308 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-54\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_8\">\r\n",
" <g id=\"line2d_8\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"542.125494\" xlink:href=\"#mca2222f4a6\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_8\">\r\n",
" <!-- 7 -->\r\n",
" <defs>\r\n",
" <path d=\"M 8.203125 72.90625 \r\n",
"L 55.078125 72.90625 \r\n",
"L 55.078125 68.703125 \r\n",
"L 28.609375 0 \r\n",
"L 18.3125 0 \r\n",
"L 43.21875 64.59375 \r\n",
"L 8.203125 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-55\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(538.944244 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-55\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_9\">\r\n",
" <!-- x -->\r\n",
" <defs>\r\n",
" <path d=\"M 54.890625 54.6875 \r\n",
"L 35.109375 28.078125 \r\n",
"L 55.90625 0 \r\n",
"L 45.3125 0 \r\n",
"L 29.390625 21.484375 \r\n",
"L 13.484375 0 \r\n",
"L 2.875 0 \r\n",
"L 24.125 28.609375 \r\n",
"L 4.6875 54.6875 \r\n",
"L 15.28125 54.6875 \r\n",
"L 29.78125 35.203125 \r\n",
"L 44.28125 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-120\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(325.681562 350.315781)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-120\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_9\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n",
"\" id=\"m9ed85e6392\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_10\">\r\n",
" <!-- 1.0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.59375 35.5 \r\n",
"L 73.1875 35.5 \r\n",
"L 73.1875 27.203125 \r\n",
"L 10.59375 27.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-8722\"/>\r\n",
" <path d=\"M 10.6875 12.40625 \r\n",
"L 21 12.40625 \r\n",
"L 21 0 \r\n",
"L 10.6875 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-46\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(20.878125 325.838437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_10\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"270.199219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_11\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(20.878125 273.998437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_11\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_12\">\r\n",
" <!-- 0.0 -->\r\n",
" <g transform=\"translate(29.257813 222.158437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_12\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"166.519219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_13\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(29.257813 170.318437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_13\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"114.679219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_14\">\r\n",
" <!-- 1.0 -->\r\n",
" <g transform=\"translate(29.257813 118.478438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_6\">\r\n",
" <g id=\"line2d_14\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"62.839219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_15\">\r\n",
" <!-- 1.5 -->\r\n",
" <g transform=\"translate(29.257813 66.638438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_7\">\r\n",
" <g id=\"line2d_15\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m9ed85e6392\" y=\"10.999219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_16\">\r\n",
" <!-- 2.0 -->\r\n",
" <g transform=\"translate(29.257813 14.798438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_17\">\r\n",
" <!-- Iris setosa? -->\r\n",
" <defs>\r\n",
" <path d=\"M 9.8125 72.90625 \r\n",
"L 19.671875 72.90625 \r\n",
"L 19.671875 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-73\"/>\r\n",
" <path d=\"M 41.109375 46.296875 \r\n",
"Q 39.59375 47.171875 37.8125 47.578125 \r\n",
"Q 36.03125 48 33.890625 48 \r\n",
"Q 26.265625 48 22.1875 43.046875 \r\n",
"Q 18.109375 38.09375 18.109375 28.8125 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 20.953125 51.171875 25.484375 53.578125 \r\n",
"Q 30.03125 56 36.53125 56 \r\n",
"Q 37.453125 56 38.578125 55.875 \r\n",
"Q 39.703125 55.765625 41.0625 55.515625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-114\"/>\r\n",
" <path d=\"M 9.421875 54.6875 \r\n",
"L 18.40625 54.6875 \r\n",
"L 18.40625 0 \r\n",
"L 9.421875 0 \r\n",
"z\r\n",
"M 9.421875 75.984375 \r\n",
"L 18.40625 75.984375 \r\n",
"L 18.40625 64.59375 \r\n",
"L 9.421875 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-105\"/>\r\n",
" <path d=\"M 44.28125 53.078125 \r\n",
"L 44.28125 44.578125 \r\n",
"Q 40.484375 46.53125 36.375 47.5 \r\n",
"Q 32.28125 48.484375 27.875 48.484375 \r\n",
"Q 21.1875 48.484375 17.84375 46.4375 \r\n",
"Q 14.5 44.390625 14.5 40.28125 \r\n",
"Q 14.5 37.15625 16.890625 35.375 \r\n",
"Q 19.28125 33.59375 26.515625 31.984375 \r\n",
"L 29.59375 31.296875 \r\n",
"Q 39.15625 29.25 43.1875 25.515625 \r\n",
"Q 47.21875 21.78125 47.21875 15.09375 \r\n",
"Q 47.21875 7.46875 41.1875 3.015625 \r\n",
"Q 35.15625 -1.421875 24.609375 -1.421875 \r\n",
"Q 20.21875 -1.421875 15.453125 -0.5625 \r\n",
"Q 10.6875 0.296875 5.421875 2 \r\n",
"L 5.421875 11.28125 \r\n",
"Q 10.40625 8.6875 15.234375 7.390625 \r\n",
"Q 20.0625 6.109375 24.8125 6.109375 \r\n",
"Q 31.15625 6.109375 34.5625 8.28125 \r\n",
"Q 37.984375 10.453125 37.984375 14.40625 \r\n",
"Q 37.984375 18.0625 35.515625 20.015625 \r\n",
"Q 33.0625 21.96875 24.703125 23.78125 \r\n",
"L 21.578125 24.515625 \r\n",
"Q 13.234375 26.265625 9.515625 29.90625 \r\n",
"Q 5.8125 33.546875 5.8125 39.890625 \r\n",
"Q 5.8125 47.609375 11.28125 51.796875 \r\n",
"Q 16.75 56 26.8125 56 \r\n",
"Q 31.78125 56 36.171875 55.265625 \r\n",
"Q 40.578125 54.546875 44.28125 53.078125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-115\"/>\r\n",
" <path id=\"DejaVuSans-32\"/>\r\n",
" <path d=\"M 56.203125 29.59375 \r\n",
"L 56.203125 25.203125 \r\n",
"L 14.890625 25.203125 \r\n",
"Q 15.484375 15.921875 20.484375 11.0625 \r\n",
"Q 25.484375 6.203125 34.421875 6.203125 \r\n",
"Q 39.59375 6.203125 44.453125 7.46875 \r\n",
"Q 49.3125 8.734375 54.109375 11.28125 \r\n",
"L 54.109375 2.78125 \r\n",
"Q 49.265625 0.734375 44.1875 -0.34375 \r\n",
"Q 39.109375 -1.421875 33.890625 -1.421875 \r\n",
"Q 20.796875 -1.421875 13.15625 6.1875 \r\n",
"Q 5.515625 13.8125 5.515625 26.8125 \r\n",
"Q 5.515625 40.234375 12.765625 48.109375 \r\n",
"Q 20.015625 56 32.328125 56 \r\n",
"Q 43.359375 56 49.78125 48.890625 \r\n",
"Q 56.203125 41.796875 56.203125 29.59375 \r\n",
"z\r\n",
"M 47.21875 32.234375 \r\n",
"Q 47.125 39.59375 43.09375 43.984375 \r\n",
"Q 39.0625 48.390625 32.421875 48.390625 \r\n",
"Q 24.90625 48.390625 20.390625 44.140625 \r\n",
"Q 15.875 39.890625 15.1875 32.171875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-101\"/>\r\n",
" <path d=\"M 18.3125 70.21875 \r\n",
"L 18.3125 54.6875 \r\n",
"L 36.8125 54.6875 \r\n",
"L 36.8125 47.703125 \r\n",
"L 18.3125 47.703125 \r\n",
"L 18.3125 18.015625 \r\n",
"Q 18.3125 11.328125 20.140625 9.421875 \r\n",
"Q 21.96875 7.515625 27.59375 7.515625 \r\n",
"L 36.8125 7.515625 \r\n",
"L 36.8125 0 \r\n",
"L 27.59375 0 \r\n",
"Q 17.1875 0 13.234375 3.875 \r\n",
"Q 9.28125 7.765625 9.28125 18.015625 \r\n",
"L 9.28125 47.703125 \r\n",
"L 2.6875 47.703125 \r\n",
"L 2.6875 54.6875 \r\n",
"L 9.28125 54.6875 \r\n",
"L 9.28125 70.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-116\"/>\r\n",
" <path d=\"M 30.609375 48.390625 \r\n",
"Q 23.390625 48.390625 19.1875 42.75 \r\n",
"Q 14.984375 37.109375 14.984375 27.296875 \r\n",
"Q 14.984375 17.484375 19.15625 11.84375 \r\n",
"Q 23.34375 6.203125 30.609375 6.203125 \r\n",
"Q 37.796875 6.203125 41.984375 11.859375 \r\n",
"Q 46.1875 17.53125 46.1875 27.296875 \r\n",
"Q 46.1875 37.015625 41.984375 42.703125 \r\n",
"Q 37.796875 48.390625 30.609375 48.390625 \r\n",
"z\r\n",
"M 30.609375 56 \r\n",
"Q 42.328125 56 49.015625 48.375 \r\n",
"Q 55.71875 40.765625 55.71875 27.296875 \r\n",
"Q 55.71875 13.875 49.015625 6.21875 \r\n",
"Q 42.328125 -1.421875 30.609375 -1.421875 \r\n",
"Q 18.84375 -1.421875 12.171875 6.21875 \r\n",
"Q 5.515625 13.875 5.515625 27.296875 \r\n",
"Q 5.515625 40.765625 12.171875 48.375 \r\n",
"Q 18.84375 56 30.609375 56 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-111\"/>\r\n",
" <path d=\"M 34.28125 27.484375 \r\n",
"Q 23.390625 27.484375 19.1875 25 \r\n",
"Q 14.984375 22.515625 14.984375 16.5 \r\n",
"Q 14.984375 11.71875 18.140625 8.90625 \r\n",
"Q 21.296875 6.109375 26.703125 6.109375 \r\n",
"Q 34.1875 6.109375 38.703125 11.40625 \r\n",
"Q 43.21875 16.703125 43.21875 25.484375 \r\n",
"L 43.21875 27.484375 \r\n",
"z\r\n",
"M 52.203125 31.203125 \r\n",
"L 52.203125 0 \r\n",
"L 43.21875 0 \r\n",
"L 43.21875 8.296875 \r\n",
"Q 40.140625 3.328125 35.546875 0.953125 \r\n",
"Q 30.953125 -1.421875 24.3125 -1.421875 \r\n",
"Q 15.921875 -1.421875 10.953125 3.296875 \r\n",
"Q 6 8.015625 6 15.921875 \r\n",
"Q 6 25.140625 12.171875 29.828125 \r\n",
"Q 18.359375 34.515625 30.609375 34.515625 \r\n",
"L 43.21875 34.515625 \r\n",
"L 43.21875 35.40625 \r\n",
"Q 43.21875 41.609375 39.140625 45 \r\n",
"Q 35.0625 48.390625 27.6875 48.390625 \r\n",
"Q 23 48.390625 18.546875 47.265625 \r\n",
"Q 14.109375 46.140625 10.015625 43.890625 \r\n",
"L 10.015625 52.203125 \r\n",
"Q 14.9375 54.109375 19.578125 55.046875 \r\n",
"Q 24.21875 56 28.609375 56 \r\n",
"Q 40.484375 56 46.34375 49.84375 \r\n",
"Q 52.203125 43.703125 52.203125 31.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-97\"/>\r\n",
" <path d=\"M 19.09375 12.40625 \r\n",
"L 29 12.40625 \r\n",
"L 29 0 \r\n",
"L 19.09375 0 \r\n",
"z\r\n",
"M 28.71875 19.578125 \r\n",
"L 19.390625 19.578125 \r\n",
"L 19.390625 27.09375 \r\n",
"Q 19.390625 32.03125 20.75 35.203125 \r\n",
"Q 22.125 38.375 26.515625 42.578125 \r\n",
"L 30.90625 46.921875 \r\n",
"Q 33.6875 49.515625 34.9375 51.8125 \r\n",
"Q 36.1875 54.109375 36.1875 56.5 \r\n",
"Q 36.1875 60.84375 32.984375 63.53125 \r\n",
"Q 29.78125 66.21875 24.515625 66.21875 \r\n",
"Q 20.65625 66.21875 16.28125 64.5 \r\n",
"Q 11.921875 62.796875 7.171875 59.515625 \r\n",
"L 7.171875 68.703125 \r\n",
"Q 11.765625 71.484375 16.46875 72.84375 \r\n",
"Q 21.1875 74.21875 26.21875 74.21875 \r\n",
"Q 35.203125 74.21875 40.640625 69.484375 \r\n",
"Q 46.09375 64.75 46.09375 56.984375 \r\n",
"Q 46.09375 53.265625 44.328125 49.921875 \r\n",
"Q 42.578125 46.578125 38.1875 42.390625 \r\n",
"L 33.890625 38.1875 \r\n",
"Q 31.59375 35.890625 30.640625 34.59375 \r\n",
"Q 29.6875 33.296875 29.296875 32.078125 \r\n",
"Q 29 31.0625 28.859375 29.59375 \r\n",
"Q 28.71875 28.125 28.71875 25.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-63\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(14.798438 194.655937)rotate(-90)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-73\"/>\r\n",
" <use x=\"29.492188\" xlink:href=\"#DejaVuSans-114\"/>\r\n",
" <use x=\"70.605469\" xlink:href=\"#DejaVuSans-105\"/>\r\n",
" <use x=\"98.388672\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"150.488281\" xlink:href=\"#DejaVuSans-32\"/>\r\n",
" <use x=\"182.275391\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"234.375\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" <use x=\"295.898438\" xlink:href=\"#DejaVuSans-116\"/>\r\n",
" <use x=\"335.107422\" xlink:href=\"#DejaVuSans-111\"/>\r\n",
" <use x=\"396.289062\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"448.388672\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"509.667969\" xlink:href=\"#DejaVuSans-63\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"line2d_16\">\r\n",
" <path clip-path=\"url(#pf16cc0c0f6)\" d=\"M 52.160938 90.800709 \r\n",
"L 605.120937 287.486853 \r\n",
"\" style=\"fill:none;stroke:#1f77b4;stroke-linecap:square;stroke-width:2;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_17\">\r\n",
" <path clip-path=\"url(#pf16cc0c0f6)\" d=\"M 265.034637 322.039219 \r\n",
"L 265.034637 10.999219 \r\n",
"\" style=\"fill:none;stroke:#ffa500;stroke-dasharray:5.55,2.4;stroke-dashoffset:0;stroke-width:1.5;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_3\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 52.160938 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_4\">\r\n",
" <path d=\"M 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_5\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_6\">\r\n",
" <path d=\"M 52.160938 10.999219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"legend_1\">\r\n",
" <g id=\"patch_7\">\r\n",
" <path d=\"M 505.190937 353.119219 \r\n",
"L 663.440937 353.119219 \r\n",
"Q 666.440937 353.119219 666.440937 350.119219 \r\n",
"L 666.440937 284.904375 \r\n",
"Q 666.440937 281.904375 663.440937 281.904375 \r\n",
"L 505.190937 281.904375 \r\n",
"Q 502.190937 281.904375 502.190937 284.904375 \r\n",
"L 502.190937 350.119219 \r\n",
"Q 502.190937 353.119219 505.190937 353.119219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;opacity:0.8;stroke:#cccccc;stroke-linejoin:miter;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_18\">\r\n",
" <path d=\"M 508.190937 294.052031 \r\n",
"L 538.190937 294.052031 \r\n",
"\" style=\"fill:none;stroke:#1f77b4;stroke-linecap:square;stroke-width:2;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_19\"/>\r\n",
" <g id=\"text_18\">\r\n",
" <!-- $y=1.2-0.24x$ -->\r\n",
" <defs>\r\n",
" <path d=\"M 24.8125 -5.078125 \r\n",
"Q 18.5625 -15.578125 14.625 -18.1875 \r\n",
"Q 10.6875 -20.796875 4.59375 -20.796875 \r\n",
"L -2.484375 -20.796875 \r\n",
"L -0.984375 -13.28125 \r\n",
"L 4.203125 -13.28125 \r\n",
"Q 7.953125 -13.28125 10.59375 -11.234375 \r\n",
"Q 13.234375 -9.1875 16.5 -3.21875 \r\n",
"L 19.28125 2 \r\n",
"L 7.171875 54.6875 \r\n",
"L 16.703125 54.6875 \r\n",
"L 25.78125 12.796875 \r\n",
"L 50.875 54.6875 \r\n",
"L 60.296875 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-Oblique-121\"/>\r\n",
" <path d=\"M 10.59375 45.40625 \r\n",
"L 73.1875 45.40625 \r\n",
"L 73.1875 37.203125 \r\n",
"L 10.59375 37.203125 \r\n",
"z\r\n",
"M 10.59375 25.484375 \r\n",
"L 73.1875 25.484375 \r\n",
"L 73.1875 17.1875 \r\n",
"L 10.59375 17.1875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-61\"/>\r\n",
" <path d=\"M 60.015625 54.6875 \r\n",
"L 34.90625 27.875 \r\n",
"L 50.296875 0 \r\n",
"L 39.984375 0 \r\n",
"L 28.421875 21.6875 \r\n",
"L 8.296875 0 \r\n",
"L -2.59375 0 \r\n",
"L 24.3125 28.8125 \r\n",
"L 10.015625 54.6875 \r\n",
"L 20.3125 54.6875 \r\n",
"L 30.8125 34.90625 \r\n",
"L 49.125 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-Oblique-120\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(550.190937 299.302031)scale(0.15 -0.15)\">\r\n",
" <use transform=\"translate(0 0.78125)\" xlink:href=\"#DejaVuSans-Oblique-121\"/>\r\n",
" <use transform=\"translate(78.662109 0.78125)\" xlink:href=\"#DejaVuSans-61\"/>\r\n",
" <use transform=\"translate(181.933594 0.78125)\" xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use transform=\"translate(245.556641 0.78125)\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use transform=\"translate(271.84375 0.78125)\" xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use transform=\"translate(354.949219 0.78125)\" xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use transform=\"translate(458.220703 0.78125)\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use transform=\"translate(521.84375 0.78125)\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use transform=\"translate(548.130859 0.78125)\" xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use transform=\"translate(611.753906 0.78125)\" xlink:href=\"#DejaVuSans-52\"/>\r\n",
" <use transform=\"translate(675.376953 0.78125)\" xlink:href=\"#DejaVuSans-Oblique-120\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"line2d_20\">\r\n",
" <path d=\"M 508.190937 316.702031 \r\n",
"L 538.190937 316.702031 \r\n",
"\" style=\"fill:none;stroke:#ffa500;stroke-dasharray:5.55,2.4;stroke-dashoffset:0;stroke-width:1.5;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_21\"/>\r\n",
" <g id=\"text_19\">\r\n",
" <!-- próg: $x=3.04$ -->\r\n",
" <defs>\r\n",
" <path d=\"M 18.109375 8.203125 \r\n",
"L 18.109375 -20.796875 \r\n",
"L 9.078125 -20.796875 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.390625 \r\n",
"Q 20.953125 51.265625 25.265625 53.625 \r\n",
"Q 29.59375 56 35.59375 56 \r\n",
"Q 45.5625 56 51.78125 48.09375 \r\n",
"Q 58.015625 40.1875 58.015625 27.296875 \r\n",
"Q 58.015625 14.40625 51.78125 6.484375 \r\n",
"Q 45.5625 -1.421875 35.59375 -1.421875 \r\n",
"Q 29.59375 -1.421875 25.265625 0.953125 \r\n",
"Q 20.953125 3.328125 18.109375 8.203125 \r\n",
"z\r\n",
"M 48.6875 27.296875 \r\n",
"Q 48.6875 37.203125 44.609375 42.84375 \r\n",
"Q 40.53125 48.484375 33.40625 48.484375 \r\n",
"Q 26.265625 48.484375 22.1875 42.84375 \r\n",
"Q 18.109375 37.203125 18.109375 27.296875 \r\n",
"Q 18.109375 17.390625 22.1875 11.75 \r\n",
"Q 26.265625 6.109375 33.40625 6.109375 \r\n",
"Q 40.53125 6.109375 44.609375 11.75 \r\n",
"Q 48.6875 17.390625 48.6875 27.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-112\"/>\r\n",
" <path d=\"M 30.609375 48.390625 \r\n",
"Q 23.390625 48.390625 19.1875 42.75 \r\n",
"Q 14.984375 37.109375 14.984375 27.296875 \r\n",
"Q 14.984375 17.484375 19.15625 11.84375 \r\n",
"Q 23.34375 6.203125 30.609375 6.203125 \r\n",
"Q 37.796875 6.203125 41.984375 11.859375 \r\n",
"Q 46.1875 17.53125 46.1875 27.296875 \r\n",
"Q 46.1875 37.015625 41.984375 42.703125 \r\n",
"Q 37.796875 48.390625 30.609375 48.390625 \r\n",
"z\r\n",
"M 30.609375 56 \r\n",
"Q 42.328125 56 49.015625 48.375 \r\n",
"Q 55.71875 40.765625 55.71875 27.296875 \r\n",
"Q 55.71875 13.875 49.015625 6.21875 \r\n",
"Q 42.328125 -1.421875 30.609375 -1.421875 \r\n",
"Q 18.84375 -1.421875 12.171875 6.21875 \r\n",
"Q 5.515625 13.875 5.515625 27.296875 \r\n",
"Q 5.515625 40.765625 12.171875 48.375 \r\n",
"Q 18.84375 56 30.609375 56 \r\n",
"z\r\n",
"M 37.40625 79.984375 \r\n",
"L 47.125 79.984375 \r\n",
"L 31.203125 61.625 \r\n",
"L 23.734375 61.625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-243\"/>\r\n",
" <path d=\"M 45.40625 27.984375 \r\n",
"Q 45.40625 37.75 41.375 43.109375 \r\n",
"Q 37.359375 48.484375 30.078125 48.484375 \r\n",
"Q 22.859375 48.484375 18.828125 43.109375 \r\n",
"Q 14.796875 37.75 14.796875 27.984375 \r\n",
"Q 14.796875 18.265625 18.828125 12.890625 \r\n",
"Q 22.859375 7.515625 30.078125 7.515625 \r\n",
"Q 37.359375 7.515625 41.375 12.890625 \r\n",
"Q 45.40625 18.265625 45.40625 27.984375 \r\n",
"z\r\n",
"M 54.390625 6.78125 \r\n",
"Q 54.390625 -7.171875 48.1875 -13.984375 \r\n",
"Q 42 -20.796875 29.203125 -20.796875 \r\n",
"Q 24.46875 -20.796875 20.265625 -20.09375 \r\n",
"Q 16.0625 -19.390625 12.109375 -17.921875 \r\n",
"L 12.109375 -9.1875 \r\n",
"Q 16.0625 -11.328125 19.921875 -12.34375 \r\n",
"Q 23.78125 -13.375 27.78125 -13.375 \r\n",
"Q 36.625 -13.375 41.015625 -8.765625 \r\n",
"Q 45.40625 -4.15625 45.40625 5.171875 \r\n",
"L 45.40625 9.625 \r\n",
"Q 42.625 4.78125 38.28125 2.390625 \r\n",
"Q 33.9375 0 27.875 0 \r\n",
"Q 17.828125 0 11.671875 7.65625 \r\n",
"Q 5.515625 15.328125 5.515625 27.984375 \r\n",
"Q 5.515625 40.671875 11.671875 48.328125 \r\n",
"Q 17.828125 56 27.875 56 \r\n",
"Q 33.9375 56 38.28125 53.609375 \r\n",
"Q 42.625 51.21875 45.40625 46.390625 \r\n",
"L 45.40625 54.6875 \r\n",
"L 54.390625 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-103\"/>\r\n",
" <path d=\"M 11.71875 12.40625 \r\n",
"L 22.015625 12.40625 \r\n",
"L 22.015625 0 \r\n",
"L 11.71875 0 \r\n",
"z\r\n",
"M 11.71875 51.703125 \r\n",
"L 22.015625 51.703125 \r\n",
"L 22.015625 39.3125 \r\n",
"L 11.71875 39.3125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-58\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(550.190937 321.952031)scale(0.15 -0.15)\">\r\n",
" <use transform=\"translate(0 0.015625)\" xlink:href=\"#DejaVuSans-112\"/>\r\n",
" <use transform=\"translate(63.476562 0.015625)\" xlink:href=\"#DejaVuSans-114\"/>\r\n",
" <use transform=\"translate(104.589844 0.015625)\" xlink:href=\"#DejaVuSans-243\"/>\r\n",
" <use transform=\"translate(165.771484 0.015625)\" xlink:href=\"#DejaVuSans-103\"/>\r\n",
" <use transform=\"translate(229.248047 0.015625)\" xlink:href=\"#DejaVuSans-58\"/>\r\n",
" <use transform=\"translate(262.939453 0.015625)\" xlink:href=\"#DejaVuSans-32\"/>\r\n",
" <use transform=\"translate(294.726562 0.015625)\" xlink:href=\"#DejaVuSans-Oblique-120\"/>\r\n",
" <use transform=\"translate(373.388672 0.015625)\" xlink:href=\"#DejaVuSans-61\"/>\r\n",
" <use transform=\"translate(476.660156 0.015625)\" xlink:href=\"#DejaVuSans-51\"/>\r\n",
" <use transform=\"translate(540.283203 0.015625)\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use transform=\"translate(572.070312 0.015625)\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use transform=\"translate(635.693359 0.015625)\" xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_2\">\r\n",
" <g>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"523.190937\" xlink:href=\"#mc7aae00743\" y=\"340.062187\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_20\">\r\n",
" <!-- Dane -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.671875 64.796875 \r\n",
"L 19.671875 8.109375 \r\n",
"L 31.59375 8.109375 \r\n",
"Q 46.6875 8.109375 53.6875 14.9375 \r\n",
"Q 60.6875 21.78125 60.6875 36.53125 \r\n",
"Q 60.6875 51.171875 53.6875 57.984375 \r\n",
"Q 46.6875 64.796875 31.59375 64.796875 \r\n",
"z\r\n",
"M 9.8125 72.90625 \r\n",
"L 30.078125 72.90625 \r\n",
"Q 51.265625 72.90625 61.171875 64.09375 \r\n",
"Q 71.09375 55.28125 71.09375 36.53125 \r\n",
"Q 71.09375 17.671875 61.125 8.828125 \r\n",
"Q 51.171875 0 30.078125 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-68\"/>\r\n",
" <path d=\"M 54.890625 33.015625 \r\n",
"L 54.890625 0 \r\n",
"L 45.90625 0 \r\n",
"L 45.90625 32.71875 \r\n",
"Q 45.90625 40.484375 42.875 44.328125 \r\n",
"Q 39.84375 48.1875 33.796875 48.1875 \r\n",
"Q 26.515625 48.1875 22.3125 43.546875 \r\n",
"Q 18.109375 38.921875 18.109375 30.90625 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 21.34375 51.125 25.703125 53.5625 \r\n",
"Q 30.078125 56 35.796875 56 \r\n",
"Q 45.21875 56 50.046875 50.171875 \r\n",
"Q 54.890625 44.34375 54.890625 33.015625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-110\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(550.190937 343.999687)scale(0.15 -0.15)\">\r\n",
" <use xlink:href=\"#DejaVuSans-68\"/>\r\n",
" <use x=\"77.001953\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"138.28125\" xlink:href=\"#DejaVuSans-110\"/>\r\n",
" <use x=\"201.660156\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <defs>\r\n",
" <clipPath id=\"pf16cc0c0f6\">\r\n",
" <rect height=\"311.04\" width=\"552.96\" x=\"52.160938\" y=\"10.999219\"/>\r\n",
" </clipPath>\r\n",
" </defs>\r\n",
"</svg>\r\n"
],
"text/plain": [
"<Figure size 691.2x388.8 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig = regdotsMx(XMx3, yMx3, 'x', 'Iris setosa?')\n",
"theta_e3, logs3 = GDMx(JMx, dJMx, thetaStartMx, XMx3, yMx3, alpha=0.03, eps=0.000001)\n",
"reglineMx(fig, hMx, theta_e3, XMx3)\n",
"threshold(fig, theta_e3) # pomarańczowa linia oznacza granicę między klasą \"1\" a klasą \"0\" wyznaczoną przez próg \"h(x) = 0.5\"\n",
"legend(fig)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
" * Krzywa regresji liniowej jest niezbyt dopasowana do danych klasyfikacyjnych.\n",
" * Zastosowanie progu $y = 0.5$ nie zawsze pomaga uzyskać sensowny rezultat.\n",
" * $h(x)$ może przyjmować wartości mniejsze od $0$ i większe od $1$ jak interpretować takie wyniki?\n",
"\n",
"Wniosek: w przypadku problemów klasyfikacyjnych regresja liniowa nie wydaje się najlepszym rozwiązaniem."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Wprowadźmy zatem pewne modyfikacje do naszego modelu."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Zdefiniujmy następującą funkcję, którą będziemy nazywać funkcją *logistyczną* (albo *sigmoidalną*):"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"**Funkcja logistyczna (sigmoidalna)**:\n",
"\n",
"$$g(x) = \\dfrac{1}{1+e^{-x}}$$"
]
},
{
"cell_type": "code",
"execution_count": 7,
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"outputs": [],
"source": [
"# Funkjca logistycza\n",
"\n",
"def logistic(x):\n",
" return 1.0 / (1.0 + np.exp(-x))"
]
},
{
"cell_type": "code",
"execution_count": 8,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"import matplotlib.pyplot as plt\n",
"def plot_logistic():\n",
" x = np.linspace(-5,5,200)\n",
" y = logistic(x)\n",
"\n",
" fig = plt.figure(figsize=(7,5))\n",
" ax = fig.add_subplot(111)\n",
" plt.ylim(-.1,1.1)\n",
" ax.plot(x, y, linewidth='2')"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Wykres funkcji logistycznej $g(x) = \\dfrac{1}{1+e^{-x}}$:"
]
},
{
"cell_type": "code",
"execution_count": 9,
"metadata": {
"scrolled": true,
"slideshow": {
"slide_type": "fragment"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\r\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\r\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\r\n",
"<!-- Created with matplotlib (https://matplotlib.org/) -->\r\n",
"<svg height=\"302.878125pt\" version=\"1.1\" viewBox=\"0 0 427.903125 302.878125\" width=\"427.903125pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n",
" <defs>\r\n",
" <style type=\"text/css\">\r\n",
"*{stroke-linecap:butt;stroke-linejoin:round;}\r\n",
" </style>\r\n",
" </defs>\r\n",
" <g id=\"figure_1\">\r\n",
" <g id=\"patch_1\">\r\n",
" <path d=\"M 0 302.878125 \r\n",
"L 427.903125 302.878125 \r\n",
"L 427.903125 0 \r\n",
"L 0 0 \r\n",
"z\r\n",
"\" style=\"fill:none;\"/>\r\n",
" </g>\r\n",
" <g id=\"axes_1\">\r\n",
" <g id=\"patch_2\">\r\n",
" <path d=\"M 30.103125 279 \r\n",
"L 420.703125 279 \r\n",
"L 420.703125 7.2 \r\n",
"L 30.103125 7.2 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;\"/>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n",
"\" id=\"m9d2d4a8ceb\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"83.366761\" xlink:href=\"#m9d2d4a8ceb\" y=\"279\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_1\">\r\n",
" <!-- 4 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.59375 35.5 \r\n",
"L 73.1875 35.5 \r\n",
"L 73.1875 27.203125 \r\n",
"L 10.59375 27.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-8722\"/>\r\n",
" <path d=\"M 37.796875 64.3125 \r\n",
"L 12.890625 25.390625 \r\n",
"L 37.796875 25.390625 \r\n",
"z\r\n",
"M 35.203125 72.90625 \r\n",
"L 47.609375 72.90625 \r\n",
"L 47.609375 25.390625 \r\n",
"L 58.015625 25.390625 \r\n",
"L 58.015625 17.1875 \r\n",
"L 47.609375 17.1875 \r\n",
"L 47.609375 0 \r\n",
"L 37.796875 0 \r\n",
"L 37.796875 17.1875 \r\n",
"L 4.890625 17.1875 \r\n",
"L 4.890625 26.703125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-52\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(75.995668 293.598437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_2\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"154.384943\" xlink:href=\"#m9d2d4a8ceb\" y=\"279\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_2\">\r\n",
" <!-- 2 -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.1875 8.296875 \r\n",
"L 53.609375 8.296875 \r\n",
"L 53.609375 0 \r\n",
"L 7.328125 0 \r\n",
"L 7.328125 8.296875 \r\n",
"Q 12.9375 14.109375 22.625 23.890625 \r\n",
"Q 32.328125 33.6875 34.8125 36.53125 \r\n",
"Q 39.546875 41.84375 41.421875 45.53125 \r\n",
"Q 43.3125 49.21875 43.3125 52.78125 \r\n",
"Q 43.3125 58.59375 39.234375 62.25 \r\n",
"Q 35.15625 65.921875 28.609375 65.921875 \r\n",
"Q 23.96875 65.921875 18.8125 64.3125 \r\n",
"Q 13.671875 62.703125 7.8125 59.421875 \r\n",
"L 7.8125 69.390625 \r\n",
"Q 13.765625 71.78125 18.9375 73 \r\n",
"Q 24.125 74.21875 28.421875 74.21875 \r\n",
"Q 39.75 74.21875 46.484375 68.546875 \r\n",
"Q 53.21875 62.890625 53.21875 53.421875 \r\n",
"Q 53.21875 48.921875 51.53125 44.890625 \r\n",
"Q 49.859375 40.875 45.40625 35.40625 \r\n",
"Q 44.1875 33.984375 37.640625 27.21875 \r\n",
"Q 31.109375 20.453125 19.1875 8.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-50\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(147.013849 293.598437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_3\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"225.403125\" xlink:href=\"#m9d2d4a8ceb\" y=\"279\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_3\">\r\n",
" <!-- 0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 31.78125 66.40625 \r\n",
"Q 24.171875 66.40625 20.328125 58.90625 \r\n",
"Q 16.5 51.421875 16.5 36.375 \r\n",
"Q 16.5 21.390625 20.328125 13.890625 \r\n",
"Q 24.171875 6.390625 31.78125 6.390625 \r\n",
"Q 39.453125 6.390625 43.28125 13.890625 \r\n",
"Q 47.125 21.390625 47.125 36.375 \r\n",
"Q 47.125 51.421875 43.28125 58.90625 \r\n",
"Q 39.453125 66.40625 31.78125 66.40625 \r\n",
"z\r\n",
"M 31.78125 74.21875 \r\n",
"Q 44.046875 74.21875 50.515625 64.515625 \r\n",
"Q 56.984375 54.828125 56.984375 36.375 \r\n",
"Q 56.984375 17.96875 50.515625 8.265625 \r\n",
"Q 44.046875 -1.421875 31.78125 -1.421875 \r\n",
"Q 19.53125 -1.421875 13.0625 8.265625 \r\n",
"Q 6.59375 17.96875 6.59375 36.375 \r\n",
"Q 6.59375 54.828125 13.0625 64.515625 \r\n",
"Q 19.53125 74.21875 31.78125 74.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-48\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(222.221875 293.598437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_4\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"296.421307\" xlink:href=\"#m9d2d4a8ceb\" y=\"279\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_4\">\r\n",
" <!-- 2 -->\r\n",
" <g transform=\"translate(293.240057 293.598437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_5\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"367.439489\" xlink:href=\"#m9d2d4a8ceb\" y=\"279\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_5\">\r\n",
" <!-- 4 -->\r\n",
" <g transform=\"translate(364.258239 293.598437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_6\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n",
"\" id=\"ma427b9da29\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"30.103125\" xlink:href=\"#ma427b9da29\" y=\"256.35\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_6\">\r\n",
" <!-- 0.0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.6875 12.40625 \r\n",
"L 21 12.40625 \r\n",
"L 21 0 \r\n",
"L 10.6875 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-46\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(7.2 260.149219)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_7\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"30.103125\" xlink:href=\"#ma427b9da29\" y=\"211.05\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_7\">\r\n",
" <!-- 0.2 -->\r\n",
" <g transform=\"translate(7.2 214.849219)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_8\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"30.103125\" xlink:href=\"#ma427b9da29\" y=\"165.75\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_8\">\r\n",
" <!-- 0.4 -->\r\n",
" <g transform=\"translate(7.2 169.549219)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_9\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"30.103125\" xlink:href=\"#ma427b9da29\" y=\"120.45\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_9\">\r\n",
" <!-- 0.6 -->\r\n",
" <defs>\r\n",
" <path d=\"M 33.015625 40.375 \r\n",
"Q 26.375 40.375 22.484375 35.828125 \r\n",
"Q 18.609375 31.296875 18.609375 23.390625 \r\n",
"Q 18.609375 15.53125 22.484375 10.953125 \r\n",
"Q 26.375 6.390625 33.015625 6.390625 \r\n",
"Q 39.65625 6.390625 43.53125 10.953125 \r\n",
"Q 47.40625 15.53125 47.40625 23.390625 \r\n",
"Q 47.40625 31.296875 43.53125 35.828125 \r\n",
"Q 39.65625 40.375 33.015625 40.375 \r\n",
"z\r\n",
"M 52.59375 71.296875 \r\n",
"L 52.59375 62.3125 \r\n",
"Q 48.875 64.0625 45.09375 64.984375 \r\n",
"Q 41.3125 65.921875 37.59375 65.921875 \r\n",
"Q 27.828125 65.921875 22.671875 59.328125 \r\n",
"Q 17.53125 52.734375 16.796875 39.40625 \r\n",
"Q 19.671875 43.65625 24.015625 45.921875 \r\n",
"Q 28.375 48.1875 33.59375 48.1875 \r\n",
"Q 44.578125 48.1875 50.953125 41.515625 \r\n",
"Q 57.328125 34.859375 57.328125 23.390625 \r\n",
"Q 57.328125 12.15625 50.6875 5.359375 \r\n",
"Q 44.046875 -1.421875 33.015625 -1.421875 \r\n",
"Q 20.359375 -1.421875 13.671875 8.265625 \r\n",
"Q 6.984375 17.96875 6.984375 36.375 \r\n",
"Q 6.984375 53.65625 15.1875 63.9375 \r\n",
"Q 23.390625 74.21875 37.203125 74.21875 \r\n",
"Q 40.921875 74.21875 44.703125 73.484375 \r\n",
"Q 48.484375 72.75 52.59375 71.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-54\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(7.2 124.249219)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-54\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_10\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"30.103125\" xlink:href=\"#ma427b9da29\" y=\"75.15\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_10\">\r\n",
" <!-- 0.8 -->\r\n",
" <defs>\r\n",
" <path d=\"M 31.78125 34.625 \r\n",
"Q 24.75 34.625 20.71875 30.859375 \r\n",
"Q 16.703125 27.09375 16.703125 20.515625 \r\n",
"Q 16.703125 13.921875 20.71875 10.15625 \r\n",
"Q 24.75 6.390625 31.78125 6.390625 \r\n",
"Q 38.8125 6.390625 42.859375 10.171875 \r\n",
"Q 46.921875 13.96875 46.921875 20.515625 \r\n",
"Q 46.921875 27.09375 42.890625 30.859375 \r\n",
"Q 38.875 34.625 31.78125 34.625 \r\n",
"z\r\n",
"M 21.921875 38.8125 \r\n",
"Q 15.578125 40.375 12.03125 44.71875 \r\n",
"Q 8.5 49.078125 8.5 55.328125 \r\n",
"Q 8.5 64.0625 14.71875 69.140625 \r\n",
"Q 20.953125 74.21875 31.78125 74.21875 \r\n",
"Q 42.671875 74.21875 48.875 69.140625 \r\n",
"Q 55.078125 64.0625 55.078125 55.328125 \r\n",
"Q 55.078125 49.078125 51.53125 44.71875 \r\n",
"Q 48 40.375 41.703125 38.8125 \r\n",
"Q 48.828125 37.15625 52.796875 32.3125 \r\n",
"Q 56.78125 27.484375 56.78125 20.515625 \r\n",
"Q 56.78125 9.90625 50.3125 4.234375 \r\n",
"Q 43.84375 -1.421875 31.78125 -1.421875 \r\n",
"Q 19.734375 -1.421875 13.25 4.234375 \r\n",
"Q 6.78125 9.90625 6.78125 20.515625 \r\n",
"Q 6.78125 27.484375 10.78125 32.3125 \r\n",
"Q 14.796875 37.15625 21.921875 38.8125 \r\n",
"z\r\n",
"M 18.3125 54.390625 \r\n",
"Q 18.3125 48.734375 21.84375 45.5625 \r\n",
"Q 25.390625 42.390625 31.78125 42.390625 \r\n",
"Q 38.140625 42.390625 41.71875 45.5625 \r\n",
"Q 45.3125 48.734375 45.3125 54.390625 \r\n",
"Q 45.3125 60.0625 41.71875 63.234375 \r\n",
"Q 38.140625 66.40625 31.78125 66.40625 \r\n",
"Q 25.390625 66.40625 21.84375 63.234375 \r\n",
"Q 18.3125 60.0625 18.3125 54.390625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-56\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(7.2 78.949219)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-56\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_6\">\r\n",
" <g id=\"line2d_11\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"30.103125\" xlink:href=\"#ma427b9da29\" y=\"29.85\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_11\">\r\n",
" <!-- 1.0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 12.40625 8.296875 \r\n",
"L 28.515625 8.296875 \r\n",
"L 28.515625 63.921875 \r\n",
"L 10.984375 60.40625 \r\n",
"L 10.984375 69.390625 \r\n",
"L 28.421875 72.90625 \r\n",
"L 38.28125 72.90625 \r\n",
"L 38.28125 8.296875 \r\n",
"L 54.390625 8.296875 \r\n",
"L 54.390625 0 \r\n",
"L 12.40625 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-49\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(7.2 33.649219)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"line2d_12\">\r\n",
" <path clip-path=\"url(#p055564f9dd)\" d=\"M 47.85767 254.834069 \r\n",
"L 60.348305 254.201068 \r\n",
"L 71.054564 253.454536 \r\n",
"L 79.976446 252.64102 \r\n",
"L 88.898328 251.603789 \r\n",
"L 96.035834 250.574081 \r\n",
"L 103.17334 249.328049 \r\n",
"L 110.310845 247.823594 \r\n",
"L 115.663975 246.496613 \r\n",
"L 121.017104 244.973889 \r\n",
"L 126.370233 243.230098 \r\n",
"L 131.723363 241.237785 \r\n",
"L 137.076492 238.967578 \r\n",
"L 142.429621 236.388536 \r\n",
"L 147.78275 233.46871 \r\n",
"L 153.13588 230.175916 \r\n",
"L 156.704633 227.757951 \r\n",
"L 160.273385 225.151402 \r\n",
"L 163.842138 222.348056 \r\n",
"L 167.410891 219.340549 \r\n",
"L 170.979644 216.122616 \r\n",
"L 174.548397 212.689355 \r\n",
"L 178.11715 209.037503 \r\n",
"L 181.685903 205.165711 \r\n",
"L 187.039032 198.948117 \r\n",
"L 192.392161 192.251387 \r\n",
"L 197.74529 185.102567 \r\n",
"L 203.09842 177.543346 \r\n",
"L 208.451549 169.630092 \r\n",
"L 215.589055 158.651259 \r\n",
"L 226.295313 141.677336 \r\n",
"L 237.001572 124.767101 \r\n",
"L 244.139077 113.896882 \r\n",
"L 249.492207 106.094497 \r\n",
"L 254.845336 98.666528 \r\n",
"L 260.198465 91.664506 \r\n",
"L 265.551595 85.125188 \r\n",
"L 270.904724 79.070899 \r\n",
"L 274.473477 75.309115 \r\n",
"L 278.04223 71.766853 \r\n",
"L 281.610982 68.441773 \r\n",
"L 285.179735 65.329757 \r\n",
"L 288.748488 62.425189 \r\n",
"L 292.317241 59.72122 \r\n",
"L 295.885994 57.210033 \r\n",
"L 299.454747 54.883078 \r\n",
"L 304.807876 51.718157 \r\n",
"L 310.161005 48.915509 \r\n",
"L 315.514135 46.442926 \r\n",
"L 320.867264 44.26872 \r\n",
"L 326.220393 42.362423 \r\n",
"L 331.573522 40.695269 \r\n",
"L 336.926652 39.240498 \r\n",
"L 342.279781 37.973518 \r\n",
"L 349.417287 36.53797 \r\n",
"L 356.554792 35.349717 \r\n",
"L 363.692298 34.368241 \r\n",
"L 372.61418 33.380037 \r\n",
"L 381.536062 32.605285 \r\n",
"L 392.242321 31.894564 \r\n",
"L 402.94858 31.365931 \r\n",
"L 402.94858 31.365931 \r\n",
"\" style=\"fill:none;stroke:#1f77b4;stroke-linecap:square;stroke-width:2;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_3\">\r\n",
" <path d=\"M 30.103125 279 \r\n",
"L 30.103125 7.2 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_4\">\r\n",
" <path d=\"M 420.703125 279 \r\n",
"L 420.703125 7.2 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_5\">\r\n",
" <path d=\"M 30.103125 279 \r\n",
"L 420.703125 279 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_6\">\r\n",
" <path d=\"M 30.103125 7.2 \r\n",
"L 420.703125 7.2 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <defs>\r\n",
" <clipPath id=\"p055564f9dd\">\r\n",
" <rect height=\"271.8\" width=\"390.6\" x=\"30.103125\" y=\"7.2\"/>\r\n",
" </clipPath>\r\n",
" </defs>\r\n",
"</svg>\r\n"
],
"text/plain": [
"<Figure size 504x360 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"plot_logistic()"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Funkcja logistyczna przekształca zbiór liczb rzeczywistych $\\mathbb{R}$ w przedział otwarty $(0, 1)$."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Funkcja regresji logistycznej dla pojedynczego przykładu o cechach wyrażonych wektorem $x$:\n",
"\n",
"$$h_\\theta(x) = g(\\theta^T \\, x) = \\dfrac{1}{1 + e^{-\\theta^T x}}$$"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"source": [
"Dla całej macierzy cech $X$:\n",
"\n",
"$$h_\\theta(X) = g(X \\, \\theta) = \\dfrac{1}{1 + e^{-X \\theta}}$$"
]
},
{
"cell_type": "code",
"execution_count": 10,
"metadata": {
"slideshow": {
"slide_type": "skip"
}
},
"outputs": [],
"source": [
"# Funkcja regresji logistcznej\n",
"def h(theta, X):\n",
" return 1.0/(1.0 + np.exp(-X * theta))"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Funkcja kosztu dla regresji logistycznej:\n",
"\n",
"$$J(\\theta) = -\\dfrac{1}{m} \\left( \\sum_{i=1}^{m} y^{(i)} \\log h_\\theta( x^{(i)} ) + \\left( 1 - y^{(i)} \\right) \\log \\left( 1 - h_\\theta (x^{(i)}) \\right) \\right)$$"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Gradient dla regresji logistycznej (wersja macierzowa):\n",
"\n",
"$$\\nabla J(\\theta) = \\frac{1}{|\\vec y|} X^T \\left( h_\\theta(X) - \\vec y \\right)$$\n",
"\n",
"(Jedyna różnica między gradientem dla regresji logistycznej a gradientem dla regresji liniowej to postać $h_\\theta$)."
]
},
{
"cell_type": "code",
"execution_count": 11,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [],
"source": [
"# Funkcja kosztu dla regresji logistycznej\n",
"def J(h, theta, X, y):\n",
" m = len(y)\n",
" h_val = h(theta, X)\n",
" s1 = np.multiply(y, np.log(h_val))\n",
" s2 = np.multiply((1 - y), np.log(1 - h_val))\n",
" return -np.sum(s1 + s2, axis=0) / m"
]
},
{
"cell_type": "code",
"execution_count": 12,
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"outputs": [],
"source": [
"# Gradient dla regresji logistycznej\n",
"def dJ(h, theta, X, y):\n",
" return 1.0 / len(y) * (X.T * (h(theta, X) - y))"
]
},
{
"cell_type": "code",
"execution_count": 13,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [],
"source": [
"# Metoda gradientu prostego dla regresji logistycznej\n",
"def GD(h, fJ, fdJ, theta, X, y, alpha=0.01, eps=10**-3, maxSteps=10000):\n",
" errorCurr = fJ(h, theta, X, y)\n",
" errors = [[errorCurr, theta]]\n",
" while True:\n",
" # oblicz nowe theta\n",
" theta = theta - alpha * fdJ(h, theta, X, y)\n",
" # raportuj poziom błędu\n",
" errorCurr, errorPrev = fJ(h, theta, X, y), errorCurr\n",
" # kryteria stopu\n",
" if abs(errorPrev - errorCurr) <= eps:\n",
" break\n",
" if len(errors) > maxSteps:\n",
" break\n",
" errors.append([errorCurr, theta]) \n",
" return theta, errors"
]
},
{
"cell_type": "code",
"execution_count": 14,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"error = [[0.05755617]]\n",
"theta = [[ 5.02530461]\n",
" [-1.99174803]]\n"
]
}
],
"source": [
"# Uruchomienie metody gradientu prostego dla regresji logistycznej\n",
"thetaBest, errors = GD(h, J, dJ, thetaStartMx, XMx3, yMx3, \n",
" alpha=0.1, eps=10**-7, maxSteps=1000)\n",
"print(\"error =\", errors[-1][0])\n",
"print(\"theta =\", thetaBest)"
]
},
{
"cell_type": "code",
"execution_count": 15,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"# Funkcja regresji logistycznej (wersja skalarna)\n",
"def scalar_logistic_regression_function(theta, x):\n",
" return 1.0/(1.0 + np.exp(-(theta.item(0) + theta.item(1) * x)))\n",
"\n",
"# Rysowanie progu\n",
"def threshold_val(fig, x_thr):\n",
" ax = fig.axes[0]\n",
" ax.plot([x_thr, x_thr], [-1, 2],\n",
" color='orange', linestyle='dashed',\n",
" label=u'próg: $x={:.2F}$'.format(x_thr))\n",
"\n",
"# Wykres krzywej regresji logistycznej\n",
"def logistic_regline(fig, theta, X):\n",
" ax = fig.axes[0]\n",
" x0 = np.min(X[:, 1]) - 1.0\n",
" x1 = np.max(X[:, 1]) + 1.0\n",
" Arg = np.arange(x0, x1, 0.1)\n",
" Val = scalar_logistic_regression_function(theta, Arg)\n",
" ax.plot(Arg, Val, linewidth='2')"
]
},
{
"cell_type": "code",
"execution_count": 16,
"metadata": {
"scrolled": true,
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"data": {
"image/svg+xml": [
"<?xml version=\"1.0\" encoding=\"utf-8\" standalone=\"no\"?>\r\n",
"<!DOCTYPE svg PUBLIC \"-//W3C//DTD SVG 1.1//EN\"\r\n",
" \"http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd\">\r\n",
"<!-- Created with matplotlib (https://matplotlib.org/) -->\r\n",
"<svg height=\"359.595469pt\" version=\"1.1\" viewBox=\"0 0 612.320937 359.595469\" width=\"612.320937pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n",
" <defs>\r\n",
" <style type=\"text/css\">\r\n",
"*{stroke-linecap:butt;stroke-linejoin:round;}\r\n",
" </style>\r\n",
" </defs>\r\n",
" <g id=\"figure_1\">\r\n",
" <g id=\"patch_1\">\r\n",
" <path d=\"M 0 359.595469 \r\n",
"L 612.320937 359.595469 \r\n",
"L 612.320937 0 \r\n",
"L 0 0 \r\n",
"z\r\n",
"\" style=\"fill:none;\"/>\r\n",
" </g>\r\n",
" <g id=\"axes_1\">\r\n",
" <g id=\"patch_2\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"L 52.160938 10.999219 \r\n",
"z\r\n",
"\" style=\"fill:#ffffff;\"/>\r\n",
" </g>\r\n",
" <g id=\"PathCollection_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 3.535534 \r\n",
"C 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\n",
"C 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\n",
"C 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\n",
"C 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\n",
"C -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\n",
"C -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\n",
"C -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\n",
"C -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\n",
"z\r\n",
"\" id=\"m164644b16b\" style=\"stroke:#ff0000;\"/>\r\n",
" </defs>\r\n",
" <g clip-path=\"url(#pfa403c57ef)\">\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.143216\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"304.14271\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"311.142203\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"500.128532\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"185.151317\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"423.134102\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"381.13714\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"339.140178\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"122.155874\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"388.136634\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"353.139165\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.141697\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"479.130051\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"493.129039\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.135115\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"262.145748\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"521.127013\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"416.134608\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"360.138659\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.138153\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"171.15233\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"444.132583\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"283.144229\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"402.135621\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"535.126001\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"346.139672\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"514.12752\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"164.152836\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.136127\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"143.154355\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"465.131064\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"472.130558\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"325.141191\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.140684\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"157.153343\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"374.137646\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"129.155368\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"437.133089\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"136.154862\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"150.153849\" xlink:href=\"#m164644b16b\" y=\"114.679219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"458.13157\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"430.133596\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"451.132077\" xlink:href=\"#m164644b16b\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_1\">\r\n",
" <g id=\"xtick_1\">\r\n",
" <g id=\"line2d_1\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L 0 3.5 \r\n",
"\" id=\"m8726190b7c\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_1\">\r\n",
" <!-- 0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 31.78125 66.40625 \r\n",
"Q 24.171875 66.40625 20.328125 58.90625 \r\n",
"Q 16.5 51.421875 16.5 36.375 \r\n",
"Q 16.5 21.390625 20.328125 13.890625 \r\n",
"Q 24.171875 6.390625 31.78125 6.390625 \r\n",
"Q 39.453125 6.390625 43.28125 13.890625 \r\n",
"Q 47.125 21.390625 47.125 36.375 \r\n",
"Q 47.125 51.421875 43.28125 58.90625 \r\n",
"Q 39.453125 66.40625 31.78125 66.40625 \r\n",
"z\r\n",
"M 31.78125 74.21875 \r\n",
"Q 44.046875 74.21875 50.515625 64.515625 \r\n",
"Q 56.984375 54.828125 56.984375 36.375 \r\n",
"Q 56.984375 17.96875 50.515625 8.265625 \r\n",
"Q 44.046875 -1.421875 31.78125 -1.421875 \r\n",
"Q 19.53125 -1.421875 13.0625 8.265625 \r\n",
"Q 6.59375 17.96875 6.59375 36.375 \r\n",
"Q 6.59375 54.828125 13.0625 64.515625 \r\n",
"Q 19.53125 74.21875 31.78125 74.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-48\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(48.979688 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_2\">\r\n",
" <g id=\"line2d_2\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"122.155874\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_2\">\r\n",
" <!-- 1 -->\r\n",
" <defs>\r\n",
" <path d=\"M 12.40625 8.296875 \r\n",
"L 28.515625 8.296875 \r\n",
"L 28.515625 63.921875 \r\n",
"L 10.984375 60.40625 \r\n",
"L 10.984375 69.390625 \r\n",
"L 28.421875 72.90625 \r\n",
"L 38.28125 72.90625 \r\n",
"L 38.28125 8.296875 \r\n",
"L 54.390625 8.296875 \r\n",
"L 54.390625 0 \r\n",
"L 12.40625 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-49\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(118.974624 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_3\">\r\n",
" <g id=\"line2d_3\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"192.150811\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_3\">\r\n",
" <!-- 2 -->\r\n",
" <defs>\r\n",
" <path d=\"M 19.1875 8.296875 \r\n",
"L 53.609375 8.296875 \r\n",
"L 53.609375 0 \r\n",
"L 7.328125 0 \r\n",
"L 7.328125 8.296875 \r\n",
"Q 12.9375 14.109375 22.625 23.890625 \r\n",
"Q 32.328125 33.6875 34.8125 36.53125 \r\n",
"Q 39.546875 41.84375 41.421875 45.53125 \r\n",
"Q 43.3125 49.21875 43.3125 52.78125 \r\n",
"Q 43.3125 58.59375 39.234375 62.25 \r\n",
"Q 35.15625 65.921875 28.609375 65.921875 \r\n",
"Q 23.96875 65.921875 18.8125 64.3125 \r\n",
"Q 13.671875 62.703125 7.8125 59.421875 \r\n",
"L 7.8125 69.390625 \r\n",
"Q 13.765625 71.78125 18.9375 73 \r\n",
"Q 24.125 74.21875 28.421875 74.21875 \r\n",
"Q 39.75 74.21875 46.484375 68.546875 \r\n",
"Q 53.21875 62.890625 53.21875 53.421875 \r\n",
"Q 53.21875 48.921875 51.53125 44.890625 \r\n",
"Q 49.859375 40.875 45.40625 35.40625 \r\n",
"Q 44.1875 33.984375 37.640625 27.21875 \r\n",
"Q 31.109375 20.453125 19.1875 8.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-50\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(188.969561 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_4\">\r\n",
" <g id=\"line2d_4\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"262.145748\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_4\">\r\n",
" <!-- 3 -->\r\n",
" <defs>\r\n",
" <path d=\"M 40.578125 39.3125 \r\n",
"Q 47.65625 37.796875 51.625 33 \r\n",
"Q 55.609375 28.21875 55.609375 21.1875 \r\n",
"Q 55.609375 10.40625 48.1875 4.484375 \r\n",
"Q 40.765625 -1.421875 27.09375 -1.421875 \r\n",
"Q 22.515625 -1.421875 17.65625 -0.515625 \r\n",
"Q 12.796875 0.390625 7.625 2.203125 \r\n",
"L 7.625 11.71875 \r\n",
"Q 11.71875 9.328125 16.59375 8.109375 \r\n",
"Q 21.484375 6.890625 26.8125 6.890625 \r\n",
"Q 36.078125 6.890625 40.9375 10.546875 \r\n",
"Q 45.796875 14.203125 45.796875 21.1875 \r\n",
"Q 45.796875 27.640625 41.28125 31.265625 \r\n",
"Q 36.765625 34.90625 28.71875 34.90625 \r\n",
"L 20.21875 34.90625 \r\n",
"L 20.21875 43.015625 \r\n",
"L 29.109375 43.015625 \r\n",
"Q 36.375 43.015625 40.234375 45.921875 \r\n",
"Q 44.09375 48.828125 44.09375 54.296875 \r\n",
"Q 44.09375 59.90625 40.109375 62.90625 \r\n",
"Q 36.140625 65.921875 28.71875 65.921875 \r\n",
"Q 24.65625 65.921875 20.015625 65.03125 \r\n",
"Q 15.375 64.15625 9.8125 62.3125 \r\n",
"L 9.8125 71.09375 \r\n",
"Q 15.4375 72.65625 20.34375 73.4375 \r\n",
"Q 25.25 74.21875 29.59375 74.21875 \r\n",
"Q 40.828125 74.21875 47.359375 69.109375 \r\n",
"Q 53.90625 64.015625 53.90625 55.328125 \r\n",
"Q 53.90625 49.265625 50.4375 45.09375 \r\n",
"Q 46.96875 40.921875 40.578125 39.3125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-51\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(258.964498 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-51\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_5\">\r\n",
" <g id=\"line2d_5\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"332.140684\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_5\">\r\n",
" <!-- 4 -->\r\n",
" <defs>\r\n",
" <path d=\"M 37.796875 64.3125 \r\n",
"L 12.890625 25.390625 \r\n",
"L 37.796875 25.390625 \r\n",
"z\r\n",
"M 35.203125 72.90625 \r\n",
"L 47.609375 72.90625 \r\n",
"L 47.609375 25.390625 \r\n",
"L 58.015625 25.390625 \r\n",
"L 58.015625 17.1875 \r\n",
"L 47.609375 17.1875 \r\n",
"L 47.609375 0 \r\n",
"L 37.796875 0 \r\n",
"L 37.796875 17.1875 \r\n",
"L 4.890625 17.1875 \r\n",
"L 4.890625 26.703125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-52\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(328.959434 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-52\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_6\">\r\n",
" <g id=\"line2d_6\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"402.135621\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_6\">\r\n",
" <!-- 5 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.796875 72.90625 \r\n",
"L 49.515625 72.90625 \r\n",
"L 49.515625 64.59375 \r\n",
"L 19.828125 64.59375 \r\n",
"L 19.828125 46.734375 \r\n",
"Q 21.96875 47.46875 24.109375 47.828125 \r\n",
"Q 26.265625 48.1875 28.421875 48.1875 \r\n",
"Q 40.625 48.1875 47.75 41.5 \r\n",
"Q 54.890625 34.8125 54.890625 23.390625 \r\n",
"Q 54.890625 11.625 47.5625 5.09375 \r\n",
"Q 40.234375 -1.421875 26.90625 -1.421875 \r\n",
"Q 22.3125 -1.421875 17.546875 -0.640625 \r\n",
"Q 12.796875 0.140625 7.71875 1.703125 \r\n",
"L 7.71875 11.625 \r\n",
"Q 12.109375 9.234375 16.796875 8.0625 \r\n",
"Q 21.484375 6.890625 26.703125 6.890625 \r\n",
"Q 35.15625 6.890625 40.078125 11.328125 \r\n",
"Q 45.015625 15.765625 45.015625 23.390625 \r\n",
"Q 45.015625 31 40.078125 35.4375 \r\n",
"Q 35.15625 39.890625 26.703125 39.890625 \r\n",
"Q 22.75 39.890625 18.8125 39.015625 \r\n",
"Q 14.890625 38.140625 10.796875 36.28125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-53\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(398.954371 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_7\">\r\n",
" <g id=\"line2d_7\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"472.130558\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_7\">\r\n",
" <!-- 6 -->\r\n",
" <defs>\r\n",
" <path d=\"M 33.015625 40.375 \r\n",
"Q 26.375 40.375 22.484375 35.828125 \r\n",
"Q 18.609375 31.296875 18.609375 23.390625 \r\n",
"Q 18.609375 15.53125 22.484375 10.953125 \r\n",
"Q 26.375 6.390625 33.015625 6.390625 \r\n",
"Q 39.65625 6.390625 43.53125 10.953125 \r\n",
"Q 47.40625 15.53125 47.40625 23.390625 \r\n",
"Q 47.40625 31.296875 43.53125 35.828125 \r\n",
"Q 39.65625 40.375 33.015625 40.375 \r\n",
"z\r\n",
"M 52.59375 71.296875 \r\n",
"L 52.59375 62.3125 \r\n",
"Q 48.875 64.0625 45.09375 64.984375 \r\n",
"Q 41.3125 65.921875 37.59375 65.921875 \r\n",
"Q 27.828125 65.921875 22.671875 59.328125 \r\n",
"Q 17.53125 52.734375 16.796875 39.40625 \r\n",
"Q 19.671875 43.65625 24.015625 45.921875 \r\n",
"Q 28.375 48.1875 33.59375 48.1875 \r\n",
"Q 44.578125 48.1875 50.953125 41.515625 \r\n",
"Q 57.328125 34.859375 57.328125 23.390625 \r\n",
"Q 57.328125 12.15625 50.6875 5.359375 \r\n",
"Q 44.046875 -1.421875 33.015625 -1.421875 \r\n",
"Q 20.359375 -1.421875 13.671875 8.265625 \r\n",
"Q 6.984375 17.96875 6.984375 36.375 \r\n",
"Q 6.984375 53.65625 15.1875 63.9375 \r\n",
"Q 23.390625 74.21875 37.203125 74.21875 \r\n",
"Q 40.921875 74.21875 44.703125 73.484375 \r\n",
"Q 48.484375 72.75 52.59375 71.296875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-54\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(468.949308 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-54\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"xtick_8\">\r\n",
" <g id=\"line2d_8\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"542.125494\" xlink:href=\"#m8726190b7c\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_8\">\r\n",
" <!-- 7 -->\r\n",
" <defs>\r\n",
" <path d=\"M 8.203125 72.90625 \r\n",
"L 55.078125 72.90625 \r\n",
"L 55.078125 68.703125 \r\n",
"L 28.609375 0 \r\n",
"L 18.3125 0 \r\n",
"L 43.21875 64.59375 \r\n",
"L 8.203125 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-55\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(538.944244 336.637656)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-55\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_9\">\r\n",
" <!-- x -->\r\n",
" <defs>\r\n",
" <path d=\"M 54.890625 54.6875 \r\n",
"L 35.109375 28.078125 \r\n",
"L 55.90625 0 \r\n",
"L 45.3125 0 \r\n",
"L 29.390625 21.484375 \r\n",
"L 13.484375 0 \r\n",
"L 2.875 0 \r\n",
"L 24.125 28.609375 \r\n",
"L 4.6875 54.6875 \r\n",
"L 15.28125 54.6875 \r\n",
"L 29.78125 35.203125 \r\n",
"L 44.28125 54.6875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-120\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(325.681562 350.315781)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-120\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"matplotlib.axis_2\">\r\n",
" <g id=\"ytick_1\">\r\n",
" <g id=\"line2d_9\">\r\n",
" <defs>\r\n",
" <path d=\"M 0 0 \r\n",
"L -3.5 0 \r\n",
"\" id=\"ma558c33b98\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n",
" </defs>\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"322.039219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_10\">\r\n",
" <!-- 1.0 -->\r\n",
" <defs>\r\n",
" <path d=\"M 10.59375 35.5 \r\n",
"L 73.1875 35.5 \r\n",
"L 73.1875 27.203125 \r\n",
"L 10.59375 27.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-8722\"/>\r\n",
" <path d=\"M 10.6875 12.40625 \r\n",
"L 21 12.40625 \r\n",
"L 21 0 \r\n",
"L 10.6875 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-46\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(20.878125 325.838437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_2\">\r\n",
" <g id=\"line2d_10\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"270.199219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_11\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(20.878125 273.998437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-8722\"/>\r\n",
" <use x=\"83.789062\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"147.412109\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"179.199219\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_3\">\r\n",
" <g id=\"line2d_11\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"218.359219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_12\">\r\n",
" <!-- 0.0 -->\r\n",
" <g transform=\"translate(29.257813 222.158437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_4\">\r\n",
" <g id=\"line2d_12\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"166.519219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_13\">\r\n",
" <!-- 0.5 -->\r\n",
" <g transform=\"translate(29.257813 170.318437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-48\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_5\">\r\n",
" <g id=\"line2d_13\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"114.679219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_14\">\r\n",
" <!-- 1.0 -->\r\n",
" <g transform=\"translate(29.257813 118.478437)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_6\">\r\n",
" <g id=\"line2d_14\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"62.839219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_15\">\r\n",
" <!-- 1.5 -->\r\n",
" <g transform=\"translate(29.257813 66.638438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-49\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-53\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"ytick_7\">\r\n",
" <g id=\"line2d_15\">\r\n",
" <g>\r\n",
" <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"52.160938\" xlink:href=\"#ma558c33b98\" y=\"10.999219\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_16\">\r\n",
" <!-- 2.0 -->\r\n",
" <g transform=\"translate(29.257813 14.798438)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-50\"/>\r\n",
" <use x=\"63.623047\" xlink:href=\"#DejaVuSans-46\"/>\r\n",
" <use x=\"95.410156\" xlink:href=\"#DejaVuSans-48\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"text_17\">\r\n",
" <!-- Iris setosa? -->\r\n",
" <defs>\r\n",
" <path d=\"M 9.8125 72.90625 \r\n",
"L 19.671875 72.90625 \r\n",
"L 19.671875 0 \r\n",
"L 9.8125 0 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-73\"/>\r\n",
" <path d=\"M 41.109375 46.296875 \r\n",
"Q 39.59375 47.171875 37.8125 47.578125 \r\n",
"Q 36.03125 48 33.890625 48 \r\n",
"Q 26.265625 48 22.1875 43.046875 \r\n",
"Q 18.109375 38.09375 18.109375 28.8125 \r\n",
"L 18.109375 0 \r\n",
"L 9.078125 0 \r\n",
"L 9.078125 54.6875 \r\n",
"L 18.109375 54.6875 \r\n",
"L 18.109375 46.1875 \r\n",
"Q 20.953125 51.171875 25.484375 53.578125 \r\n",
"Q 30.03125 56 36.53125 56 \r\n",
"Q 37.453125 56 38.578125 55.875 \r\n",
"Q 39.703125 55.765625 41.0625 55.515625 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-114\"/>\r\n",
" <path d=\"M 9.421875 54.6875 \r\n",
"L 18.40625 54.6875 \r\n",
"L 18.40625 0 \r\n",
"L 9.421875 0 \r\n",
"z\r\n",
"M 9.421875 75.984375 \r\n",
"L 18.40625 75.984375 \r\n",
"L 18.40625 64.59375 \r\n",
"L 9.421875 64.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-105\"/>\r\n",
" <path d=\"M 44.28125 53.078125 \r\n",
"L 44.28125 44.578125 \r\n",
"Q 40.484375 46.53125 36.375 47.5 \r\n",
"Q 32.28125 48.484375 27.875 48.484375 \r\n",
"Q 21.1875 48.484375 17.84375 46.4375 \r\n",
"Q 14.5 44.390625 14.5 40.28125 \r\n",
"Q 14.5 37.15625 16.890625 35.375 \r\n",
"Q 19.28125 33.59375 26.515625 31.984375 \r\n",
"L 29.59375 31.296875 \r\n",
"Q 39.15625 29.25 43.1875 25.515625 \r\n",
"Q 47.21875 21.78125 47.21875 15.09375 \r\n",
"Q 47.21875 7.46875 41.1875 3.015625 \r\n",
"Q 35.15625 -1.421875 24.609375 -1.421875 \r\n",
"Q 20.21875 -1.421875 15.453125 -0.5625 \r\n",
"Q 10.6875 0.296875 5.421875 2 \r\n",
"L 5.421875 11.28125 \r\n",
"Q 10.40625 8.6875 15.234375 7.390625 \r\n",
"Q 20.0625 6.109375 24.8125 6.109375 \r\n",
"Q 31.15625 6.109375 34.5625 8.28125 \r\n",
"Q 37.984375 10.453125 37.984375 14.40625 \r\n",
"Q 37.984375 18.0625 35.515625 20.015625 \r\n",
"Q 33.0625 21.96875 24.703125 23.78125 \r\n",
"L 21.578125 24.515625 \r\n",
"Q 13.234375 26.265625 9.515625 29.90625 \r\n",
"Q 5.8125 33.546875 5.8125 39.890625 \r\n",
"Q 5.8125 47.609375 11.28125 51.796875 \r\n",
"Q 16.75 56 26.8125 56 \r\n",
"Q 31.78125 56 36.171875 55.265625 \r\n",
"Q 40.578125 54.546875 44.28125 53.078125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-115\"/>\r\n",
" <path id=\"DejaVuSans-32\"/>\r\n",
" <path d=\"M 56.203125 29.59375 \r\n",
"L 56.203125 25.203125 \r\n",
"L 14.890625 25.203125 \r\n",
"Q 15.484375 15.921875 20.484375 11.0625 \r\n",
"Q 25.484375 6.203125 34.421875 6.203125 \r\n",
"Q 39.59375 6.203125 44.453125 7.46875 \r\n",
"Q 49.3125 8.734375 54.109375 11.28125 \r\n",
"L 54.109375 2.78125 \r\n",
"Q 49.265625 0.734375 44.1875 -0.34375 \r\n",
"Q 39.109375 -1.421875 33.890625 -1.421875 \r\n",
"Q 20.796875 -1.421875 13.15625 6.1875 \r\n",
"Q 5.515625 13.8125 5.515625 26.8125 \r\n",
"Q 5.515625 40.234375 12.765625 48.109375 \r\n",
"Q 20.015625 56 32.328125 56 \r\n",
"Q 43.359375 56 49.78125 48.890625 \r\n",
"Q 56.203125 41.796875 56.203125 29.59375 \r\n",
"z\r\n",
"M 47.21875 32.234375 \r\n",
"Q 47.125 39.59375 43.09375 43.984375 \r\n",
"Q 39.0625 48.390625 32.421875 48.390625 \r\n",
"Q 24.90625 48.390625 20.390625 44.140625 \r\n",
"Q 15.875 39.890625 15.1875 32.171875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-101\"/>\r\n",
" <path d=\"M 18.3125 70.21875 \r\n",
"L 18.3125 54.6875 \r\n",
"L 36.8125 54.6875 \r\n",
"L 36.8125 47.703125 \r\n",
"L 18.3125 47.703125 \r\n",
"L 18.3125 18.015625 \r\n",
"Q 18.3125 11.328125 20.140625 9.421875 \r\n",
"Q 21.96875 7.515625 27.59375 7.515625 \r\n",
"L 36.8125 7.515625 \r\n",
"L 36.8125 0 \r\n",
"L 27.59375 0 \r\n",
"Q 17.1875 0 13.234375 3.875 \r\n",
"Q 9.28125 7.765625 9.28125 18.015625 \r\n",
"L 9.28125 47.703125 \r\n",
"L 2.6875 47.703125 \r\n",
"L 2.6875 54.6875 \r\n",
"L 9.28125 54.6875 \r\n",
"L 9.28125 70.21875 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-116\"/>\r\n",
" <path d=\"M 30.609375 48.390625 \r\n",
"Q 23.390625 48.390625 19.1875 42.75 \r\n",
"Q 14.984375 37.109375 14.984375 27.296875 \r\n",
"Q 14.984375 17.484375 19.15625 11.84375 \r\n",
"Q 23.34375 6.203125 30.609375 6.203125 \r\n",
"Q 37.796875 6.203125 41.984375 11.859375 \r\n",
"Q 46.1875 17.53125 46.1875 27.296875 \r\n",
"Q 46.1875 37.015625 41.984375 42.703125 \r\n",
"Q 37.796875 48.390625 30.609375 48.390625 \r\n",
"z\r\n",
"M 30.609375 56 \r\n",
"Q 42.328125 56 49.015625 48.375 \r\n",
"Q 55.71875 40.765625 55.71875 27.296875 \r\n",
"Q 55.71875 13.875 49.015625 6.21875 \r\n",
"Q 42.328125 -1.421875 30.609375 -1.421875 \r\n",
"Q 18.84375 -1.421875 12.171875 6.21875 \r\n",
"Q 5.515625 13.875 5.515625 27.296875 \r\n",
"Q 5.515625 40.765625 12.171875 48.375 \r\n",
"Q 18.84375 56 30.609375 56 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-111\"/>\r\n",
" <path d=\"M 34.28125 27.484375 \r\n",
"Q 23.390625 27.484375 19.1875 25 \r\n",
"Q 14.984375 22.515625 14.984375 16.5 \r\n",
"Q 14.984375 11.71875 18.140625 8.90625 \r\n",
"Q 21.296875 6.109375 26.703125 6.109375 \r\n",
"Q 34.1875 6.109375 38.703125 11.40625 \r\n",
"Q 43.21875 16.703125 43.21875 25.484375 \r\n",
"L 43.21875 27.484375 \r\n",
"z\r\n",
"M 52.203125 31.203125 \r\n",
"L 52.203125 0 \r\n",
"L 43.21875 0 \r\n",
"L 43.21875 8.296875 \r\n",
"Q 40.140625 3.328125 35.546875 0.953125 \r\n",
"Q 30.953125 -1.421875 24.3125 -1.421875 \r\n",
"Q 15.921875 -1.421875 10.953125 3.296875 \r\n",
"Q 6 8.015625 6 15.921875 \r\n",
"Q 6 25.140625 12.171875 29.828125 \r\n",
"Q 18.359375 34.515625 30.609375 34.515625 \r\n",
"L 43.21875 34.515625 \r\n",
"L 43.21875 35.40625 \r\n",
"Q 43.21875 41.609375 39.140625 45 \r\n",
"Q 35.0625 48.390625 27.6875 48.390625 \r\n",
"Q 23 48.390625 18.546875 47.265625 \r\n",
"Q 14.109375 46.140625 10.015625 43.890625 \r\n",
"L 10.015625 52.203125 \r\n",
"Q 14.9375 54.109375 19.578125 55.046875 \r\n",
"Q 24.21875 56 28.609375 56 \r\n",
"Q 40.484375 56 46.34375 49.84375 \r\n",
"Q 52.203125 43.703125 52.203125 31.203125 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-97\"/>\r\n",
" <path d=\"M 19.09375 12.40625 \r\n",
"L 29 12.40625 \r\n",
"L 29 0 \r\n",
"L 19.09375 0 \r\n",
"z\r\n",
"M 28.71875 19.578125 \r\n",
"L 19.390625 19.578125 \r\n",
"L 19.390625 27.09375 \r\n",
"Q 19.390625 32.03125 20.75 35.203125 \r\n",
"Q 22.125 38.375 26.515625 42.578125 \r\n",
"L 30.90625 46.921875 \r\n",
"Q 33.6875 49.515625 34.9375 51.8125 \r\n",
"Q 36.1875 54.109375 36.1875 56.5 \r\n",
"Q 36.1875 60.84375 32.984375 63.53125 \r\n",
"Q 29.78125 66.21875 24.515625 66.21875 \r\n",
"Q 20.65625 66.21875 16.28125 64.5 \r\n",
"Q 11.921875 62.796875 7.171875 59.515625 \r\n",
"L 7.171875 68.703125 \r\n",
"Q 11.765625 71.484375 16.46875 72.84375 \r\n",
"Q 21.1875 74.21875 26.21875 74.21875 \r\n",
"Q 35.203125 74.21875 40.640625 69.484375 \r\n",
"Q 46.09375 64.75 46.09375 56.984375 \r\n",
"Q 46.09375 53.265625 44.328125 49.921875 \r\n",
"Q 42.578125 46.578125 38.1875 42.390625 \r\n",
"L 33.890625 38.1875 \r\n",
"Q 31.59375 35.890625 30.640625 34.59375 \r\n",
"Q 29.6875 33.296875 29.296875 32.078125 \r\n",
"Q 29 31.0625 28.859375 29.59375 \r\n",
"Q 28.71875 28.125 28.71875 25.59375 \r\n",
"z\r\n",
"\" id=\"DejaVuSans-63\"/>\r\n",
" </defs>\r\n",
" <g transform=\"translate(14.798438 194.655937)rotate(-90)scale(0.1 -0.1)\">\r\n",
" <use xlink:href=\"#DejaVuSans-73\"/>\r\n",
" <use x=\"29.492188\" xlink:href=\"#DejaVuSans-114\"/>\r\n",
" <use x=\"70.605469\" xlink:href=\"#DejaVuSans-105\"/>\r\n",
" <use x=\"98.388672\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"150.488281\" xlink:href=\"#DejaVuSans-32\"/>\r\n",
" <use x=\"182.275391\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"234.375\" xlink:href=\"#DejaVuSans-101\"/>\r\n",
" <use x=\"295.898438\" xlink:href=\"#DejaVuSans-116\"/>\r\n",
" <use x=\"335.107422\" xlink:href=\"#DejaVuSans-111\"/>\r\n",
" <use x=\"396.289062\" xlink:href=\"#DejaVuSans-115\"/>\r\n",
" <use x=\"448.388672\" xlink:href=\"#DejaVuSans-97\"/>\r\n",
" <use x=\"509.667969\" xlink:href=\"#DejaVuSans-63\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <g id=\"line2d_16\">\r\n",
" <path clip-path=\"url(#pfa403c57ef)\" d=\"M 52.160938 115.355908 \r\n",
"L 59.160431 115.503861 \r\n",
"L 66.159925 115.683847 \r\n",
"L 73.159419 115.902649 \r\n",
"L 80.158912 116.168415 \r\n",
"L 87.158406 116.490891 \r\n",
"L 94.1579 116.881693 \r\n",
"L 101.157393 117.354583 \r\n",
"L 108.156887 117.925757 \r\n",
"L 115.156381 118.614123 \r\n",
"L 122.155874 119.441523 \r\n",
"L 129.155368 120.432866 \r\n",
"L 136.154862 121.6161 \r\n",
"L 143.154355 123.021934 \r\n",
"L 150.153849 124.683215 \r\n",
"L 157.153343 126.633825 \r\n",
"L 164.152836 128.907005 \r\n",
"L 171.15233 131.533009 \r\n",
"L 178.151824 134.536101 \r\n",
"L 185.151317 137.931 \r\n",
"L 192.150811 141.719085 \r\n",
"L 199.150305 145.884864 \r\n",
"L 206.149798 150.393356 \r\n",
"L 213.149292 155.189132 \r\n",
"L 220.148786 160.197602 \r\n",
"L 227.148279 165.328805 \r\n",
"L 234.147773 170.483452 \r\n",
"L 241.147267 175.560437 \r\n",
"L 248.14676 180.464632 \r\n",
"L 255.146254 185.113739 \r\n",
"L 262.145748 189.443178 \r\n",
"L 269.145241 193.408533 \r\n",
"L 276.144735 196.985563 \r\n",
"L 283.144229 200.168266 \r\n",
"L 290.143722 202.965677 \r\n",
"L 297.143216 205.398123 \r\n",
"L 304.14271 207.493505 \r\n",
"L 311.142203 209.284021 \r\n",
"L 318.141697 210.803505 \r\n",
"L 325.141191 212.085449 \r\n",
"L 332.140684 213.161652 \r\n",
"L 339.140178 214.061388 \r\n",
"L 346.139672 214.810985 \r\n",
"L 353.139165 215.433692 \r\n",
"L 360.138659 215.949744 \r\n",
"L 367.138153 216.376558 \r\n",
"L 374.137646 216.728984 \r\n",
"L 381.13714 217.019589 \r\n",
"L 388.136634 217.25895 \r\n",
"L 395.136127 217.45592 \r\n",
"L 402.135621 217.617883 \r\n",
"L 409.135115 217.750978 \r\n",
"L 416.134608 217.860294 \r\n",
"L 423.134102 217.950041 \r\n",
"L 430.133596 218.023696 \r\n",
"L 437.133089 218.084129 \r\n",
"L 444.132583 218.1337 \r\n",
"L 451.132077 218.174355 \r\n",
"L 458.13157 218.207691 \r\n",
"L 465.131064 218.235023 \r\n",
"L 472.130558 218.25743 \r\n",
"L 479.130051 218.275798 \r\n",
"L 486.129545 218.290853 \r\n",
"L 493.129039 218.303193 \r\n",
"L 500.128532 218.313306 \r\n",
"L 507.128026 218.321595 \r\n",
"L 514.12752 218.328387 \r\n",
"L 521.127013 218.333954 \r\n",
"L 528.126507 218.338516 \r\n",
"L 535.126001 218.342254 \r\n",
"L 542.125494 218.345317 \r\n",
"L 549.124988 218.347827 \r\n",
"L 556.124482 218.349884 \r\n",
"L 563.123975 218.35157 \r\n",
"L 570.123469 218.352951 \r\n",
"L 577.122963 218.354083 \r\n",
"L 584.122456 218.355011 \r\n",
"L 591.12195 218.35577 \r\n",
"L 598.121444 218.356393 \r\n",
"\" style=\"fill:none;stroke:#1f77b4;stroke-linecap:square;stroke-width:2;\"/>\r\n",
" </g>\r\n",
" <g id=\"line2d_17\">\r\n",
" <path clip-path=\"url(#pfa403c57ef)\" d=\"M 227.148279 322.039219 \r\n",
"L 227.148279 10.999219 \r\n",
"\" style=\"fill:none;stroke:#ffa500;stroke-dasharray:5.55,2.4;stroke-dashoffset:0;stroke-width:1.5;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_3\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 52.160938 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_4\">\r\n",
" <path d=\"M 605.120937 322.039219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_5\">\r\n",
" <path d=\"M 52.160938 322.039219 \r\n",
"L 605.120937 322.039219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" <g id=\"patch_6\">\r\n",
" <path d=\"M 52.160938 10.999219 \r\n",
"L 605.120937 10.999219 \r\n",
"\" style=\"fill:none;stroke:#000000;stroke-linecap:square;stroke-linejoin:miter;stroke-width:0.8;\"/>\r\n",
" </g>\r\n",
" </g>\r\n",
" </g>\r\n",
" <defs>\r\n",
" <clipPath id=\"pfa403c57ef\">\r\n",
" <rect height=\"311.04\" width=\"552.96\" x=\"52.160938\" y=\"10.999219\"/>\r\n",
" </clipPath>\r\n",
" </defs>\r\n",
"</svg>\r\n"
],
"text/plain": [
"<Figure size 691.2x388.8 with 1 Axes>"
]
},
"metadata": {
"needs_background": "light"
},
"output_type": "display_data"
}
],
"source": [
"fig = regdotsMx(XMx3, yMx3, xlabel='x', ylabel='Iris setosa?')\n",
"logistic_regline(fig, thetaBest, XMx3)\n",
"threshold_val(fig, 2.5)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Traktujemy wartość $h_\\theta(x)$ jako prawdopodobieństwo, że cecha przyjmie wartość pozytywną:\n",
"\n",
"$$ h_\\theta(x) = P(y = 1 \\, | \\, x; \\theta) $$"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"source": [
"Jeżeli $h_\\theta(x) > 0.5$, to dla takiego $x$ będziemy przewidywać wartość $y = 1$.\n",
"W przeciwnym wypadku uprzewidzimy $y = 0$."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Dlaczego możemy traktować wartość funkcji regresji logistycznej jako prawdopodobieństwo?\n",
"\n",
"Można o tym poczytać w zewnętrznych źródłach, np. https://towardsdatascience.com/logit-of-logistic-regression-understanding-the-fundamentals-f384152a33d1"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"### Dwuklasowa regresja logistyczna: więcej cech"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Jak postąpić, jeżeli będziemy mieli więcej niż jedną cechę $x$?\n",
"\n",
"Weźmy teraz wszystkie cechy występujące w zbiorze *Iris*."
]
},
{
"cell_type": "code",
"execution_count": 17,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
" dł. płatków szer. płatków dł. dz. k. szer. dz. k. Iris setosa?\n",
"0 1.4 0.2 5.2 3.4 1\n",
"1 1.5 0.4 5.1 3.7 1\n",
"2 5.6 2.4 6.7 3.1 0\n",
"3 5.1 2.0 6.5 3.2 0\n",
"4 4.5 1.7 4.9 2.5 0\n",
"5 5.1 1.6 6.0 2.7 0\n"
]
}
],
"source": [
"data_iris_setosa_multi = pandas.DataFrame()\n",
"data_iris_setosa_multi['dł. płatków'] = data_iris['pl'] # \"pl\" oznacza \"petal length\" (długość płatków)\n",
"data_iris_setosa_multi['szer. płatków'] = data_iris['pw'] # \"pw\" oznacza \"petal width\" (szerokość płatków)\n",
"data_iris_setosa_multi['dł. dz. k.'] = data_iris['sl'] # \"sl\" oznacza \"sepal length\" (długość działek kielicha)\n",
"data_iris_setosa_multi['szer. dz. k.'] = data_iris['sw'] # \"sw\" oznacza \"sepal width\" (szerokość działek kielicha)\n",
"data_iris_setosa_multi['Iris setosa?'] = data_iris['Gatunek'].apply(lambda x: 1 if x=='Iris-setosa' else 0)\n",
"print(data_iris_setosa_multi[:6])"
]
},
{
"cell_type": "code",
"execution_count": 18,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"\n",
"import matplotlib.pyplot as plt\n",
"import seaborn"
]
},
{
"cell_type": "code",
"execution_count": 20,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[[1. 1.4 0.2 5.2 3.4]\n",
" [1. 1.5 0.4 5.1 3.7]\n",
" [1. 5.6 2.4 6.7 3.1]\n",
" [1. 5.1 2. 6.5 3.2]\n",
" [1. 4.5 1.7 4.9 2.5]\n",
" [1. 5.1 1.6 6. 2.7]]\n",
"[[1.]\n",
" [1.]\n",
" [0.]\n",
" [0.]\n",
" [0.]\n",
" [0.]]\n"
]
}
],
"source": [
"# Przygotowanie danych\n",
"m, n_plus_1 = data_iris_setosa_multi.values.shape\n",
"n = n_plus_1 - 1\n",
"Xn = data_iris_setosa_multi.values[:, 0:n].reshape(m, n)\n",
"\n",
"XMx4 = np.matrix(np.concatenate((np.ones((m, 1)), Xn), axis=1)).reshape(m, n_plus_1)\n",
"yMx4 = np.matrix(data_iris_setosa_multi.values[:, n]).reshape(m, 1)\n",
"\n",
"print(XMx4[:6])\n",
"print(yMx4[:6])"
]
},
{
"cell_type": "code",
"execution_count": 21,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [],
"source": [
"# Podział danych na zbiór trenujący i testowy\n",
"XTrain, XTest = XMx4[:100], XMx4[100:]\n",
"yTrain, yTest = yMx4[:100], yMx4[100:]\n",
"\n",
"# Macierz parametrów początkowych\n",
"thetaTemp = np.ones(5).reshape(5,1)"
]
},
{
"cell_type": "code",
"execution_count": 22,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"error = [[0.006797]]\n",
"theta = [[ 1.11414027]\n",
" [-2.89324615]\n",
" [-0.66543637]\n",
" [ 0.14887292]\n",
" [ 2.13284493]]\n"
]
}
],
"source": [
"thetaBest, errors = GD(h, J, dJ, thetaTemp, XTrain, yTrain, \n",
" alpha=0.1, eps=10**-7, maxSteps=1000)\n",
"print(\"error =\", errors[-1][0])\n",
"print(\"theta =\", thetaBest)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"### Funkcja decyzyjna regresji logistycznej\n",
"\n",
"Funkcja decyzyjna mówi o tym, kiedy nasz algorytm będzie przewidywał $y = 1$, a kiedy $y = 0$\n",
"\n",
"$$ c = \\left\\{ \n",
"\\begin{array}{ll}\n",
"1, & \\mbox{gdy } P(y=1 \\, | \\, x; \\theta) > 0.5 \\\\\n",
"0 & \\mbox{w przeciwnym przypadku}\n",
"\\end{array}\\right.\n",
"$$\n",
"\n",
"$$ P(y=1 \\,| \\, x; \\theta) = h_\\theta(x) $$"
]
},
{
"cell_type": "code",
"execution_count": 23,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"theta = [[ 1.11414027]\n",
" [-2.89324615]\n",
" [-0.66543637]\n",
" [ 0.14887292]\n",
" [ 2.13284493]]\n",
"x0 = [[1. 6.3 1.8 7.3 2.9]]\n",
"h(x0) = 1.6061436959824898e-05\n",
"c(x0) = (0, 1.6061436959824898e-05) \n",
"\n"
]
}
],
"source": [
"def classifyBi(theta, X):\n",
" prob = h(theta, X).item()\n",
" return (1, prob) if prob > 0.5 else (0, prob)\n",
"\n",
"print(\"theta =\", thetaBest)\n",
"print(\"x0 =\", XTest[0])\n",
"print(\"h(x0) =\", h(thetaBest, XTest[0]).item())\n",
"print(\"c(x0) =\", classifyBi(thetaBest, XTest[0]), \"\\n\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Obliczmy teraz skuteczność modelu (więcej na ten temat na następnym wykładzie, poświęconym metodom ewaluacji)."
]
},
{
"cell_type": "code",
"execution_count": 70,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0 <=> 0 -- prob: 0.0\n",
"1 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"1 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"0 <=> 0 -- prob: 0.0\n",
"\n",
"Accuracy: 0.64\n"
]
}
],
"source": [
"acc = 0.0\n",
"for i, rest in enumerate(yTest):\n",
" cls, prob = classifyBi(thetaBest, XTest[i])\n",
" if i < 10:\n",
" print(int(yTest[i].item()), \"<=>\", cls, \"-- prob:\", round(prob, 4))\n",
" acc += cls == yTest[i].item()\n",
"\n",
"print(\"\\nAccuracy:\", acc / len(XTest))"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"## 3.2. Wieloklasowa regresja logistyczna"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Przykład: wszystkie cechy ze zbioru *Iris*, wszystkie 3 klasy ze zbioru *Iris*."
]
},
{
"cell_type": "code",
"execution_count": 25,
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"outputs": [
{
"data": {
"text/html": [
"<div>\n",
"<style scoped>\n",
" .dataframe tbody tr th:only-of-type {\n",
" vertical-align: middle;\n",
" }\n",
"\n",
" .dataframe tbody tr th {\n",
" vertical-align: top;\n",
" }\n",
"\n",
" .dataframe thead th {\n",
" text-align: right;\n",
" }\n",
"</style>\n",
"<table border=\"1\" class=\"dataframe\">\n",
" <thead>\n",
" <tr style=\"text-align: right;\">\n",
" <th></th>\n",
" <th>sl</th>\n",
" <th>sw</th>\n",
" <th>pl</th>\n",
" <th>pw</th>\n",
" <th>Gatunek</th>\n",
" </tr>\n",
" </thead>\n",
" <tbody>\n",
" <tr>\n",
" <th>0</th>\n",
" <td>5.2</td>\n",
" <td>3.4</td>\n",
" <td>1.4</td>\n",
" <td>0.2</td>\n",
" <td>Iris-setosa</td>\n",
" </tr>\n",
" <tr>\n",
" <th>1</th>\n",
" <td>5.1</td>\n",
" <td>3.7</td>\n",
" <td>1.5</td>\n",
" <td>0.4</td>\n",
" <td>Iris-setosa</td>\n",
" </tr>\n",
" <tr>\n",
" <th>2</th>\n",
" <td>6.7</td>\n",
" <td>3.1</td>\n",
" <td>5.6</td>\n",
" <td>2.4</td>\n",
" <td>Iris-virginica</td>\n",
" </tr>\n",
" <tr>\n",
" <th>3</th>\n",
" <td>6.5</td>\n",
" <td>3.2</td>\n",
" <td>5.1</td>\n",
" <td>2.0</td>\n",
" <td>Iris-virginica</td>\n",
" </tr>\n",
" <tr>\n",
" <th>4</th>\n",
" <td>4.9</td>\n",
" <td>2.5</td>\n",
" <td>4.5</td>\n",
" <td>1.7</td>\n",
" <td>Iris-virginica</td>\n",
" </tr>\n",
" <tr>\n",
" <th>5</th>\n",
" <td>6.0</td>\n",
" <td>2.7</td>\n",
" <td>5.1</td>\n",
" <td>1.6</td>\n",
" <td>Iris-versicolor</td>\n",
" </tr>\n",
" </tbody>\n",
"</table>\n",
"</div>"
],
"text/plain": [
" sl sw pl pw Gatunek\n",
"0 5.2 3.4 1.4 0.2 Iris-setosa\n",
"1 5.1 3.7 1.5 0.4 Iris-setosa\n",
"2 6.7 3.1 5.6 2.4 Iris-virginica\n",
"3 6.5 3.2 5.1 2.0 Iris-virginica\n",
"4 4.9 2.5 4.5 1.7 Iris-virginica\n",
"5 6.0 2.7 5.1 1.6 Iris-versicolor"
]
},
"execution_count": 25,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"import pandas\n",
"data_iris = pandas.read_csv('iris.csv')\n",
"data_iris[:6]"
]
},
{
"cell_type": "code",
"execution_count": 38,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"X = [[1. 5.2 3.4 1.4 0.2]\n",
" [1. 5.1 3.7 1.5 0.4]\n",
" [1. 6.7 3.1 5.6 2.4]\n",
" [1. 6.5 3.2 5.1 2. ]]\n",
"y = [['Iris-setosa']\n",
" ['Iris-setosa']\n",
" ['Iris-virginica']\n",
" ['Iris-virginica']]\n"
]
}
],
"source": [
"# Przygotowanie danych\n",
"\n",
"import numpy as np\n",
"\n",
"features = ['sl', 'sw', 'pl', 'pw']\n",
"m = len(data_iris)\n",
"X = np.matrix(data_iris[features])\n",
"X0 = np.ones(m).reshape(m, 1)\n",
"X = np.hstack((X0, X))\n",
"y = np.matrix(data_iris[[\"Gatunek\"]]).reshape(m, 1)\n",
"\n",
"print(\"X = \", X[:4])\n",
"print(\"y = \", y[:4])"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Zamieńmy etykiety tekstowe w tablicy $y$ na wektory jednostkowe (*one-hot vectors*):\n",
"\n",
"$$\n",
"\\begin{array}{ccc}\n",
"\\mbox{\"Iris-setosa\"} & \\mapsto & \\left[ \\begin{array}{ccc} 1 & 0 & 0 \\\\ \\end{array} \\right] \\\\\n",
"\\mbox{\"Iris-virginica\"} & \\mapsto & \\left[ \\begin{array}{ccc} 0 & 1 & 0 \\\\ \\end{array} \\right] \\\\\n",
"\\mbox{\"Iris-versicolor\"} & \\mapsto & \\left[ \\begin{array}{ccc} 0 & 0 & 1 \\\\ \\end{array} \\right] \\\\\n",
"\\end{array}\n",
"$$"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Wówczas zamiast wektora $y$ otrzymamy macierz $Y$:\n",
"\n",
"$$\n",
"y \\; = \\;\n",
"\\left[\n",
"\\begin{array}{c}\n",
"y^{(1)} \\\\\n",
"y^{(2)} \\\\\n",
"y^{(3)} \\\\\n",
"y^{(4)} \\\\\n",
"y^{(5)} \\\\\n",
"\\vdots \\\\\n",
"\\end{array}\n",
"\\right]\n",
"\\; = \\;\n",
"\\left[\n",
"\\begin{array}{c}\n",
"\\mbox{\"Iris-setosa\"} \\\\\n",
"\\mbox{\"Iris-setosa\"} \\\\\n",
"\\mbox{\"Iris-virginica\"} \\\\\n",
"\\mbox{\"Iris-versicolor\"} \\\\\n",
"\\mbox{\"Iris-virginica\"} \\\\\n",
"\\vdots \\\\\n",
"\\end{array}\n",
"\\right]\n",
"\\quad \\mapsto \\quad\n",
"Y \\; = \\;\n",
"\\left[\n",
"\\begin{array}{ccc}\n",
"1 & 0 & 0 \\\\\n",
"1 & 0 & 0 \\\\\n",
"0 & 1 & 0 \\\\\n",
"0 & 0 & 1 \\\\\n",
"0 & 1 & 0 \\\\\n",
"\\vdots & \\vdots & \\vdots \\\\\n",
"\\end{array}\n",
"\\right]\n",
"$$"
]
},
{
"cell_type": "code",
"execution_count": 27,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"def mapY(y, cls):\n",
" m = len(y)\n",
" yBi = np.matrix(np.zeros(m)).reshape(m, 1)\n",
" yBi[y == cls] = 1.\n",
" return yBi\n",
"\n",
"def indicatorMatrix(y):\n",
" classes = np.unique(y.tolist())\n",
" m = len(y)\n",
" k = len(classes)\n",
" Y = np.matrix(np.zeros((m, k)))\n",
" for i, cls in enumerate(classes):\n",
" Y[:, i] = mapY(y, cls)\n",
" return Y\n",
"\n",
"# one-hot matrix\n",
"Y = indicatorMatrix(y)"
]
},
{
"cell_type": "code",
"execution_count": 40,
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"outputs": [],
"source": [
"# Podział danych na zbiór trenujący i testowy\n",
"XTrain, XTest = X[:100], X[100:]\n",
"YTrain, YTest = Y[:100], Y[100:]\n",
"\n",
"# Macierz parametrów początkowych - niech skłąda się z samych jedynek\n",
"thetaTemp = np.ones(5).reshape(5,1)"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "slide"
}
},
"source": [
"### Od regresji logistycznej dwuklasowej do wieloklasowej\n",
"\n",
"* Irysy są przydzielone do trzech klas: _Iris-setosa_ (0), _Iris-versicolor_ (1), _Iris-virginica_ (2).\n",
"* Wiemy, jak stworzyć klasyfikatory dwuklasowe typu _Iris-setosa_ vs. _Nie-Iris-setosa_ (tzw. *one-vs-all*).\n",
"* Możemy stworzyć trzy klasyfikatory $h_{\\theta_1}, h_{\\theta_2}, h_{\\theta_3}$ (otrzymując trzy zestawy parametrów $\\theta$) i wybrać klasę o najwyższym prawdopodobieństwie."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "notes"
}
},
"source": [
"Pomoże nam w tym funkcja *softmax*, która jest uogólnieniem funkcji logistycznej na większą liczbę wymiarów."
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"### Funkcja _softmax_\n",
"\n",
"Odpowiednikiem funkcji logistycznej dla wieloklasowej regresji logistycznej jest funkcja $\\mathrm{softmax}$:\n",
"\n",
"$$ \\textrm{softmax} \\colon \\mathbb{R}^k \\to [0,1]^k $$\n",
"\n",
"$$ \\textrm{softmax}(z_1,z_2,\\dots,z_k) = \\left( \\dfrac{e^{z_1}}{\\sum_{i=1}^{k}e^{z_i}}, \\dfrac{e^{z_2}}{\\sum_{i=1}^{k}e^{z_i}}, \\ldots, \\dfrac{e^{z_k}}{\\sum_{i=1}^{k}e^{z_i}} \\right) $$"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"$$ \\textrm{softmax}( \\left[ \\begin{array}{c} \\theta_1^T x \\\\ \\theta_2^T x \\\\ \\vdots \\\\ \\theta_k^T x \\end{array} \\right] ) = \\left[ \\begin{array}{c} P(y=1 \\, | \\, x;\\theta_1,\\ldots,\\theta_k) \\\\ P(y=2 \\, | \\, x;\\theta_1,\\ldots,\\theta_k) \\\\ \\vdots \\\\ P(y=k \\, | \\, x;\\theta_1,\\ldots,\\theta_k) \\end{array} \\right] $$"
]
},
{
"cell_type": "code",
"execution_count": 39,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [],
"source": [
"# Zapis macierzowy funkcji softmax\n",
"def softmax(X):\n",
" return np.exp(X) / np.sum(np.exp(X))"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"Wartości funkcji $\\mathrm{softmax}$ sumują się do 1:"
]
},
{
"cell_type": "code",
"execution_count": 43,
"metadata": {
"slideshow": {
"slide_type": "fragment"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"0.9999999999999999\n"
]
}
],
"source": [
"Z = np.matrix([[2.1, 0.5, 0.8, 0.9, 3.2]])\n",
"P = softmax(Z)\n",
"print(np.sum(P)) "
]
},
{
"cell_type": "code",
"execution_count": 71,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Otrzymana macierz parametrów theta dla klasy 0:\n",
" [[ 1.05767831]\n",
" [ 0.30970419]\n",
" [ 1.13792475]\n",
" [-2.13905814]\n",
" [-0.53802923]] \n",
"\n",
"Otrzymana macierz parametrów theta dla klasy 1:\n",
" [[ 0.73149124]\n",
" [-0.11032207]\n",
" [-0.81958212]\n",
" [ 0.78124841]\n",
" [-0.97778026]] \n",
"\n",
"Otrzymana macierz parametrów theta dla klasy 2:\n",
" [[-0.49344709]\n",
" [-1.55820591]\n",
" [-1.80752353]\n",
" [ 2.20683991]\n",
" [ 2.80287164]] \n",
"\n"
]
}
],
"source": [
"# Dla każdej klasy wytrenujmy osobny klasyfikator dwuklasowy.\n",
"\n",
"def trainMaxEnt(X, Y):\n",
" n = X.shape[1]\n",
" thetas = []\n",
" for c in range(Y.shape[1]):\n",
" YBi = Y[:,c]\n",
" theta = np.matrix(np.random.random(n)).reshape(n,1)\n",
" # Macierz parametrów theta obliczona dla każdej klasy osobno.\n",
" thetaBest, errors = GD(h, J, dJ, theta, \n",
" X, YBi, alpha=0.1, eps=10**-4)\n",
" thetas.append(thetaBest)\n",
" return thetas\n",
"\n",
"# Macierze theta dla każdej klasy\n",
"thetas = trainMaxEnt(XTrain, YTrain);\n",
"for c, theta in enumerate(thetas):\n",
" print(f\"Otrzymana macierz parametrów theta dla klasy {c}:\\n\", theta, \"\\n\")"
]
},
{
"cell_type": "markdown",
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"source": [
"### Funkcja decyzyjna wieloklasowej regresji logistycznej\n",
"\n",
"$$ c = \\mathop{\\textrm{arg}\\,\\textrm{max}}_{i \\in \\{1, \\ldots ,k\\}} P(y=i|x;\\theta_1,\\ldots,\\theta_k) $$"
]
},
{
"cell_type": "code",
"execution_count": 69,
"metadata": {
"slideshow": {
"slide_type": "subslide"
}
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"Dla x = [[1. 7.3 2.9 6.3 1.8]]:\n",
"Po zastosowaniu regresji: [-7.65100992 0.69850185 2.04768197]\n",
"Otrzymane prawdopodobieństwa: [0. 0.206 0.794]\n",
"Wybrana klasa: 2\n",
"Obliczone y = 2\n",
"Oczekiwane y = 2\n",
"\n",
"Dla x = [[1. 4.8 3. 1.4 0.3]]:\n",
"Po zastosowaniu regresji: [ 2.77540823 -1.43690137 -9.84646144]\n",
"Otrzymane prawdopodobieństwa: [0.985 0.015 0. ]\n",
"Wybrana klasa: 0\n",
"Obliczone y = 0\n",
"Oczekiwane y = 0\n",
"\n",
"Dla x = [[1. 7.1 3. 5.9 2.1]]:\n",
"Po zastosowaniu regresji: [-6.97828463 0.06730206 1.92319849]\n",
"Otrzymane prawdopodobieństwa: [0. 0.135 0.865]\n",
"Wybrana klasa: 2\n",
"Obliczone y = 2\n",
"Oczekiwane y = 2\n",
"\n",
"Dla x = [[1. 5.9 3. 5.1 1.8]]:\n",
"Po zastosowaniu regresji: [-5.65251882 -0.19682757 1.29828629]\n",
"Otrzymane prawdopodobieństwa: [0.001 0.183 0.816]\n",
"Wybrana klasa: 2\n",
"Obliczone y = 2\n",
"Oczekiwane y = 2\n",
"\n",
"Dla x = [[1. 6.1 2.6 5.6 1.4]]:\n",
"Po zastosowaniu regresji: [-6.81421782 0.85689139 1.97667224]\n",
"Otrzymane prawdopodobieństwa: [0. 0.246 0.754]\n",
"Wybrana klasa: 2\n",
"Obliczone y = 2\n",
"Oczekiwane y = 2\n",
"\n"
]
}
],
"source": [
"def classify(thetas, X, debug=False):\n",
" regs = np.array([(X*theta).item() for theta in thetas])\n",
" if debug:\n",
" print(\"Po zastosowaniu regresji: \", regs)\n",
" probs = softmax(regs)\n",
" if debug:\n",
" print(\"Otrzymane prawdopodobieństwa: \", np.around(probs,decimals=3))\n",
" result = np.argmax(probs)\n",
" if debug:\n",
" print(\"Wybrana klasa: \", result)\n",
" return result\n",
"\n",
"for i in range(5):\n",
" print(f\"Dla x = {XTest[i]}:\")\n",
" YPredicted = classify(thetas, XTest[i], debug=True)\n",
" print(f\"Obliczone y = {YPredicted}\")\n",
" print(f\"Oczekiwane y = {np.argmax(YTest[i])}\")\n",
" print()"
]
}
],
"metadata": {
"celltoolbar": "Slideshow",
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.8.3"
},
"livereveal": {
"start_slideshow_at": "selected",
"theme": "white"
}
},
"nbformat": 4,
"nbformat_minor": 4
}