Created using Colaboratory

This commit is contained in:
udlbook
2023-10-12 18:37:05 +01:00
parent af77c76435
commit 9a3517629a

View File

@@ -4,7 +4,7 @@
"metadata": {
"colab": {
"provenance": [],
"authorship_tag": "ABX9TyPRYYQqIr5qXUiwKNtDOVqS",
"authorship_tag": "ABX9TyMz9rFbtPS4OjnNgB38OY68",
"include_colab_link": true
},
"kernelspec": {
@@ -233,7 +233,7 @@
" for c_hidden in range(1, 200):\n",
" # Iterate over different ranges of number hidden variables for different input sizes\n",
" D = int(c_hidden * 500 / D_i)\n",
" params[c_dim, c_hidden] = D_i * D +1 + D +1\n",
" params[c_dim, c_hidden] = D_i * D +D + D +1\n",
" regions[c_dim, c_hidden] = number_regions(np.min([D_i,D]), D)\n",
"\n",
"fig, ax = plt.subplots()\n",
@@ -254,6 +254,15 @@
},
"execution_count": null,
"outputs": []
},
{
"cell_type": "code",
"source": [],
"metadata": {
"id": "LRoF6zQN9b_y"
},
"execution_count": null,
"outputs": []
}
]
}