Skip to content
Snippets Groups Projects
Commit 6fe6d24d authored by thibault.capt's avatar thibault.capt
Browse files

update

parent e35f4487
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ def import_csv(filename: str, h: int or None) -> pd.DataFrame: ...@@ -21,7 +21,7 @@ def import_csv(filename: str, h: int or None) -> pd.DataFrame:
def manhattan_distance(x1: np.ndarray, x2: np.ndarray) -> float: def manhattan_distance(x1: np.ndarray, x2: np.ndarray) -> float:
""" """
Calcule la distance de Manhattan (L1) entre deux vecteurs. Calcule la distance de Manhattan (L2) entre deux vecteurs.
Args: Args:
x1 (numpy.ndarray): Le premier vecteur. x1 (numpy.ndarray): Le premier vecteur.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment