775 lines
2.1 MiB
Plaintext
775 lines
2.1 MiB
Plaintext
|
{
|
|||
|
"cells": [
|
|||
|
{
|
|||
|
"cell_type": "markdown",
|
|||
|
"metadata": {
|
|||
|
"slideshow": {
|
|||
|
"slide_type": "slide"
|
|||
|
}
|
|||
|
},
|
|||
|
"source": [
|
|||
|
"# Regresja wielomianowa"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"source": [
|
|||
|
"![polynomial_regression](regression.png)\n",
|
|||
|
"\n",
|
|||
|
"Celem regresji wielomianowej jest zamodelowanie relacji między zmienną zależną od zmiennych niezależnych jako funkcję wielomianu n-tego stopnia.\n",
|
|||
|
"\n",
|
|||
|
"Postać ogólna regresji wielomianowej:\n",
|
|||
|
"\n",
|
|||
|
"$$ h_{\\theta}(x) = \\sum_{i=0}^{n} \\theta_i x^i $$\n",
|
|||
|
"\n",
|
|||
|
"Gdzie:\n",
|
|||
|
"\n",
|
|||
|
"$$ \\theta - \\text{wektor parametrów modelu} $$ "
|
|||
|
],
|
|||
|
"cell_type": "markdown",
|
|||
|
"metadata": {}
|
|||
|
},
|
|||
|
{
|
|||
|
"source": [
|
|||
|
"## Funkcja kosztu\n",
|
|||
|
"![MSE](mse.webp)\n",
|
|||
|
"\n",
|
|||
|
"W celu odpowiedniego dobrania parametrów modelu, trzeba znaleźć minimum funkcji kosztu zdefiniowanej poniższym wzorem:\n",
|
|||
|
"\n",
|
|||
|
"$$ J = \\frac{1}{2m} (X \\theta - y)^T (X \\theta - y) $$\n",
|
|||
|
"\n",
|
|||
|
"Gdzie:\n",
|
|||
|
"\n",
|
|||
|
"$$ m - \\text{ilość przykładów} $$ \n",
|
|||
|
"\n",
|
|||
|
"Za funkcję kosztu przyjmuje się zmodyfikowaną wersję błędu średniokwadratowego. Dodatkowo dodaje się dzielenie przez 2*m zamiast m, aby gradient z funkcji był lepszej postaci."
|
|||
|
],
|
|||
|
"cell_type": "markdown",
|
|||
|
"metadata": {}
|
|||
|
},
|
|||
|
{
|
|||
|
"source": [
|
|||
|
"## Metoda gradientu prostego\n",
|
|||
|
"![gradient_descent](gradient.png)"
|
|||
|
],
|
|||
|
"cell_type": "markdown",
|
|||
|
"metadata": {}
|
|||
|
},
|
|||
|
{
|
|||
|
"source": [
|
|||
|
"Do znalezienia minimum funckji kosztu można użyć metody gradientu prostego. W tym celu iteracyjnie liczy się gradient funkcji kosztu i aktualizuje się za jego pomocą wektor parametrów modelu aż do uzyskania zbieżności (Różnica między obliczoną funkcją kosztu a funkcją kosztu w poprzedniej iteracji będzie mniejsza od ustalonej wcześniej wartości $\\varepsilon$).\n",
|
|||
|
"\n",
|
|||
|
"Gradient funkcji kosztu:\n",
|
|||
|
"\n",
|
|||
|
"$$ \\dfrac{\\partial J(\\theta)}{\\partial \\theta} = \\frac{1}{m}X^T(X \\theta - y)$$\n",
|
|||
|
"\n",
|
|||
|
"Modyfikacja parametrów modelu:\n",
|
|||
|
"\n",
|
|||
|
"$$ \\theta_{new} = \\theta - \\alpha * \\dfrac{\\partial J(\\theta)}{\\partial \\theta}$$\n",
|
|||
|
"\n",
|
|||
|
"Gdzie:\n",
|
|||
|
"\n",
|
|||
|
"$$ \\alpha - \\text{współczynnik uczenia} $$"
|
|||
|
],
|
|||
|
"cell_type": "markdown",
|
|||
|
"metadata": {}
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 46,
|
|||
|
"metadata": {
|
|||
|
"slideshow": {
|
|||
|
"slide_type": "notes"
|
|||
|
}
|
|||
|
},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"import ipywidgets as widgets\n",
|
|||
|
"import matplotlib.pyplot as plt\n",
|
|||
|
"import numpy as np\n",
|
|||
|
"import pandas\n",
|
|||
|
"\n",
|
|||
|
"%matplotlib inline"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 47,
|
|||
|
"metadata": {
|
|||
|
"slideshow": {
|
|||
|
"slide_type": "notes"
|
|||
|
}
|
|||
|
},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"# Przydatne funkcje\n",
|
|||
|
"cost_functions = dict()\n",
|
|||
|
"\n",
|
|||
|
"def cost(theta, X, y):\n",
|
|||
|
" \"\"\"Wersja macierzowa funkcji kosztu\"\"\"\n",
|
|||
|
" m = len(y)\n",
|
|||
|
" J = 1.0 / (2.0 * m) * ((X * theta - y).T * (X * theta - y))\n",
|
|||
|
" return J.item()\n",
|
|||
|
"\n",
|
|||
|
"def gradient(theta, X, y):\n",
|
|||
|
" \"\"\"Wersja macierzowa gradientu funkcji kosztu\"\"\"\n",
|
|||
|
" return 1.0 / len(y) * (X.T * (X * theta - y)) \n",
|
|||
|
"\n",
|
|||
|
"def gradient_descent(fJ, fdJ, theta, X, y, alpha=0.1, eps=10**-7):\n",
|
|||
|
" \"\"\"Algorytm gradientu prostego\"\"\"\n",
|
|||
|
" current_cost = fJ(theta, X, y)\n",
|
|||
|
" logs = [[current_cost, theta]]\n",
|
|||
|
" while True:\n",
|
|||
|
" theta = theta - alpha * fdJ(theta, X, y)\n",
|
|||
|
" current_cost, prev_cost = fJ(theta, X, y), current_cost\n",
|
|||
|
" # print(current_cost)\n",
|
|||
|
" if abs(prev_cost - current_cost) > 10**15:\n",
|
|||
|
" print('Algorytm nie jest zbieżny!')\n",
|
|||
|
" break\n",
|
|||
|
" if abs(prev_cost - current_cost) <= eps:\n",
|
|||
|
" break\n",
|
|||
|
" logs.append([current_cost, theta]) \n",
|
|||
|
" return theta, logs\n",
|
|||
|
"\n",
|
|||
|
"def plot_data(X, y, xlabel, ylabel):\n",
|
|||
|
" \"\"\"Wykres danych\"\"\"\n",
|
|||
|
" fig = plt.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",
|
|||
|
" plt.ylim(y.min() - 1, y.max() + 1)\n",
|
|||
|
" plt.xlim(np.min(X[:, 1]) - 1, np.max(X[:, 1]) + 1)\n",
|
|||
|
" return fig\n",
|
|||
|
"\n",
|
|||
|
"def plot_data_cost(X, y, xlabel, ylabel):\n",
|
|||
|
" \"\"\"Wykres funkcji kosztu\"\"\"\n",
|
|||
|
" fig = plt.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], [y], c='r', s=50, label='Dane')\n",
|
|||
|
"\n",
|
|||
|
" ax.set_xlabel(xlabel)\n",
|
|||
|
" ax.set_ylabel(ylabel)\n",
|
|||
|
" ax.margins(.05, .05)\n",
|
|||
|
" plt.ylim(min(y) - 1, max(y) + 1)\n",
|
|||
|
" plt.xlim(np.min(X) - 1, np.max(X) + 1)\n",
|
|||
|
" return fig\n",
|
|||
|
"\n",
|
|||
|
"def plot_fun(fig, fun, X):\n",
|
|||
|
" \"\"\"Wykres funkcji `fun`\"\"\"\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 = fun(Arg)\n",
|
|||
|
" return ax.plot(Arg, Val, linewidth='2')"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 48,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"def MSE(Y_true, Y_pred):\n",
|
|||
|
" \"\"\"Błąd średniokwadratowy - Mean Squared Error\"\"\"\n",
|
|||
|
" return np.square(np.subtract(Y_true,Y_pred)).mean()"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 49,
|
|||
|
"metadata": {
|
|||
|
"slideshow": {
|
|||
|
"slide_type": "fragment"
|
|||
|
}
|
|||
|
},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"# Funkcja regresji wielomianowej\n",
|
|||
|
"\n",
|
|||
|
"def h_poly(Theta, x):\n",
|
|||
|
" \"\"\"Funkcja wielomianowa\"\"\"\n",
|
|||
|
" return sum(theta * np.power(x, i) for i, theta in enumerate(Theta.tolist()))\n",
|
|||
|
"\n",
|
|||
|
"def get_poly_data(data, deg):\n",
|
|||
|
" \"\"\"Przygotowanie danych do regresji wielomianowej\"\"\"\n",
|
|||
|
" m, n_plus_1 = data.shape\n",
|
|||
|
" n = n_plus_1 - 1\n",
|
|||
|
"\n",
|
|||
|
" X1 = data[:, 0:n]\n",
|
|||
|
" X1 /= np.amax(X1, axis=0)\n",
|
|||
|
"\n",
|
|||
|
" Xs = [np.ones((m, 1)), X1]\n",
|
|||
|
"\n",
|
|||
|
" for i in range(2, deg+1):\n",
|
|||
|
" Xn = np.power(X1, i)\n",
|
|||
|
" Xn /= np.amax(Xn, axis=0)\n",
|
|||
|
" Xs.append(Xn)\n",
|
|||
|
"\n",
|
|||
|
" X = np.matrix(np.concatenate(Xs, axis=1)).reshape(m, deg * n + 1)\n",
|
|||
|
"\n",
|
|||
|
" y = np.matrix(data[:, -1]).reshape(m, 1)\n",
|
|||
|
"\n",
|
|||
|
" return X, y\n",
|
|||
|
"\n",
|
|||
|
"\n",
|
|||
|
"def polynomial_regression(X, y, n):\n",
|
|||
|
" \"\"\"Funkcja regresji wielomianowej\"\"\"\n",
|
|||
|
" theta_start = np.matrix([0] * (n+1)).reshape(n+1, 1)\n",
|
|||
|
" theta, logs = gradient_descent(cost, gradient, theta_start, X, y)\n",
|
|||
|
" return lambda x: h_poly(theta, x), logs"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 50,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"def predict_values(model, data, n):\n",
|
|||
|
" \"\"\"Funkcja predykcji\"\"\"\n",
|
|||
|
" x, y = get_poly_data(np.array(data), n)\n",
|
|||
|
" preprocessed_x = []\n",
|
|||
|
" for i in x:\n",
|
|||
|
" preprocessed_x.append(i.item(1))\n",
|
|||
|
" return y, model(preprocessed_x), MSE(y, model(preprocessed_x))\n",
|
|||
|
"\n",
|
|||
|
"def plot_and_mse(data, data_test, n):\n",
|
|||
|
" \"\"\"Wykres wraz z MSE\"\"\"\n",
|
|||
|
" x, y = get_poly_data(np.array(data), n)\n",
|
|||
|
" model, logs = polynomial_regression(x, y, n)\n",
|
|||
|
" cost_function = [[element[0], i] for i, element in enumerate(logs)]\n",
|
|||
|
" cost_functions[n] = cost_function\n",
|
|||
|
" \n",
|
|||
|
" fig = plot_data(x, y, xlabel='x', ylabel='y')\n",
|
|||
|
" plot_fun(fig, model, x)\n",
|
|||
|
"\n",
|
|||
|
" y_true, Y_pred, mse = predict_values(model, data_test, n)\n",
|
|||
|
" print(f'Wielomian {n} stopnia, MSE = {mse}')"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 51,
|
|||
|
"metadata": {
|
|||
|
"slideshow": {
|
|||
|
"slide_type": "notes"
|
|||
|
}
|
|||
|
},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "execute_result",
|
|||
|
"data": {
|
|||
|
"text/plain": [
|
|||
|
" sqrMetres price\n",
|
|||
|
"1102 73 550000.0\n",
|
|||
|
"1375 78 496573.0\n",
|
|||
|
"1644 40 310000.0\n",
|
|||
|
"1434 22 377652.0\n",
|
|||
|
"1444 30 345180.0\n",
|
|||
|
"... ... ...\n",
|
|||
|
"384 76 269984.0\n",
|
|||
|
"214 42 249000.0\n",
|
|||
|
"24 47 299000.0\n",
|
|||
|
"1004 57 293848.0\n",
|
|||
|
"1632 112 329000.0\n",
|
|||
|
"\n",
|
|||
|
"[1674 rows x 2 columns]"
|
|||
|
],
|
|||
|
"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>sqrMetres</th>\n <th>price</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>1102</th>\n <td>73</td>\n <td>550000.0</td>\n </tr>\n <tr>\n <th>1375</th>\n <td>78</td>\n <td>496573.0</td>\n </tr>\n <tr>\n <th>1644</th>\n <td>40</td>\n <td>310000.0</td>\n </tr>\n <tr>\n <th>1434</th>\n <td>22</td>\n <td>377652.0</td>\n </tr>\n <tr>\n <th>1444</th>\n <td>30</td>\n <td>345180.0</td>\n </tr>\n <tr>\n <th>...</th>\n <td>...</td>\n <td>...</td>\n </tr>\n <tr>\n <th>384</th>\n <td>76</td>\n <td>269984.0</td>\n </tr>\n <tr>\n <th>214</th>\n <td>42</td>\n <td>249000.0</td>\n </tr>\n <tr>\n <th>24</th>\n <td>47</td>\n <td>299000.0</td>\n </tr>\n <tr>\n <th>1004</th>\n <td>57</td>\n <td>293848.0</td>\n </tr>\n <tr>\n <th>1632</th>\n <td>112</td>\n <td>329000.0</td>\n </tr>\n </tbody>\n</table>\n<p>1674 rows × 2 columns</p>\n</div>"
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"execution_count": 51
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"# Wczytanie danych (mieszkania) przy pomocy biblioteki pandas\n",
|
|||
|
"\n",
|
|||
|
"alldata = pandas.read_csv('data_flats.tsv', header=0, sep='\\t',\n",
|
|||
|
" usecols=['price', 'rooms', 'sqrMetres'])\n",
|
|||
|
"alldata = alldata[['sqrMetres', 'price']]\n",
|
|||
|
"alldata = alldata.sample(frac=1)\n",
|
|||
|
"alldata"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 52,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"# alldata = np.matrix(alldata[['sqrMetres', 'price']])\n",
|
|||
|
"data_train = alldata[0:1600]\n",
|
|||
|
"data_test = alldata[1600:]\n",
|
|||
|
"data_train = np.matrix(data_train).astype(float)\n",
|
|||
|
"data_test = np.matrix(data_test).astype(float)"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 53,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "stream",
|
|||
|
"name": "stdout",
|
|||
|
"text": [
|
|||
|
"Wielomian 1 stopnia, MSE = 49522013685.367744\n",
|
|||
|
"Wielomian 2 stopnia, MSE = 148367826800.28735\n",
|
|||
|
"Wielomian 3 stopnia, MSE = 145689760074.80402\n"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 611.892812 366.394687\" width=\"611.892812pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:29.197818</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 611.892812 366.394687 \r\nL 611.892812 0 \r\nL 0 0 \r\nz\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 43.78125 328.838437 \r\nL 596.74125 328.838437 \r\nL 596.74125 17.798437 \r\nL 43.78125 17.798437 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"mc0b5115b94\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#p2caf5c0389)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"290.50125\" xlink:href=\"#mc0b5115b94\" y=\"275.004513\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"295.30125\" xlink:href=\"#mc0b5115b94\" y=\"281.396021\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"258.82125\" xlink:href=\"#mc0b5115b94\" y=\"303.715876\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"241.54125\" xlink:href=\"#mc0b5115b94\" y=\"295.622621\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"249.22125\" xlink:href=\"#mc0b5115b94\" y=\"299.507268\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"306.82125\" xlink:href=\"#mc0b5115b94\" y=\"293.547268\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"263.62125\" xlink:href=\"#mc0b5115b94\" y=\"305.151444\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"268.42125\" xlink:href=\"#mc0b5115b94\" y=\"301.323262\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.34125\" xlink:href=\"#mc0b5115b94\" y=\"255.507105\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"279.94125\" xlink:href=\"#mc0b5115b94\" y=\"293.068745\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"248.26125\" xlink:href=\"#mc0b5115b94\" y=\"319.555575\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"274.18125\" xlink:href=\"#mc0b5115b94\" y=\"302.519569\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"244.42125\" xlink:href=\"#mc0b5115b94\" y=\"298.430951\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"258.82125\" xlink:href=\"#mc0b5115b94\" y=\"311.392337\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"271.30125\" xlink:href=\"#mc0b5115b94\" y=\"291.752808\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"288.58125\" xlink:href=\"#mc0b5115b94\" y=\"310.893716\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.22125\" xlink:href=\"#mc0b5115b94\" y=\"270.21
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmQAAAFvCAYAAADkPtfiAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA2OElEQVR4nO3de3TdVZ338c83lzbkwq2tpm1aQBsKtKC0VRQjgiADkYu0YcLoUvTpgA+gM1idhfrMmmG5RttxZrw9VHmY6gJmjVBJuSlFRm5ClYtNBXqBkgBC07RQ7kl6TbOfP/Y5zenJ+Z1bzjm/c3m/1upKe84vv7NzUpoP+7v3d5tzTgAAAAhPVdgDAAAAqHQEMgAAgJARyAAAAEJGIAMAAAgZgQwAACBkBDIAAICQlWQgM7NfmNlrZrYhzev/2sw2mdlGM/tlvscHAACQCSvFPmRmdpqkQUk3O+fmpri2VdKvJH3SOfeWmb3HOfdaIcYJAACQjpKcIXPOPSLpzdjHzOz9ZvZbM+s2s0fN7LjIU5dJWu6ceyvyuYQxAABQVEoykAW4QdJXnXPzJX1D0k8jjx8r6Vgz+4OZPW5m54Q2QgAAgARqwh5ALphZo6RTJd1mZtGHJ0Y+1khqlXS6pBZJj5jZic65tws8TAAAgITKIpDJz/S97Zz7YILn+iQ94ZzbJ+klM3tePqD9qYDjAwAACFQWJUvn3LvyYetiSTLvA5Gn75SfHZOZTZYvYb4YwjABAAASKslAZma3SHpM0mwz6zOzxZI+J2mxmT0taaOkCyOX3yfpDTPbJOkhSf/gnHsjjHEDAAAkUpJtLwAAAMpJSc6QAQAAlBMCG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background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 611.892812 366.394687\" width=\"611.892812pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:29.379817</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 611.892812 366.394687 \r\nL 611.892812 0 \r\nL 0 0 \r\nz\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 43.78125 328.838437 \r\nL 596.74125 328.838437 \r\nL 596.74125 17.798437 \r\nL 43.78125 17.798437 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"m14499e479b\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#p0904b6529c)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"290.50125\" xlink:href=\"#m14499e479b\" y=\"275.004513\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"295.30125\" xlink:href=\"#m14499e479b\" y=\"281.396021\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"258.82125\" xlink:href=\"#m14499e479b\" y=\"303.715876\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"241.54125\" xlink:href=\"#m14499e479b\" y=\"295.622621\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"249.22125\" xlink:href=\"#m14499e479b\" y=\"299.507268\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"306.82125\" xlink:href=\"#m14499e479b\" y=\"293.547268\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"263.62125\" xlink:href=\"#m14499e479b\" y=\"305.151444\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"268.42125\" xlink:href=\"#m14499e479b\" y=\"301.323262\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.34125\" xlink:href=\"#m14499e479b\" y=\"255.507105\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"279.94125\" xlink:href=\"#m14499e479b\" y=\"293.068745\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"248.26125\" xlink:href=\"#m14499e479b\" y=\"319.555575\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"274.18125\" xlink:href=\"#m14499e479b\" y=\"302.519569\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"244.42125\" xlink:href=\"#m14499e479b\" y=\"298.430951\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"258.82125\" xlink:href=\"#m14499e479b\" y=\"311.392337\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"271.30125\" xlink:href=\"#m14499e479b\" y=\"291.752808\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"288.58125\" xlink:href=\"#m14499e479b\" y=\"310.893716\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.22125\" xlink:href=\"#m14499e479b\" y=\"270.21
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmQAAAFvCAYAAADkPtfiAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAABX6klEQVR4nO3dd3zUVdbH8c+dVFLooYUOAQSkKAIq9rKKvS32sthxlXULbHme7avruuuDa1tF164oKusq9gooICBdIKGHUEIL6W3u88cvMSFkkplkJr/JzPf9evEamPll5jAJ5OTec88x1lpERERExD0etwMQERERiXZKyERERERcpoRMRERExGVKyERERERcpoRMRERExGVKyERERERc1ioTMmPMM8aYPcaY1X5e/0NjzFpjzBpjzMuhjk9EREQkEKY19iEzxpwMFADPW2uHN3JtBvAacLq19oAxpou1dk9LxCkiIiLij1a5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OCJHUEJWy6TjehHrMXz83R525ZW4HY6IiARBpdfy+hKnmP/KqlP1IuFGCVktXdomcvawrlR6La9+oxYYIiKRYF5mLjsOFtOrYxuO79/J7XBE6qWErI7q4v5XF2+notLrcjQiItJc1b3HJo3phcejYn4JT0rI6jh+QCf6d05m16ESPlm3x+1wRESkGfYWlPLR2t14DFwxRtuVEr6UkNVhjOHqcSruFxGJBG8szabCazl9SBe6tk10OxwRn5SQ1ePyY3uSEOthXuZetuwtdDscERFpAmttzXalOvNLmFNCVo/2SfFcMNIZOvvKYhX
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 611.892812 366.394687\" width=\"611.892812pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:29.563819</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 611.892812 366.394687 \r\nL 611.892812 0 \r\nL 0 0 \r\nz\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 43.78125 328.838437 \r\nL 596.74125 328.838437 \r\nL 596.74125 17.798437 \r\nL 43.78125 17.798437 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"m1694d4bdb2\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#pea196e4b2c)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"290.50125\" xlink:href=\"#m1694d4bdb2\" y=\"275.004513\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"295.30125\" xlink:href=\"#m1694d4bdb2\" y=\"281.396021\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"258.82125\" xlink:href=\"#m1694d4bdb2\" y=\"303.715876\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"241.54125\" xlink:href=\"#m1694d4bdb2\" y=\"295.622621\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"249.22125\" xlink:href=\"#m1694d4bdb2\" y=\"299.507268\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"306.82125\" xlink:href=\"#m1694d4bdb2\" y=\"293.547268\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"263.62125\" xlink:href=\"#m1694d4bdb2\" y=\"305.151444\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"268.42125\" xlink:href=\"#m1694d4bdb2\" y=\"301.323262\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"318.34125\" xlink:href=\"#m1694d4bdb2\" y=\"255.507105\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"279.94125\" xlink:href=\"#m1694d4bdb2\" y=\"293.068745\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"248.26125\" xlink:href=\"#m1694d4bdb2\" y=\"319.555575\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"274.18125\" xlink:href=\"#m1694d4bdb2\" y=\"302.519569\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"244.42125\" xlink:href=\"#m1694d4bdb2\" y=\"298.430951\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"258.82125\" xlink:href=\"#m1694d4bdb2\" y=\"311.392337\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"271.30125\" xlink:href=\"#m1694d4bdb2\" y=\"291.752808\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"288.58125\" xlink:href=\"#m1694d4bdb2\" y=\"310.893716\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"297.22125\" xlink:href=\"#m1694d4bdb2\" y=\"270.21
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmQAAAFvCAYAAADkPtfiAAAAOXRFWH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keFm7cQ8H+MrfDERGRZti8u4T3V24nOcHDVZpbKWGmhCyIMlOTOG1IF6yFd5YVuB2OiIg0w9NfbMJap5VRl7apbocjcUYJWZCdNzILgLeWadtSRCRa7C+t4pXFeYBTzC8SbkrIguykQZ3JTE1k+bYDrNtZ7HY4IiISgBe+2kxpZQ3H53RiSPe2bocjcUgJWZClJiVw1vBuAMxapp5kIiKRrrLay7NfbgLguuP7uxuMxC0lZCEw6Qhn23LW0m1Ya12ORkREGvPOt/nsOFDBwK4ZnJDTye1wJE4pIQuBcf070jkzhU27S/l26363wxERET+cRrC1Y5LG98cYNYIVdyghC4EEj+HcERqlJCIS6eav382qggN0ykhh0qgebocjcUwJWYjUzbZ8+9t8arzathQRiUR1Y5KuPKYPKYkJLkcj8UwJWYiM6NmOvh3TKCyqYMGG3W6HIyIiDazbWcQnawpJTfJw+bg+bocjcU4JWYgYYzivtrhfo5RERCLPk/Oc2rELj+xJh/Rkl6OReKeELITqZlu+t3w75VU1LkcjIiJ1dhVX8PoS5z/L16oRrEQAJWQhlN0lg+FZbSkqr+bTNYVuhyMiIrWen7+Zymovpw3pwoDOGW6HI6KELNQm1Y5SmqVRSiIiEaG8qoZ/L9gMqBGsRA4lZCF2zsjuGAMfrtpJUXmV2+GIiMS9/3yzjd0llQzPasvR/Tq4HY4IoIQs5Lq3a8P
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"cost_fun_slices = []\n",
|
|||
|
"for n in range(1, 4):\n",
|
|||
|
" plot_and_mse(data_train, data_test, n)\n",
|
|||
|
" \n",
|
|||
|
" cost_data = cost_functions.get(n)\n",
|
|||
|
" cost_x = [line[1] for line in cost_data[:250]]\n",
|
|||
|
" cost_y = [line[0] for line in cost_data[:250]]\n",
|
|||
|
" cost_fun_slices.append((cost_x, cost_y))"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 54,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 603.944375 366.394687\" width=\"603.944375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:30.037820</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 603.944375 366.394687 \r\nL 603.944375 0 \r\nL 0 0 \r\nz\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 34.240625 328.838437 \r\nL 587.200625 328.838437 \r\nL 587.200625 17.798437 \r\nL 34.240625 17.798437 \r\nz\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\nL 0 3.5 \r\n\" id=\"med1a61cf7a\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"36.443653\" xlink:href=\"#med1a61cf7a\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(33.262403 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"146.595047\" xlink:href=\"#med1a61cf7a\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(140.232547 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlwAAAFvCAYAAACfGhUuAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAX+UlEQVR4nO3de7BlZXkn4N8roCDiJdKhHMC05agZtQKS9oaEQo14GRM05QWjjlFH4i1iykmCmcowk/wRpxyNziQ66ahRJ4hlEEbLUZAY74loQxAEZFREBUHakAhoBgXf+WPvNodOn9O7m/Ods8/meap2nb3W3mt976mPdfrHWt/6VnV3AAAY507rXQAAwKITuAAABhO4AAAGE7gAAAYTuAAABhO4AAAGm7vAVVXvqKrrqupLM3z32Kq6oKpuqapn7PTZC6rqK9PXC8ZVDACwsrkL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8dlORvRhcGALAoVhrD9Z4kH0nyh0lOWbL+xu6+fmhVAAALZKUxXN/r7iuTvDnJ9UvGb91SVY9cqwIBADa6WcZwvTXJTUuWb5quAwBgBrMErurun8zD1d0/zmwz1AMAkNkC1xVV9aqq2m/6OjnJFaMLAwBYFLMErpcmOTrJ1UmuSvLIJCeNLAoAYJHM8izF65KcuAa1AAAspN0GrqralOQlSTYv/X53v2hcWQAAi2OWwe8fSPLpJH+V5Nax5QAALJ5ZAtddu/t3hlcCALCgZhk0/6GqesrwSgAAFtQsgevkTELXP1XVDVV1Y1XdMLowAIBFMctdigetRSEAAItqlrsUj93V+u7+1OqXAwCweGYZNP9bS97vn+QRSc5P8rghFQEALJhZLin+0tLlqjo8yZtGFQQ
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 603.944375 366.394687\" width=\"603.944375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:30.351819</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 603.944375 366.394687 \r\nL 603.944375 0 \r\nL 0 0 \r\nz\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 34.240625 328.838437 \r\nL 587.200625 328.838437 \r\nL 587.200625 17.798437 \r\nL 34.240625 17.798437 \r\nz\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\nL 0 3.5 \r\n\" id=\"m53652101c9\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"36.443653\" xlink:href=\"#m53652101c9\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(33.262403 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"146.595047\" xlink:href=\"#m53652101c9\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(140.232547 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlwAA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V9PEtCV3e/emdf6u6rkhyxd+UBAKx/swSuD01fAADsgVkmPn13Vd0lyYOnq67s7h+NLQsAYHHMcpficZk8rPrqJJXk8Kp64YzTQgAA3OnNcknxjUlO6O4rk6SqHpzkjCQ/O7IwAIBFMctM8/tvC1tJ0t3/L5O7FgEAmMEsZ7i2VNXbk/z5dPl5SbaMKwkAYLHMErhenuSVSbZNA/HpJG8dVhEAwIKZ5S7FW5O8afoCAGA3LRu4qur93f3sqro0k2cn3kF3/8zQygAAFsTOznCdMv35tNUoBABgUS17l2J3Xzd9+4ru/sbSV5JXrE55AADr3yzTQjxxB+uestKFAAAsqp2N4Xp5JmeyHlhVlyz56KAkfz26MACARbGzMVzvTfLRJH+Q5NQl62/u7huHVgUAsEB2Nobre919dZK3JLlxyfit26rq0atVIADAejfLGK63JbllyfIt03UAAMxglsBV3f3P83B1948z2wz1AABktsB1VVW9uqr2n75OSXLV6MIAABbFLIHrZUmOTnJtkmuSPDrJySOLAgBYJLM8S/GGJCetQi0AAAtpl4GrqjYkeWmSjUu37+4XjysLAGBxzDL4/YNJPp3kL5PcPrYcAIDFM0vgunt3//bwSgAAFtQsg+Y/XFVPHV4JAMCCmiVwnZJJ6PrHqrqpqm6uqptGFwYAsChmuUvxoNUoBABgUc1yl+KxO1rf3eevfDkAAItnlkHzv7nk/d2SPCrJhUmOH1IRAMCCmeWS4i8sXa6qw5O8eVRBAAC
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 603.944375 366.394687\" width=\"603.944375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:30.662817</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 603.944375 366.394687 \r\nL 603.944375 0 \r\nL 0 0 \r\nz\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 34.240625 328.838437 \r\nL 587.200625 328.838437 \r\nL 587.200625 17.798437 \r\nL 34.240625 17.798437 \r\nz\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\nL 0 3.5 \r\n\" id=\"m0d993e7107\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"36.443653\" xlink:href=\"#m0d993e7107\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(33.262403 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"146.595047\" xlink:href=\"#m0d993e7107\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(140.232547 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAlwAAAFvCAYAAACfGhUuAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAX+UlEQVR4nO3de7BlZXkn4N/LRUXES6RDOUClLUfNqBWQtDckFGLEy5igKS8YdYwaibeIKScJZirDTPJHnHI0cSbRmY4adYJYBmG0HAWJ8Z6INgyCgIyKqCDIMSQCmqDgO3/s3cmh06d7d/f5ztln+zxVu85ea6+1vpf6stpf1vrWt6q7AwDAOPutdwEAAItO4AIAGEzgAgAYTOACABhM4AIAGEzgAgAYbO4CV1W9vapurKovzrDt8VV1cVXdXlXP2OG3F1TVl6efF4yrGABg1+YucCV5R5InzbjtN5L8SpJ3L19ZVT+R5Iwkj0ryyCRnVNV9Vq9EAIDZzV3g6u5PJrlp+bqqekBVnVdVF1XVp6rqp6fbXtPdlyb50Q6HeWKSC7r7pu7+uyQXZPYQBwCwqg5Y7wJmtDXJS7v7y1X1qCRvTnLiLrY/PMk3ly1fO10HALDm5j5wVdU9khyb5C+qavvqu65fRQAAe2buA1cmtz3/vruP3oN9rktywrLlI5J8fPVKAgCY3dyN4dpRd9+c5GtV9cwkqYmjdrPb+UlOqqr7TAfLnzRdBwCw5uYucFXVWUn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zyyD5n9z2fe7JXlkkouSnDikIgCABTPLLcVfWL5cVUcm+aNRBQE
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"#WYKRESY FUNKCJI KOSZTU\n",
|
|||
|
"for fig in cost_fun_slices:\n",
|
|||
|
" cost_x, cost_y = fig\n",
|
|||
|
" fig = plot_data_cost(cost_x, cost_y, \"Iteration\", \"Cost function value\")"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 55,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"# Ilość nauki do oceny"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 56,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "execute_result",
|
|||
|
"data": {
|
|||
|
"text/plain": [
|
|||
|
" number_courses time_study Marks\n",
|
|||
|
"0 3 4.508 19.202\n",
|
|||
|
"1 4 0.096 7.734\n",
|
|||
|
"2 4 3.133 13.811\n",
|
|||
|
"3 6 7.909 53.018\n",
|
|||
|
"4 8 7.811 55.299\n",
|
|||
|
".. ... ... ...\n",
|
|||
|
"95 6 3.561 19.128\n",
|
|||
|
"96 3 0.301 5.609\n",
|
|||
|
"97 4 7.163 41.444\n",
|
|||
|
"98 7 0.309 12.027\n",
|
|||
|
"99 3 6.335 32.357\n",
|
|||
|
"\n",
|
|||
|
"[100 rows x 3 columns]"
|
|||
|
],
|
|||
|
"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>number_courses</th>\n <th>time_study</th>\n <th>Marks</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>0</th>\n <td>3</td>\n <td>4.508</td>\n <td>19.202</td>\n </tr>\n <tr>\n <th>1</th>\n <td>4</td>\n <td>0.096</td>\n <td>7.734</td>\n </tr>\n <tr>\n <th>2</th>\n <td>4</td>\n <td>3.133</td>\n <td>13.811</td>\n </tr>\n <tr>\n <th>3</th>\n <td>6</td>\n <td>7.909</td>\n <td>53.018</td>\n </tr>\n <tr>\n <th>4</th>\n <td>8</td>\n <td>7.811</td>\n <td>55.299</td>\n </tr>\n <tr>\n <th>...</th>\n <td>...</td>\n <td>...</td>\n <td>...</td>\n </tr>\n <tr>\n <th>95</th>\n <td>6</td>\n <td>3.561</td>\n <td>19.128</td>\n </tr>\n <tr>\n <th>96</th>\n <td>3</td>\n <td>0.301</td>\n <td>5.609</td>\n </tr>\n <tr>\n <th>97</th>\n <td>4</td>\n <td>7.163</td>\n <td>41.444</td>\n </tr>\n <tr>\n <th>98</th>\n <td>7</td>\n <td>0.309</td>\n <td>12.027</td>\n </tr>\n <tr>\n <th>99</th>\n <td>3</td>\n <td>6.335</td>\n <td>32.357</td>\n </tr>\n </tbody>\n</table>\n<p>100 rows × 3 columns</p>\n</div>"
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"execution_count": 56
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"data_marks_all = pandas.read_csv('Student_Marks.csv')\n",
|
|||
|
"data_marks_all"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 57,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"data_marks_all = data_marks_all[['time_study', 'Marks']]\n",
|
|||
|
"# data_marks_all = data_marks_all.sample(frac=1)\n",
|
|||
|
"data_marks_train = data_marks_all[0:70]\n",
|
|||
|
"data_marks_test = data_marks_all[70:]\n",
|
|||
|
"data_marks_train = np.matrix(data_marks_train).astype(float)\n",
|
|||
|
"data_marks_test = np.matrix(data_marks_test).astype(float)"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 58,
|
|||
|
"metadata": {
|
|||
|
"tags": []
|
|||
|
},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "stream",
|
|||
|
"name": "stdout",
|
|||
|
"text": [
|
|||
|
"Wielomian 1 stopnia, MSE = 381.1693728350544\n",
|
|||
|
"Wielomian 2 stopnia, MSE = 394.1863119057109\n",
|
|||
|
"Wielomian 3 stopnia, MSE = 391.50171107305584\n"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 608.714687 355.79625\" width=\"608.714687pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:34.813658</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M -0 355.79625 \r\nL 608.714687 355.79625 \r\nL 608.714687 0 \r\nL -0 0 \r\nz\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 40.603125 318.24 \r\nL 593.563125 318.24 \r\nL 593.563125 7.2 \r\nL 40.603125 7.2 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"m5637b01e2b\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#p746ac559a1)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"328.911709\" xlink:href=\"#m5637b01e2b\" y=\"232.943453\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"225.671918\" xlink:href=\"#m5637b01e2b\" y=\"302.728771\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"296.737024\" xlink:href=\"#m5637b01e2b\" y=\"265.748881\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"408.494332\" xlink:href=\"#m5637b01e2b\" y=\"27.165611\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"406.201155\" xlink:href=\"#m5637b01e2b\" y=\"13.285221\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"298.562206\" xlink:href=\"#m5637b01e2b\" y=\"241.341059\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"365.298354\" xlink:href=\"#m5637b01e2b\" y=\"167.910694\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"303.28896\" xlink:href=\"#m5637b01e2b\" y=\"244.736612\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"326.618532\" xlink:href=\"#m5637b01e2b\" y=\"225.96979\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.872329\" xlink:href=\"#m5637b01e2b\" y=\"161.989773\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.484059\" xlink:href=\"#m5637b01e2b\" y=\"93.993511\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"233.323643\" xlink:href=\"#m5637b01e2b\" y=\"275.965968\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"322.125776\" xlink:href=\"#m5637b01e2b\" y=\"201.811461\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"323.436163\" xlink:href=\"#m5637b01e2b\" y=\"242.253842\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"291.472075\" xlink:href=\"#m5637b01e2b\" y=\"280.438605\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"323.108566\" xlink:href=\"#m5637b01e2b\" y=\"231.336955\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"357.248833\" xlink:href=\"#m5637b01e2b\" y=\"163.900533\"
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmAAAAFkCAYAAACHEodbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90b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K5SAiYhIzKzaspeH3vwKgPsnjqFLpzSXIxJxhxIwERGJiepaP9OKiqmps/zw+EGcMqKn2yGJuEYJmIiIxMTD75SwcvNeBnXL4obxh7odjoirojaMW0REEpzXC0VFUFICeXlQUAC5ua26VfGG3Tzy7hqMgQcm55Odof/8SMemPwEiInKgRYtgwgTw+8Hng+xsmDYNFiyAceMiulVlTR3Tnyumzm/5+clDOXZotygFLZI4tAUpIiL783qd5MvrdZIvcL42vF5eHtHtZr6xmtJt5QzvlcP0sw+JQsAiiUcJmIiI7K+oyFn5CsTvd46H6ZOvd/Lkoq9J8RhmTs4nMy2lnYIUSWxKwEREZH8lJY0rX835fFBaGtZtfFW1XPNcMdbCFaceTP7Aru0Xo0iCUwImIiL7y8tzar4Cyc6G4cPDus29r37JNzsrGNW3M1eenteOAYokPiVgIiKyv4IC8AT5z4PH4xxvwftfbef//vMNaSmGmVPySU/Vf25EmtKfCBER2V9urvO0Y25u40pYdnbj6zk5IS/fs6+GwrlLAbj6rBEc2rdztCMWSThqQyEiIgcaNw7KypyC+9JSZ9uxoKDF5AvgjpdWsnlPJUcO6srlJw+LQbAiiUcJmIiIBJaTA1OnRnTJGyu2MPfzjWSmeZg5OZ/UFG20iASiPxkiItIudvqqufGFZQBc992RDOvZ8mqZSEelBEx
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 608.714687 355.79625\" width=\"608.714687pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:34.957659</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M -0 355.79625 \r\nL 608.714687 355.79625 \r\nL 608.714687 0 \r\nL -0 0 \r\nz\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 40.603125 318.24 \r\nL 593.563125 318.24 \r\nL 593.563125 7.2 \r\nL 40.603125 7.2 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"mda1611d1ae\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#pb7df3feb70)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"328.911709\" xlink:href=\"#mda1611d1ae\" y=\"232.943453\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"225.671918\" xlink:href=\"#mda1611d1ae\" y=\"302.728771\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"296.737024\" xlink:href=\"#mda1611d1ae\" y=\"265.748881\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"408.494332\" xlink:href=\"#mda1611d1ae\" y=\"27.165611\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"406.201155\" xlink:href=\"#mda1611d1ae\" y=\"13.285221\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"298.562206\" xlink:href=\"#mda1611d1ae\" y=\"241.341059\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"365.298354\" xlink:href=\"#mda1611d1ae\" y=\"167.910694\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"303.28896\" xlink:href=\"#mda1611d1ae\" y=\"244.736612\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"326.618532\" xlink:href=\"#mda1611d1ae\" y=\"225.96979\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.872329\" xlink:href=\"#mda1611d1ae\" y=\"161.989773\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.484059\" xlink:href=\"#mda1611d1ae\" y=\"93.993511\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"233.323643\" xlink:href=\"#mda1611d1ae\" y=\"275.965968\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"322.125776\" xlink:href=\"#mda1611d1ae\" y=\"201.811461\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"323.436163\" xlink:href=\"#mda1611d1ae\" y=\"242.253842\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"291.472075\" xlink:href=\"#mda1611d1ae\" y=\"280.438605\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"323.108566\" xlink:href=\"#mda1611d1ae\" y=\"231.336955\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"357.248833\" xlink:href=\"#mda1611d1ae\" y=\"163.900533\"
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmAAAAFkCAYAAACHEodbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAABKpUlEQVR4nO3deXxU9b3/8dd3spKFLexhX2QXFAQV3MAVcakLqbXVWvqzi9Zae2+lvb31trW119tWbW29bamt3lbFugsogqKCO/sOCTtkYYchIet8f3+cGQhxJpksM2eW9/Px4DHJnHMmH8cQPvl+P+fzMdZaRERERCR6PG4HICIiIpJslICJiIiIRJkSMBEREZEoUwImIiIiEmVKwERERESiTAmYiIiISJSluh1AOLp06WL79+/frGu2lHmpqvUxoEs2ORlx8Z8pIpLQ6qxlY/ExLDC8Z3tSPcbtkERabfny5QestV2be11cZCb9+/dn2bJlzbrmoTc28qf3tnHLpP48cM3ICEUmIiLhmrummLufWcmEAZ15/hvnuR2OSJswxuxsyXUJuwV5+YjuACzcUIaazYqIRIHXC7Nnw/33O49e72mHF24oA+Cy4d3diE4kpsTFClhLjO3TiS456ew5fIJNpV6G92zvdkgiIolr6VKYNg18Pigvh+xsuO8+mD8fJk+mps7H4k37ALh0hBIwkYRdAUvxGKYOc/6SL/L/1iUiIhHg9TrJl9frJF/gPAaeP36cz3Yc4lhlLYO75TCgS7a78YrEgIRNwODUb1kL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1XH79Bc7zItJqSsDCcHI
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 608.714687 355.79625\" width=\"608.714687pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:35.105659</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M -0 355.79625 \r\nL 608.714687 355.79625 \r\nL 608.714687 0 \r\nL -0 0 \r\nz\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 40.603125 318.24 \r\nL 593.563125 318.24 \r\nL 593.563125 7.2 \r\nL 40.603125 7.2 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"m57aae5905a\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#pd90f6d9ef9)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"328.911709\" xlink:href=\"#m57aae5905a\" y=\"232.943453\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"225.671918\" xlink:href=\"#m57aae5905a\" y=\"302.728771\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"296.737024\" xlink:href=\"#m57aae5905a\" y=\"265.748881\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"408.494332\" xlink:href=\"#m57aae5905a\" y=\"27.165611\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"406.201155\" xlink:href=\"#m57aae5905a\" y=\"13.285221\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"298.562206\" xlink:href=\"#m57aae5905a\" y=\"241.341059\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"365.298354\" xlink:href=\"#m57aae5905a\" y=\"167.910694\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"303.28896\" xlink:href=\"#m57aae5905a\" y=\"244.736612\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"326.618532\" xlink:href=\"#m57aae5905a\" y=\"225.96979\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.872329\" xlink:href=\"#m57aae5905a\" y=\"161.989773\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"395.484059\" xlink:href=\"#m57aae5905a\" y=\"93.993511\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"233.323643\" xlink:href=\"#m57aae5905a\" y=\"275.965968\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"322.125776\" xlink:href=\"#m57aae5905a\" y=\"201.811461\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"323.436163\" xlink:href=\"#m57aae5905a\" y=\"242.253842\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"291.472075\" xlink:href=\"#m57aae5905a\" y=\"280.438605\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"323.108566\" xlink:href=\"#m57aae5905a\" y=\"231.336955\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"357.248833\" xlink:href=\"#m57aae5905a\" y=\"163.900533\"
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmAAAAFkCAYAAACHEodbAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAA/qElEQVR4nO3deXzV5Zn38c+dfSdACIQQFk0AAQUEV6jFDZS665D26bTWsWMXp1OH9qm2T592pqt1ptP6TNvpWGu1i4pVrFRpBRWsUVF22QmyJwEStpzsyTn388fvhIRwzsk5Sc6a7/v1yivJbzm5OAa9vO/rd13GWouIiIiIRE5StAMQERERGWyUgImIiIhEmBIwERERkQhTAiYiIiISYUr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E74ARRKMEjAREenq/XVxsf+Lysqcmi9fsrOdeZEiEhQlYCIig9yB442sO3CSrLRkFkwd5f/C8nJI8vOfjaQk57yIBEUJmIjIILd0QxUAN0wbRXZ6gIfjc3Odpx1zc7tWwrKzu47n5EQgWpHEoDYUIiKDmLW26+nHYEYPzZ0L1dVOwf2ePc62Y3m5ki+RECkBExEZxNYdOMmhE82MysvgivOHB3dTTg7ce294AxNJcNqCFBEZxDqL72+bWUxyko/eXyISFkrAREQGqZZ2Ny9/UAP08vSjiAw4bUGKiAxSr+04iqulgwuLhzBxZIBZjpr9KDLglICJiAxSnU8/Blz90uxHkbDQFqSIyCBU62r
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"cost_fun_slices = []\n",
|
|||
|
"\n",
|
|||
|
"for n in range(1, 4):\n",
|
|||
|
" plot_and_mse(data_marks_train, data_marks_test, n)\n",
|
|||
|
" \n",
|
|||
|
" cost_data = cost_functions.get(n)\n",
|
|||
|
" cost_x = [line[1] for line in cost_data[:250]]\n",
|
|||
|
" cost_y = [line[0] for line in cost_data[:250]]\n",
|
|||
|
" cost_fun_slices.append((cost_x, cost_y))"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 59,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 616.669375 355.79625\" width=\"616.669375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:35.487659</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 355.79625 \r\nL 616.669375 355.79625 \r\nL 616.669375 0 \r\nL 0 0 \r\nz\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 46.965625 318.24 \r\nL 599.925625 318.24 \r\nL 599.925625 7.2 \r\nL 46.965625 7.2 \r\nz\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\nL 0 3.5 \r\n\" id=\"m2fd6aca046\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"49.168653\" xlink:href=\"#m2fd6aca046\" y=\"318.24\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(45.987403 332.838437)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"159.320047\" xlink:href=\"#m2fd6aca046\" y=\"318.24\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(152.957547 332.838437)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38.140625 10.796875 36.28125 \r\nz
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmgAAAFkCAYAAACUxcevAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAapElEQVR4nO3de7BlZX3m8e8joBBFUTnp6jRdacu0cdAKDTkiXmIRjBcoM40pgxhHiTK2Fxxx4jiCUxlNzUzFlBGiY2SqHQhNBiEUyNDjIIiIos4InmZarjJ2uBTdaeijKJchYQL+5o+9etw057L70Pvs9/T+fqp27bXeddm/4+tqH9da71qpKiRJktSOp426AEmSJD2RAU2SJKkxBjRJkqTGGNAkSZIaY0CTJElqjAFNkiSpMfuOuoCn4uCDD65Vq1aNugxJkqQn2LRp04+ramKh2y/pgLZq1SqmpqZGXYYkSdITJLn7qWzvJU5JkqTGGNAkSZIaY0CTJElqjAFNkiSpMQY0SZKkxhjQJEmSGmNAkyRJaowBTZIkqTEGNEmSpMYY0CRJkhpjQJMkSWqMAU2SJKkxBjRJkqTGGNAkSZIaY0CTJElqjAFNkiSpMQY0SZKkxhjQJEmSGmNAkyRJaowBTZIkqTEGNEmSpMYY0CRJkhpjQJMkSWqMAU2SJKkxBjRJkqTGGNAkSZIaY0CTJElqjAFNkiSpMQY0SZKkxhjQJEmSGmNAkyRJaszQAlqS/ZNcn+QHSW5J8idd+7lJ7kyyufus6dqT5HN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L8lBSZb3XWqVJEkaC3Pdg/ZAVd0FfBa4v+/+s8eSvHx3fiTJKuBw4DpgWV/ouhdY1k2vAO7p22xr1yZJkjRWBrkH7Szg4b75h9mNy49
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 616.669375 355.79625\" width=\"616.669375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:35.794658</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 355.79625 \r\nL 616.669375 355.79625 \r\nL 616.669375 0 \r\nL 0 0 \r\nz\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 46.965625 318.24 \r\nL 599.925625 318.24 \r\nL 599.925625 7.2 \r\nL 46.965625 7.2 \r\nz\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\nL 0 3.5 \r\n\" id=\"m136bb56895\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"49.168653\" xlink:href=\"#m136bb56895\" y=\"318.24\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(45.987403 332.838437)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"159.320047\" xlink:href=\"#m136bb56895\" y=\"318.24\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(152.957547 332.838437)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38.140625 10.796875 36.28125 \r\nz
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmgAAAFkCAYAAACUxcevAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAaqklEQVR4nO3dfZBldX3n8fdHGIHoKCodahamMpYZ46K1DGQkiMZCiAqU7mDKIMRVfFjHB1xxY1zBraymdq2QMkp0E9kaF8KQRQiFskwhoohE1BWwYUceZZ3wUMzswLSiPCwJG8bv/nHPbC5td8+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NrkFGcR9N7Ofq9QIDlSU71MRuSJEnDMcglzs8Ar6uquwCSvBi4CPjNYRYmSZI0rgYZxblkRzgDqKr/haM6JUmShmaQM2iTSf4r8N+6+bcCk8MrSZIkabwNEtDeD5wG7HisxneALwytIkmSpDE3yCjOJ4DPdh9JkiQN2az3oCW5pPu+Nckt0z8723GS5UmuTXJHktuTnN61Pz/J1Ul+3H0/r2tPks8n2dT9xuG764+UJElaTOY6g3Z69/2Gee77SeAjVXVzkqXATUmuBt4BXFNVZyU5AzgD+BhwPLCy+/wWcE73LUmSNFZmPYNWVVu7yQ9U1X39H+ADO9txVW2tqpu76UeBO4GDgDX0nqtG931iN70GuKB6rgf2T7JsPn+UJEnSYjbIYzZeO0Pb8bvyI0lWAIcBNwAH9oW/B4ADu+mDgPv7NtvctU3f19okk0kmp6amdqUMSZKkRWGue9Den+RW4CXT7j+7B7h10B9I8mzgy8CHq+qR/mVVVUDtSsFVta6qVlfV6omJiV3ZVJIkaVGY6x60LwFfA/6E3n1iOzxaVQ8
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 616.669375 355.79625\" width=\"616.669375pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:03:36.103659</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 355.79625 \r\nL 616.669375 355.79625 \r\nL 616.669375 0 \r\nL 0 0 \r\nz\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 46.965625 318.24 \r\nL 599.925625 318.24 \r\nL 599.925625 7.2 \r\nL 46.965625 7.2 \r\nz\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\nL 0 3.5 \r\n\" id=\"ma8525507c9\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"49.168653\" xlink:href=\"#ma8525507c9\" y=\"318.24\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(45.987403 332.838437)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"159.320047\" xlink:href=\"#ma8525507c9\" y=\"318.24\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(152.957547 332.838437)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38.140625 10.796875 36.28125 \r\nz
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmgAAAFkCAYAAACUxcevAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAawUlEQVR4nO3df/BddX3n8edLiEIVReVrJhtC49hYF50SMCKidRBWBUY32LEItcooa/yBK+64VnCnq52us3ZcoHVb2Y0LJXQRmgFZMixFEVHUXcDARn7KGvkxJA0kikJYWrbge/+4J9tL+P64Cd/7vZ9v7vMxc+ee8zk/7vvrxxNfnnM+56SqkCRJUjueM+oCJEmS9HQGNEmSpMYY0CRJkhpjQJMkSWqMAU2SJKkxBjRJkqTG7D3qAp6NAw44oJYuXTrqMiRJkp7m5ptv/llVTezu9vM6oC1dupT169ePugxJkqSnSXL/s9neS5ySJEmNMaBJkiQ1xoAmSZLUGAOaJElSYwxokiRJjTGgSZIkNcaAJkmS1BgDmiRJUmMMaJIkSY0xoEmSJDXGgCZJktQYA5okSVJjDGiSJEmNMaBJkiQ1xoAmSZLUGAOaJElSYwxokiRJjTGgSZIkNcaAJkmS1BgDmiRJUmMMaJIkSY0xoEmSJDXGgCZJktQYA5okSVJjDGiSJEmNMaBJkiQ1xoAmSZLUGAOaJElSYwxokiRJjTGgSZIkNWZoAS3JPkluSvKjJHck+aOu/YIk9ybZ0H2Wd+1J8uUkG5PcmuSwYdUmSZLUsr2HuO8ngKOr6rEkC4DvJ/mbbtmnq+rSndY/DljWfV4PnNt9S5IkjZWhnUGrnse62QXdp6bZZCVwYbfdDcD+SRYNqz5JkqRWDfUetCR7JdkAbAWuqaobu0Vf6C5jnpPkeV3bYuCBvs03dW2SJEljZag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
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"#WYKRESY FUNKCJI KOSZTU\n",
|
|||
|
"for fig in cost_fun_slices:\n",
|
|||
|
" cost_x, cost_y = fig\n",
|
|||
|
" fig = plot_data_cost(cost_x, cost_y, \"Iteration\", \"Cost function value\")"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 60,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "execute_result",
|
|||
|
"data": {
|
|||
|
"text/plain": [
|
|||
|
" age sex bmi children smoker region charges\n",
|
|||
|
"319 32 male 37.335 1 no northeast 4667.60765\n",
|
|||
|
"832 28 female 23.845 2 no northwest 4719.73655\n",
|
|||
|
"79 41 female 32.965 0 no northwest 6571.02435\n",
|
|||
|
"74 44 male 27.400 2 no southwest 7726.85400\n",
|
|||
|
"603 64 female 39.050 3 no southeast 16085.12750\n",
|
|||
|
".. ... ... ... ... ... ... ...\n",
|
|||
|
"328 64 female 33.800 1 yes southwest 47928.03000\n",
|
|||
|
"447 56 female 25.650 0 no northwest 11454.02150\n",
|
|||
|
"320 34 male 25.270 1 no northwest 4894.75330\n",
|
|||
|
"575 58 female 27.170 0 no northwest 12222.89830\n",
|
|||
|
"756 39 female 22.800 3 no northeast 7985.81500\n",
|
|||
|
"\n",
|
|||
|
"[1338 rows x 7 columns]"
|
|||
|
],
|
|||
|
"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>age</th>\n <th>sex</th>\n <th>bmi</th>\n <th>children</th>\n <th>smoker</th>\n <th>region</th>\n <th>charges</th>\n </tr>\n </thead>\n <tbody>\n <tr>\n <th>319</th>\n <td>32</td>\n <td>male</td>\n <td>37.335</td>\n <td>1</td>\n <td>no</td>\n <td>northeast</td>\n <td>4667.60765</td>\n </tr>\n <tr>\n <th>832</th>\n <td>28</td>\n <td>female</td>\n <td>23.845</td>\n <td>2</td>\n <td>no</td>\n <td>northwest</td>\n <td>4719.73655</td>\n </tr>\n <tr>\n <th>79</th>\n <td>41</td>\n <td>female</td>\n <td>32.965</td>\n <td>0</td>\n <td>no</td>\n <td>northwest</td>\n <td>6571.02435</td>\n </tr>\n <tr>\n <th>74</th>\n <td>44</td>\n <td>male</td>\n <td>27.400</td>\n <td>2</td>\n <td>no</td>\n <td>southwest</td>\n <td>7726.85400</td>\n </tr>\n <tr>\n <th>603</th>\n <td>64</td>\n <td>female</td>\n <td>39.050</td>\n <td>3</td>\n <td>no</td>\n <td>southeast</td>\n <td>16085.12750</td>\n </tr>\n <tr>\n <th>...</th>\n <td>...</td>\n <td>...</td>\n <td>...</td>\n <td>...</td>\n <td>...</td>\n <td>...</td>\n <td>...</td>\n </tr>\n <tr>\n <th>328</th>\n <td>64</td>\n <td>female</td>\n <td>33.800</td>\n <td>1</td>\n <td>yes</td>\n <td>southwest</td>\n <td>47928.03000</td>\n </tr>\n <tr>\n <th>447</th>\n <td>56</td>\n <td>female</td>\n <td>25.650</td>\n <td>0</td>\n <td>no</td>\n <td>northwest</td>\n <td>11454.02150</td>\n </tr>\n <tr>\n <th>320</th>\n <td>34</td>\n <td>male</td>\n <td>25.270</td>\n <td>1</td>\n <td>no</td>\n <td>northwest</td>\n <td>4894.75330</td>\n </tr>\n <tr>\n <th>575</th>\n <td>58</td>\n <td>female</td>\n <td>27.170</td>\n <td>0</td>\n <td>no</td>\n <td>northwest</td>\n <td>12222.89830</td>\n </tr>\n <tr>\n <th>756</th>\n <td>39</td>\n <td>female</td>\n <td>22.800</td>\n <td>3</td>\n <td>no</td>\n <td>northeast</td>\n <td>7985.81500</td>\n </tr>\n </tbody>\n</table>\n<p>1338 rows × 7 columns</p>\n</div>"
|
|||
|
},
|
|||
|
"metadata": {},
|
|||
|
"execution_count": 60
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"data_ins = pandas.read_csv('insurance.csv')\n",
|
|||
|
"data_ins = data_ins.sample(frac=1)\n",
|
|||
|
"data_ins"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 61,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [],
|
|||
|
"source": [
|
|||
|
"data_ins = data_ins[['age', 'charges']]\n",
|
|||
|
"data_ins_train = data_ins[0:1200]\n",
|
|||
|
"data_ins_test = data_ins[1200:]\n",
|
|||
|
"data_ins_train = np.matrix(data_ins_train).astype(float)\n",
|
|||
|
"data_ins_test = np.matrix(data_ins_test).astype(float)"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 62,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "stream",
|
|||
|
"name": "stdout",
|
|||
|
"text": [
|
|||
|
"Wielomian 1 stopnia, MSE = 164742254.38173005\n",
|
|||
|
"Wielomian 2 stopnia, MSE = 165462756.34970585\n",
|
|||
|
"Wielomian 3 stopnia, MSE = 165419346.88711548\n"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 627.802187 355.79625\" width=\"627.802187pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:06:56.575016</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 355.79625 \r\nL 627.802187 355.79625 \r\nL 627.802187 0 \r\nL 0 0 \r\nz\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 59.690625 318.24 \r\nL 612.650625 318.24 \r\nL 612.650625 7.2 \r\nL 59.690625 7.2 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"m5cc4cb12cf\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#pf2d1c4044a)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"307.569246\" xlink:href=\"#m5cc4cb12cf\" y=\"300.631599\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"294.857522\" xlink:href=\"#m5cc4cb12cf\" y=\"300.372796\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"336.170625\" xlink:href=\"#m5cc4cb12cf\" y=\"291.181743\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"345.704418\" xlink:href=\"#m5cc4cb12cf\" y=\"285.443418\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.263039\" xlink:href=\"#m5cc4cb12cf\" y=\"243.947258\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.992694\" xlink:href=\"#m5cc4cb12cf\" y=\"227.270209\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"307.569246\" xlink:href=\"#m5cc4cb12cf\" y=\"301.690094\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.949935\" xlink:href=\"#m5cc4cb12cf\" y=\"277.205487\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"301.213384\" xlink:href=\"#m5cc4cb12cf\" y=\"302.7688\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#m5cc4cb12cf\" y=\"144.137444\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"358.416142\" xlink:href=\"#m5cc4cb12cf\" y=\"120.381133\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"272.612004\" xlink:href=\"#m5cc4cb12cf\" y=\"310.907638\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#m5cc4cb12cf\" y=\"270.206399\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#m5cc4cb12cf\" y=\"310.449225\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.263039\" xlink:href=\"#m5cc4cb12cf\" y=\"77.667515\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"291.679591\" xlink:href=\"#m5cc4cb12cf\" y=\"311.422758\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"383.839591\" xlink:href=\"#m5cc4cb12cf\" y=\"257.127803\"
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAnMAAAFkCAYAAABLi72wAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAABhY0lEQVR4nO3deZyU1Z3v8c/pfQVk37rbDSVoXBGaxGzquBBNjAu4NDK53vFO1EzESUbM3HtnXpNMJJmJGTNqEl/M3CAoi4iKiiEaNQkzNAgqiopCjEU3u6zN0vu5f5wquuh+quqp6lq7v+/Xq1/d/dTz1HOqCvDnOef3+xlrLSIiIiKSm/IyPQARERERSZyCOREREZEcpmBOREREJIcpmBMRERHJYQrmRERERHKYgjkRERGRHFaQ6QGk29ChQ+3JJ5+c6WGIiKRGYyPs2hX58ZEjYcyY9I1HRHxbv379p9baYfFe1++CuZNPPpl169ZlehgiIqkxdy7ccw8cOdLzsfJy+OEP4fbb0z4sEYnNGBNI5Dots4qIpENTkwu07rvPfW9qSs19pk+HvAj/tOflucdFpE/pdzNzIiJpt2oVTJ0KnZ1uxqy8HO69F1asgIsvTu69Kivd83a/X16eO15Rkdz7iUjGKZgTEUmlpiYXWIXPxIWWQKdOhe3bkx9gXXyxe97Fi2HLFjj9dDcjp0BOpE9SMCcikkqLF7sZMi+dne7xVOxhq6jQ3jiRfkJ75kREUmnzZu9kBHDHt2xJ73h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UgZs9/H21pAhvX8OETmBgjkR6Z+amlzwEr6vrLcb9UM
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 627.802187 355.79625\" width=\"627.802187pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:06:56.752013</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 355.79625 \r\nL 627.802187 355.79625 \r\nL 627.802187 0 \r\nL 0 0 \r\nz\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 59.690625 318.24 \r\nL 612.650625 318.24 \r\nL 612.650625 7.2 \r\nL 59.690625 7.2 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"m5e77661ebf\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#p6d50a4ac4e)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"307.569246\" xlink:href=\"#m5e77661ebf\" y=\"300.631599\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"294.857522\" xlink:href=\"#m5e77661ebf\" y=\"300.372796\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"336.170625\" xlink:href=\"#m5e77661ebf\" y=\"291.181743\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"345.704418\" xlink:href=\"#m5e77661ebf\" y=\"285.443418\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.263039\" xlink:href=\"#m5e77661ebf\" y=\"243.947258\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.992694\" xlink:href=\"#m5e77661ebf\" y=\"227.270209\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"307.569246\" xlink:href=\"#m5e77661ebf\" y=\"301.690094\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.949935\" xlink:href=\"#m5e77661ebf\" y=\"277.205487\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"301.213384\" xlink:href=\"#m5e77661ebf\" y=\"302.7688\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#m5e77661ebf\" y=\"144.137444\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"358.416142\" xlink:href=\"#m5e77661ebf\" y=\"120.381133\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"272.612004\" xlink:href=\"#m5e77661ebf\" y=\"310.907638\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#m5e77661ebf\" y=\"270.206399\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#m5e77661ebf\" y=\"310.449225\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.263039\" xlink:href=\"#m5e77661ebf\" y=\"77.667515\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"291.679591\" xlink:href=\"#m5e77661ebf\" y=\"311.422758\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"383.839591\" xlink:href=\"#m5e77661ebf\" y=\"257.127803\"
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAnMAAAFkCAYAAABLi72wAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAABneklEQVR4nO3dd5iU1d3/8ffZXgHpsICCooioiNgSY48FNcaKJQETn5iomIgxij4pzy8xiiYWjGI0aMQkKoioRDFEIxpJVAQVBZUiglSpwrB9d87vjzPjDss9dafufl7XNdfM3nPP3Gd2BD6e8j3GWouIiIiI5Ka8TDdARERERBKn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AcQY4A+p+jwiIjkl1gUIrc8bNaplmDQoGM5OOgnuvhvOO88Fu9D3XrTIva6hIXybVC9Qclyz33LD04t49r11lBXl8+fLj+CoQZkNcpDCvVmNMYOAZwM/FgBPWGt/a4zpBkwHBgCrgYsCwcwA9+NWpNYA37PWBsuZfB+4JfBev7XW/jlwfCTwGFCKW/hwrY3ygbQ3q4i0e149a3l5e/aseZ3X3Oyeq6vzfu/CQmhshJISd055ORjjXldbG7ld2mNXclhTs5+fPr2I599fT1lRPo9970iOHNg1qddIdG/WlIW5bKUwJyLtms8HVVXec9xCw1Sk85KtqAiKi7WaVXJWU7Of8dMX8fdF6ykvymfq949k5D7JDXKQeJjTDhAiIu1JrAsQIp2XbCef7EKkgpzkoIYmPz9+6j3+vmg9FcUFPH5FaoJcW2SizpyIiKTK8uWxLUCIdF4
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"355.79625pt\" version=\"1.1\" viewBox=\"0 0 627.802187 355.79625\" width=\"627.802187pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:06:56.930014</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 355.79625 \r\nL 627.802187 355.79625 \r\nL 627.802187 0 \r\nL 0 0 \r\nz\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 59.690625 318.24 \r\nL 612.650625 318.24 \r\nL 612.650625 7.2 \r\nL 59.690625 7.2 \r\nz\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\nC 0.937635 3.535534 1.836992 3.163008 2.5 2.5 \r\nC 3.163008 1.836992 3.535534 0.937635 3.535534 0 \r\nC 3.535534 -0.937635 3.163008 -1.836992 2.5 -2.5 \r\nC 1.836992 -3.163008 0.937635 -3.535534 0 -3.535534 \r\nC -0.937635 -3.535534 -1.836992 -3.163008 -2.5 -2.5 \r\nC -3.163008 -1.836992 -3.535534 -0.937635 -3.535534 0 \r\nC -3.535534 0.937635 -3.163008 1.836992 -2.5 2.5 \r\nC -1.836992 3.163008 -0.937635 3.535534 0 3.535534 \r\nz\r\n\" id=\"mdf3fa7425a\" style=\"stroke:#ff0000;\"/>\r\n </defs>\r\n <g clip-path=\"url(#pd915e1e571)\">\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"307.569246\" xlink:href=\"#mdf3fa7425a\" y=\"300.631599\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"294.857522\" xlink:href=\"#mdf3fa7425a\" y=\"300.372796\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"336.170625\" xlink:href=\"#mdf3fa7425a\" y=\"291.181743\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"345.704418\" xlink:href=\"#mdf3fa7425a\" y=\"285.443418\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.263039\" xlink:href=\"#mdf3fa7425a\" y=\"243.947258\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"332.992694\" xlink:href=\"#mdf3fa7425a\" y=\"227.270209\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"307.569246\" xlink:href=\"#mdf3fa7425a\" y=\"301.690094\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"367.949935\" xlink:href=\"#mdf3fa7425a\" y=\"277.205487\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"301.213384\" xlink:href=\"#mdf3fa7425a\" y=\"302.7688\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#mdf3fa7425a\" y=\"144.137444\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"358.416142\" xlink:href=\"#mdf3fa7425a\" y=\"120.381133\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"272.612004\" xlink:href=\"#mdf3fa7425a\" y=\"310.907638\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#mdf3fa7425a\" y=\"270.206399\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"278.967866\" xlink:href=\"#mdf3fa7425a\" y=\"310.449225\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"409.263039\" xlink:href=\"#mdf3fa7425a\" y=\"77.667515\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"291.679591\" xlink:href=\"#mdf3fa7425a\" y=\"311.422758\"/>\r\n <use style=\"fill:#ff0000;stroke:#ff0000;\" x=\"383.839591\" xlink:href=\"#mdf3fa7425a\" y=\"257.127803\"
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAnMAAAFkCAYAAABLi72wAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAABqcElEQVR4nO3dd5yU1dn/8c/ZXulViog0ERtgi9iwo8ZEVBJNJAZjHgWjGBPR5ImJMYom6oNRjP4wEWPDgoqKIRYsJCqCSq+iyNI7A9t3z++PM+MOy/Sduvt9v177mt177rnvMzsCl+ec67qMtRYRERERyUxZqR6AiIiIiMROwZyIiIhIBlMwJyIiIpLBFMyJiIiIZDAFcyIiIiIZTMGciIiISAbLSfUAkq1Dhw62V69eqR6GiEhilJXB5s3Bn+/SBbp1S954RORbeypqWLujnCxj6Ne5lNxss9/z8+fP32at7RjtdVtcMNerVy/mzZuX6mGIiCTGlClw442wb9+BzxUXw513wpgxSR+WSEu3p7KGM+97n2pPFXdcdDhXntjrgHOMMWtjubaWWUVEksHjcYHWLbe4R48nMfcZNQqygvzVnpXlnheRpPvzv1awxVPFMT3bcMXxB8f12i1uZk5EJOnmzIERI6C+3s2YFRfDTTfBzJkwbFh871Va6q7b+H5ZWe54SUl87yciYc1fu5OnPllLTpbh7ouPIDvLhH9RFBTMiYgkksfjAiv/mTjfEuiIEbBhQ/wDrGHD3HWnTYPVq6FPHzcjp0BOJOlq6uq5bfoirIWfndqbAV1axf0eCuZERBJp2jQ3QxZIfb17PhF72EpKtDdOJA089sEaVmz2cHD7Im44o29C7qE9cyIiibRqVeBkBHDHV69O7nhEJGm+3raPSe+sAuBP3zuCgtzshNxHwZyISCL17ev2rAVSXOyWQEWk2bHW8ptXFlFdW8/3j+nGsL4dEnYvBXMiIomk7FKRFunlz9fzn9XbaVOUy2/PPyyh91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TkRERFoEay23Tl/E9n3VnNi7PT/5Tq9UDykuFMyJiIhIi/DSZ+t5a+lmSvNz+MtlR5GVZVI9pLhQMCciIiLNXtnOcv4wYwkAt3/3cLq1KUzxiOInJ9UDEBGRNOfxwLRpsGoV9O0Lo0ZBaebvM5KWo77e8qsXFuKpquWcwzszcnC3VA8prhTMiYhIcHPmwIgRUF8P+/ZBcTHcdBPMnAnDhqV6dCIR+cd/v+ajNdvpUJLHXd8/AmOax/Kqj5ZZRUQkMI/HBXIejwvkwD36ju/dm9rxiURg1WYP9/xrOQB3ff8I2pfkp3hE8adgTkREAps2zc3IBVJf754XSWM1dfXc9PwCqmvruXRId84+vEuqh5QQCuZERCSwVasaZuQa27cPVq9O7nhEovTQu6tZtH433doU8rsLB6Z6OAmjYE5ERALr29ftkQukuBj6ZHYLJGneFqzbxUOzV2MM/OXSoygtyE31kBJGwZyIiAQ2ahRkBflnIivLPS+Shipr6hj//BfU1VvGnHQIJx7aPtVDSihls4pIelEZjPRRWuqyVhtns2ZlueMlJakeoUhAE99czpqt++jbqYSbz+mf6uEknII5EUkfKoORfoYNgw0bXIC9erVbWh01SoGcpK23lm7mif9+TU6W4f7LjqYgNzvVQ0o4BXMikh78y2D4+DbfjxjhAgoFEKlRUgJjxqR6FCJhrdtRzi+f/wKAX5/bnyO6t07tgJJEe+ZEJD2oDIaINEF1bT3jnv2cPZW1nDGgE1cP653qISWNgjkRSQ8qgyEiTTDxzeUsWLeLbm0Kue+yo8jKal5dHkJRMCci6UFlMEQkRv9avIm//+crcrIMf738GNoU5aV6SEm
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"cost_fun_slices = []\n",
|
|||
|
"\n",
|
|||
|
"for n in range(1, 4):\n",
|
|||
|
" plot_and_mse(data_ins_train, data_ins_test, n)\n",
|
|||
|
" \n",
|
|||
|
" cost_data = cost_functions.get(n)\n",
|
|||
|
" cost_x = [line[1] for line in cost_data[:250]]\n",
|
|||
|
" cost_y = [line[0] for line in cost_data[:250]]\n",
|
|||
|
" cost_fun_slices.append((cost_x, cost_y))"
|
|||
|
]
|
|||
|
},
|
|||
|
{
|
|||
|
"cell_type": "code",
|
|||
|
"execution_count": 63,
|
|||
|
"metadata": {},
|
|||
|
"outputs": [
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 613.485 366.394687\" width=\"613.485pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:06:57.375013</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 613.485 366.394687 \r\nL 613.485 0 \r\nL 0 0 \r\nz\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 43.78125 328.838437 \r\nL 596.74125 328.838437 \r\nL 596.74125 17.798437 \r\nL 43.78125 17.798437 \r\nz\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\nL 0 3.5 \r\n\" id=\"mce9172e3ee\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"45.984278\" xlink:href=\"#mce9172e3ee\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(42.803028 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"156.135672\" xlink:href=\"#mce9172e3ee\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(149.773172 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38.140625 10.79687
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmUAAAFvCAYAAAAL/LzcAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAXLklEQVR4nO3de7BlZXkn4N8roBhFnZEey+ISLAcT0RI07Y0QBzUxQDlBM0YlxngnKl4y5SRiJhEr80dMWRqTiWBhwqCOgWK8RMogODFGjPeGICCGhHiJoNgojuCYMQH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NZVW1J8qIkR6zcvrufP7+yAACWyywD9t+f5GNJ/jzJ7fMtBwBgOc0Syn6ku18990oAAJbYLAP9P1BVJ829EgCAJTZLKHtlJsHsH6vqlqq6tapumXdhAADLZJa7Lw/aiEIAAJbZLHdfPm5X7d196fqXAwCwnGYZ6P9rK94fmORRSS5L8oS5VAQAsIRmuXz5H1cuV9VhSd48r4IAAJbRLAP9d3Z9kgevdyEAAMtsljFl/z1JTxfvkuSYJJfPsSYAgKUzy5iybSve35bkvO7++JzqAQBYSquGsqr6cHc/MclRZvQHAJivtc6U3b+qjk3yc1V1fpJaubK7XcIEAFgna4Wy1yb5rSSHJnnTTus6psQAAFg3q4ay7n53kndX1W9193/bwJoAAJbObqfEEMgAAOZvb+YpAwBgnQllAAAD2G0oq6p3ztIGAMDem+VM2UNWLlTVfkl+Yj7lAAAsp1VDWVW9pqpuTfKwqrpl+ro1yfYk79+wCgEAlsCqoay7f6e7D0ryhu6
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 613.485 366.394687\" width=\"613.485pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:06:57.669013</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 613.485 366.394687 \r\nL 613.485 0 \r\nL 0 0 \r\nz\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 43.78125 328.838437 \r\nL 596.74125 328.838437 \r\nL 596.74125 17.798437 \r\nL 43.78125 17.798437 \r\nz\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\nL 0 3.5 \r\n\" id=\"mc0829b05e7\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"45.984278\" xlink:href=\"#mc0829b05e7\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(42.803028 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"156.135672\" xlink:href=\"#mc0829b05e7\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(149.773172 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38.140625 10.79687
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmUAAAFvCAYAAAAL/LzcAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAXIklEQVR4nO3de7RmZX0f8O9PQDGI2srU5eKSsRYT0QoavKGxeKkBlgmaZVRijXei4iWNTcQ0EVfyR8xyabSNYDGhqDWwqJfIsgg0xojxPhAExJBQLxEUZ5RWsKYm4K9/vO8kh3HOOe8M5z3nOfN+Pmuddd797Mv7Gx728GXvZz+7ujsAAGysu2x0AQAACGUAAEMQygAABiCUAQAMQCgDABiAUAYAMIBNGcqq6pyq2l5V18yw7RFV9bGq+suquqqqTlqPGgEA9sSmDGVJzk1ywozb/maSC7r7YUmeneTMeRUFALC3NmUo6+7Lkty8tK2qHlBVF1fV5VX1iar6yZ2bJ7nn9PO9knxjHUsFAJjJ/htdwBo6O8lLu/tvqupRmVwRe2KSNyS5tKpemeSgJE/euBIBAHZvnwhlVXWPJMcl+e9VtbP5btPfpyQ5t7vfXFWPSfKeqnpId/9wA0oFANitfSKUZXIb9v909zG7WfeiTMefdfenq+rAJIck2b5+5QEArGxTjinbVXffkuQrVfULSVITR09X/22SJ03bH5TkwCQ7NqRQAIBlVHdvdA17rKrOS3J8Jle8vpXkjCR/luSsJPdLckCS87v7t6vqqCTvTHKPTAb9/3p3X7oRdQMALGdThjIAgH3NPnH7EgBgsxPKAAAGsOmevjzkkEN669atG10GAMAdXH755d/u7i17u/+mC2Vbt27Ntm3bNroMAIA7qKqv3Zn93b4EABiAUAYAMAChDABgAEIZAMAAhDIAgAEIZQAAAxDKAAAGIJQBAAxAKAMAGIBQBgAwAKEMAGAAQhkAwACEMgCAAQhlAAADEMoAA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mXOrCABgAc3y9OUPkrxl+gMAwBwsG8qq6oLufmZVXZ3Juy7voLsfOtfKAAAWyEpXyl49/f3U9SgEAGCRLfv0ZXd/c/rx5d39taU/SV6+PuUBACyGWabE+Le7aTtxrQsBAFhkK40pe1kmV8QeUFVXLVl1cJJPzbswAIBFstKYsj9O8pEkv5vk9CXtt3b3zXOtCgBgwaw0puy73f3VJG9LcvOS8WS3VdWj1qtAAIBFMMuYsrOSfG/J8vembQAArJFZQll19z/OU9bdP8xsbwIAAGBGs4SyL1fVq6rqgOnPq5N8ed6FAQAskllC2UuTHJfkxiQ3JHlUklPnWRQAwKKZ5d2X25M8ex1qAQBYWKuGsqrakuQlSbYu3b67Xzi/sgAAFsssA/Y/lOQTSf40ye3zLQcAYDHNEsp+rLtfO/dKAAAW2CwD/T9cVSfNvRIAgAU2Syh7dSbB7O+q6paqurWqbpl3YQAAi2SWpy8PXo9CAAAW2SxPXz5+d+3dfdnalwMAsJhmGej/a0s+H5jkkUkuT/LEuVQEALCAZrl9+bNLl6vq8CRvnVdBAACLaJaB/ru6IcmD1roQAIBFNsuYsv+cpKeLd0lyTJIr5lgTAMDCmWVM2bYln29Lcl53f3JO9QAALKRlQ1lVfbS7n5TkKDP6AwDM10pXyu5XVccl+bmqOj9JLV3Z3W5hAgCskZVC2euT/FaSw5K8ZZd1HVNiAACsmWVDWXe/L8n7quq3uvt31rEmAICFs+qUGAIZAMD87c08ZQAArDGhDABgAKuGsqp6zyxtAADsvVmulD146UJV7Zfkp+ZTDgDAYlo2lFXV66rq1iQPrapbpj+3Jtme5EPrViEAwAJYNpR19+9298FJ3tTd95z+HNzd9+nu161jjQA
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
},
|
|||
|
{
|
|||
|
"output_type": "display_data",
|
|||
|
"data": {
|
|||
|
"text/plain": "<Figure size 691.2x388.8 with 1 Axes>",
|
|||
|
"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=\"366.394687pt\" version=\"1.1\" viewBox=\"0 0 613.485 366.394687\" width=\"613.485pt\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\">\r\n <metadata>\r\n <rdf:RDF xmlns:cc=\"http://creativecommons.org/ns#\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\r\n <cc:Work>\r\n <dc:type rdf:resource=\"http://purl.org/dc/dcmitype/StillImage\"/>\r\n <dc:date>2022-06-20T19:06:57.964014</dc:date>\r\n <dc:format>image/svg+xml</dc:format>\r\n <dc:creator>\r\n <cc:Agent>\r\n <dc:title>Matplotlib v3.3.4, https://matplotlib.org/</dc:title>\r\n </cc:Agent>\r\n </dc:creator>\r\n </cc:Work>\r\n </rdf:RDF>\r\n </metadata>\r\n <defs>\r\n <style type=\"text/css\">*{stroke-linecap:butt;stroke-linejoin:round;}</style>\r\n </defs>\r\n <g id=\"figure_1\">\r\n <g id=\"patch_1\">\r\n <path d=\"M 0 366.394687 \r\nL 613.485 366.394687 \r\nL 613.485 0 \r\nL 0 0 \r\nz\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 43.78125 328.838437 \r\nL 596.74125 328.838437 \r\nL 596.74125 17.798437 \r\nL 43.78125 17.798437 \r\nz\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\nL 0 3.5 \r\n\" id=\"m1d2da14d7e\" style=\"stroke:#000000;stroke-width:0.8;\"/>\r\n </defs>\r\n <g>\r\n <use style=\"stroke:#000000;stroke-width:0.8;\" x=\"45.984278\" xlink:href=\"#m1d2da14d7e\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_1\">\r\n <!-- 0 -->\r\n <g transform=\"translate(42.803028 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 31.78125 66.40625 \r\nQ 24.171875 66.40625 20.328125 58.90625 \r\nQ 16.5 51.421875 16.5 36.375 \r\nQ 16.5 21.390625 20.328125 13.890625 \r\nQ 24.171875 6.390625 31.78125 6.390625 \r\nQ 39.453125 6.390625 43.28125 13.890625 \r\nQ 47.125 21.390625 47.125 36.375 \r\nQ 47.125 51.421875 43.28125 58.90625 \r\nQ 39.453125 66.40625 31.78125 66.40625 \r\nz\r\nM 31.78125 74.21875 \r\nQ 44.046875 74.21875 50.515625 64.515625 \r\nQ 56.984375 54.828125 56.984375 36.375 \r\nQ 56.984375 17.96875 50.515625 8.265625 \r\nQ 44.046875 -1.421875 31.78125 -1.421875 \r\nQ 19.53125 -1.421875 13.0625 8.265625 \r\nQ 6.59375 17.96875 6.59375 36.375 \r\nQ 6.59375 54.828125 13.0625 64.515625 \r\nQ 19.53125 74.21875 31.78125 74.21875 \r\nz\r\n\" id=\"DejaVuSans-48\"/>\r\n </defs>\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=\"156.135672\" xlink:href=\"#m1d2da14d7e\" y=\"328.838437\"/>\r\n </g>\r\n </g>\r\n <g id=\"text_2\">\r\n <!-- 50 -->\r\n <g transform=\"translate(149.773172 343.436875)scale(0.1 -0.1)\">\r\n <defs>\r\n <path d=\"M 10.796875 72.90625 \r\nL 49.515625 72.90625 \r\nL 49.515625 64.59375 \r\nL 19.828125 64.59375 \r\nL 19.828125 46.734375 \r\nQ 21.96875 47.46875 24.109375 47.828125 \r\nQ 26.265625 48.1875 28.421875 48.1875 \r\nQ 40.625 48.1875 47.75 41.5 \r\nQ 54.890625 34.8125 54.890625 23.390625 \r\nQ 54.890625 11.625 47.5625 5.09375 \r\nQ 40.234375 -1.421875 26.90625 -1.421875 \r\nQ 22.3125 -1.421875 17.546875 -0.640625 \r\nQ 12.796875 0.140625 7.71875 1.703125 \r\nL 7.71875 11.625 \r\nQ 12.109375 9.234375 16.796875 8.0625 \r\nQ 21.484375 6.890625 26.703125 6.890625 \r\nQ 35.15625 6.890625 40.078125 11.328125 \r\nQ 45.015625 15.765625 45.015625 23.390625 \r\nQ 45.015625 31 40.078125 35.4375 \r\nQ 35.15625 39.890625 26.703125 39.890625 \r\nQ 22.75 39.890625 18.8125 39.015625 \r\nQ 14.890625 38.140625 10.79687
|
|||
|
"image/png": "iVBORw0KGgoAAAANSUhEUgAAAmUAAAFvCAYAAAAL/LzcAAAAOXRFWHRTb2Z0d2FyZQBNYXRwbG90bGliIHZlcnNpb24zLjMuNCwgaHR0cHM6Ly9tYXRwbG90bGliLm9yZy8QVMy6AAAACXBIWXMAAAsTAAALEwEAmpwYAAAXIklEQVR4nO3de7RmZX0f8O9PQDGI2srU5eKSsRYT0QoavKGxeKkBlgmaZVRijXei4iWNTcQ0EVfyR8xyabSNYDGhqDWwqJfIsgg0xojxPhAExJBQLxEUZ5RWsKYm4K9/vO8kh3HOOe8M5z3nOfN+Pmuddd797Mv7Gx728GXvZz+7ujsAAGysu2x0AQAACGUAAEMQygAABiCUAQAMQCgDABiAUAYAMIBNGcqq6pyq2l5V18yw7RFV9bGq+suquqqqTlqPGgEA9sSmDGVJzk1ywozb/maSC7r7YUmeneTMeRUFALC3NmUo6+7Lkty8tK2qHlBVF1fV5VX1iar6yZ2bJ7nn9PO9knxjHUsFAJjJ/htdwBo6O8lLu/tvqupRmVwRe2KSNyS5tKpemeSgJE/euBIBAHZvnwhlVXWPJMcl+e9VtbP5btPfpy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hAgCskZVC2euT/FaSw5K8ZZd1HVNiAACsmWVDWXe/L8n7quq3uvt31rEmAICFs+qUGAIZAMD87c08ZQAArDGhDABgAKuGsqp6zyxtAADsvVmulD146UJV7Zfkp+ZTDgDAYlo2lFXV66rq1iQPrapbpj+3Jtme5EPrViEAwAJYNpR19+9298FJ3tTd95z+HNzd9+nu161jjQA
|
|||
|
},
|
|||
|
"metadata": {
|
|||
|
"needs_background": "light"
|
|||
|
}
|
|||
|
}
|
|||
|
],
|
|||
|
"source": [
|
|||
|
"#WYKRESY FUNKCJI KOSZTU\n",
|
|||
|
"for fig in cost_fun_slices:\n",
|
|||
|
" cost_x, cost_y = fig\n",
|
|||
|
" fig = plot_data_cost(cost_x, cost_y, \"Iteration\", \"Cost function value\")"
|
|||
|
]
|
|||
|
}
|
|||
|
],
|
|||
|
"metadata": {
|
|||
|
"author": "Paweł Skórzewski",
|
|||
|
"celltoolbar": "Slideshow",
|
|||
|
"email": "pawel.skorzewski@amu.edu.pl",
|
|||
|
"kernelspec": {
|
|||
|
"name": "python3",
|
|||
|
"display_name": "Python 3.9.5 64-bit",
|
|||
|
"metadata": {
|
|||
|
"interpreter": {
|
|||
|
"hash": "ac59ebe37160ed0dfa835113d9b8498d9f09ceb179beaac4002f036b9467c963"
|
|||
|
}
|
|||
|
}
|
|||
|
},
|
|||
|
"lang": "pl",
|
|||
|
"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.9.5-final"
|
|||
|
},
|
|||
|
"livereveal": {
|
|||
|
"start_slideshow_at": "selected",
|
|||
|
"theme": "white"
|
|||
|
},
|
|||
|
"subtitle": "5.Regresja wielomianowa. Problem nadmiernego dopasowania[wykład]",
|
|||
|
"title": "Uczenie maszynowe",
|
|||
|
"year": "2021"
|
|||
|
},
|
|||
|
"nbformat": 4,
|
|||
|
"nbformat_minor": 4
|
|||
|
}
|