Skip to content

Commit 42a56cc

Browse files
committed
docs now refer to main instead of master
1 parent 530a20a commit 42a56cc

File tree

5 files changed

+14
-4
lines changed

5 files changed

+14
-4
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@ and this project adheres to
88

99
Changelogs for this project are recorded in this file since v0.2.0.
1010

11+
## [v0.5.2]
12+
13+
### Changed
14+
15+
* In docs, change references to `master` branch to `main` branch.
16+
1117
## [v0.5.0]
1218

1319
### Changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
There are different alternatives to install tslearn:
4646
* PyPi: `python -m pip install tslearn`
4747
* Conda: `conda install -c conda-forge tslearn`
48-
* Git: `python -m pip install https://github.com/tslearn-team/tslearn/archive/master.zip`
48+
* Git: `python -m pip install https://github.com/tslearn-team/tslearn/archive/main.zip`
4949

5050
In order for the installation to be successful, the required dependencies must be installed. For a more detailed guide on how to install tslearn, please see the [Documentation](https://tslearn.readthedocs.io/en/stable/?badge=stable#installation).
5151

docs/installation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ repository hosted at github:
3131

3232
.. code-block:: bash
3333
34-
python -m pip install https://github.com/tslearn-team/tslearn/archive/master.zip
34+
python -m pip install https://github.com/tslearn-team/tslearn/archive/main.zip
3535
3636
In this case, you should have ``numpy``, ``cython`` and C++ build tools
3737
available at build time.

tslearn/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import os
22

33
__author__ = 'Romain Tavenard romain.tavenard[at]univ-rennes2.fr'
4-
__version__ = "0.5.1.0"
4+
__version__ = "0.5.2"
55
__bibtex__ = r"""@article{JMLR:v21:20-091,
66
author = {Romain Tavenard and Johann Faouzi and Gilles Vandewiele and
77
Felix Divo and Guillaume Androz and Chester Holtz and

tslearn/metrics/dtw_variants.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1141,8 +1141,12 @@ def cdist_dtw(dataset1, dataset2=None, global_constraint=None,
11411141
11421142
.. math::
11431143
1144-
DTW(X, Y) = \sqrt{\sum_{(i, j) \in \pi} (X_{i} - Y_{j})^2}
1144+
DTW(X, Y) = \sqrt{\sum_{(i, j) \in \pi} \|X_{i} - Y_{j}\|^2}
1145+
1146+
Note that this formula is still valid for the multivariate case.
11451147
1148+
It is not required that time series share the same size, but they
1149+
must be the same dimension.
11461150
DTW was originally presented in [1]_ and is
11471151
discussed in more details in our :ref:`dedicated user-guide page <dtw>`.
11481152

0 commit comments

Comments
 (0)