Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ab935c

Browse files
committed
Add scikit-learn to dependencies.
1 parent 7bab4ae commit 7ab935c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

README.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ Example
3939
4040
from sdtw import SoftDTW
4141
from sdtw.distance import SquaredEuclidean
42-
42+
4343
# Time series 1: numpy array, shape = [m, d] where m = length and d = dim
4444
X = ...
4545
# Time series 2: numpy array, shape = [n, d] where n = length and d = dim
4646
Y = ...
47-
47+
4848
# D can also be an arbitrary distance matrix: numpy array, shape [m, n]
4949
D = SquaredEuclidean(X, Y)
5050
sdtw = SoftDTW(D, gamma=1.0)
@@ -74,12 +74,12 @@ or, if `git` is unavailable, `download as a ZIP from GitHub <https://github.com/
7474

7575
# via pip
7676

77-
pip install numpy scipy cython nose
77+
pip install numpy scipy scikit-learn cython nose
7878

7979

8080
# via conda
8181

82-
conda install numpy scipy cython nose
82+
conda install numpy scipy scikit-learn cython nose
8383

8484

8585
3. Build and install soft-dtw::

0 commit comments

Comments
 (0)