deleted redundant data

This commit is contained in:
patrycjalazna 2021-06-27 19:02:16 +02:00
parent a9598fcea3
commit 2537aa9624

View File

@ -532,35 +532,6 @@
"plot_cost_function(logs_5)" "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", "cell_type": "markdown",
"metadata": {}, "metadata": {},