Update 15_2_Wasserstein_Distance.ipynb

This commit is contained in:
aleksandrskoselevs
2024-10-30 09:19:22 +01:00
committed by GitHub
parent be86733a93
commit 1adb96e006

View File

@@ -86,8 +86,7 @@
"cell_type": "code",
"source": [
"# TODO Define the distance matrix from figure 15.8d\n",
"# Each element (i, j) in the distance matrix represents the absolute difference between positions i and j,\n",
"# scaled by the maximum possible distance to ensure the values lie within [0, 1].\n",
"# The index should be normalized before being used in the distance calculation.\n",
"# Replace this line\n",
"dist_mat = np.zeros((10,10))\n",
"\n",