-
-
Notifications
You must be signed in to change notification settings - Fork 2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
I cannot seem to find euclidean distance as a metric for KNN
I checked the example file "02_classification_univariate.ipynb"
To Reproduce
from sktime.classification.distance_based._time_series_neighbors import KNeighborsTimeSeriesClassifier
knn = KNeighborsTimeSeriesClassifier(n_neighbors=1, metric="euclidean")
ValueError: Unrecognised distance measure: euclidean. Allowed values are names from [dtw,ddtw,wdtw,wddtw,lcss,erp,msm] or please pass a callable distance measure into the constuctor directly.Expected behavior
Euclidean distance should be implemented
Versions
Details
System:
python: 3.7.4 (tags/v3.7.4:e09359112e, Jul 8 2019, 20:34:20) [MSC v.1916 64 bit (AMD64)]
machine: Windows-10-10.0.18362-SP0
Python dependencies:
pip: 20.3.1
setuptools: 50.3.2
sklearn: 0.23.2
numpy: 1.19.4
scipy: 1.5.4
Cython: 0.29.21
pandas: 1.1.5
matplotlib: 3.3.3
joblib: 1.0.0
numba: 0.52.0
pmdarima: None
tsfresh: 0.17.0
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
