Update 15_2_Wasserstein_Distance.ipynb
This commit is contained in:
committed by
GitHub
parent
be86733a93
commit
1adb96e006
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user