Update 13_3_Neighborhood_Sampling.ipynb

This commit is contained in:
udlbook
2023-12-20 15:30:40 -05:00
committed by GitHub
parent 76498f8ef9
commit 337d6cd544

View File

@@ -268,7 +268,7 @@
"source": [ "source": [
"# TODO Find the nodes in hidden layer 1 that connect to the nodes in hidden layer 2\n", "# TODO Find the nodes in hidden layer 1 that connect to the nodes in hidden layer 2\n",
"# using the adjacency matrix. Then sample n_sample of these nodes randomly without\n", "# using the adjacency matrix. Then sample n_sample of these nodes randomly without\n",
"# replacement. Make sure not to sample nodes that were already included in hidden layer 2 our the ouput layer.\n", "# replacement. Make sure not to sample nodes that were already included in hidden layer 2 our the output layer.\n",
"# The nodes at hidden layer 1 are the union of these nodes and the nodes in hidden layer 2\n", "# The nodes at hidden layer 1 are the union of these nodes and the nodes in hidden layer 2\n",
"\n", "\n",
"# Replace this line:\n", "# Replace this line:\n",
@@ -311,4 +311,4 @@
} }
} }
] ]
} }