deleted redundant data
This commit is contained in:
parent
a9598fcea3
commit
2537aa9624
@ -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": {},
|
||||
|
Loading…
Reference in New Issue
Block a user