We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e43556d commit f6f8083Copy full SHA for f6f8083
notebooks/2_BasicModels/nearest_neighbor.ipynb
@@ -62,7 +62,7 @@
62
"# Calculate L1 Distance\n",
63
"distance = tf.reduce_sum(tf.abs(tf.add(xtr, tf.negative(xte))), reduction_indices=1)\n",
64
"# Prediction: Get min distance index (Nearest neighbor)\n",
65
- "pred = tf.arg_min(distance, 0)\n",
+ "pred = tf.argmin(distance, 0)\n",
66
"\n",
67
"accuracy = 0.\n",
68
0 commit comments