Update 13_2_Graph_Classification.ipynb

This commit is contained in:
udlbook
2023-12-20 14:43:21 -05:00
committed by GitHub
parent 7e264f5310
commit 97d738d408

View File

@@ -191,7 +191,7 @@
"source": [ "source": [
"# Let's test this network\n", "# Let's test this network\n",
"f = graph_neural_network(A,X, Omega0, beta0, Omega1, beta1, Omega2, beta2, omega3, beta3)\n", "f = graph_neural_network(A,X, Omega0, beta0, Omega1, beta1, Omega2, beta2, omega3, beta3)\n",
"print(\"Your value is %3f: \"%(f[0,0]), \"True value of f: 0.498010\")" "print(\"Your value is %3f: \"%(f[0,0]), \"True value of f: 0.310843\")"
], ],
"metadata": { "metadata": {
"id": "X7gYgOu6uIAt" "id": "X7gYgOu6uIAt"
@@ -221,7 +221,7 @@
"X_permuted = np.copy(X)\n", "X_permuted = np.copy(X)\n",
"\n", "\n",
"f = graph_neural_network(A_permuted,X_permuted, Omega0, beta0, Omega1, beta1, Omega2, beta2, omega3, beta3)\n", "f = graph_neural_network(A_permuted,X_permuted, Omega0, beta0, Omega1, beta1, Omega2, beta2, omega3, beta3)\n",
"print(\"Your value is %3f: \"%(f[0,0]), \"True value of f: 0.498010\")" "print(\"Your value is %3f: \"%(f[0,0]), \"True value of f: 0.310843\")"
], ],
"metadata": { "metadata": {
"id": "F0zc3U_UuR5K" "id": "F0zc3U_UuR5K"