Update 15_2_Wasserstein_Distance.ipynb

Scaling of the distance matrix was not mentioned in the book.
This commit is contained in:
aleksandrskoselevs
2024-10-22 12:11:15 +02:00
committed by GitHub
parent d101aa428b
commit be86733a93

View File

@@ -86,6 +86,8 @@
"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",
"# Replace this line\n",
"dist_mat = np.zeros((10,10))\n",
"\n",