diff --git a/Polynomial Regression.ipynb b/Polynomial Regression.ipynb index cb73bd2..36f9f60 100644 --- a/Polynomial Regression.ipynb +++ b/Polynomial Regression.ipynb @@ -532,35 +532,6 @@ "plot_cost_function(logs_5)" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "## 5. Reprezentacja graficzna funkcji kosztu" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "def plot_cost_function(logs):\n", - " no_iter = no_iter = [x for x in range(1, len(logs) + 1)]\n", - " all_cost = [row[0] for row in logs]\n", - " plt.plot(no_iter, all_cost)" - ] - }, - { - "cell_type": "code", - "execution_count": null, - "metadata": {}, - "outputs": [], - "source": [ - "# MBGD\n", - "plot_cost_function(logs_2)" - ] - }, { "cell_type": "markdown", "metadata": {},