From 1adb96e00619a4fd935fb660257e3c471b6f38a9 Mon Sep 17 00:00:00 2001 From: aleksandrskoselevs <111278851+aleksandrskoselevs@users.noreply.github.com> Date: Wed, 30 Oct 2024 09:19:22 +0100 Subject: [PATCH] Update 15_2_Wasserstein_Distance.ipynb --- Notebooks/Chap15/15_2_Wasserstein_Distance.ipynb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Notebooks/Chap15/15_2_Wasserstein_Distance.ipynb b/Notebooks/Chap15/15_2_Wasserstein_Distance.ipynb index 9f70e26..9384399 100644 --- a/Notebooks/Chap15/15_2_Wasserstein_Distance.ipynb +++ b/Notebooks/Chap15/15_2_Wasserstein_Distance.ipynb @@ -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",