Skip to content

Commit

Permalink
docs now refer to main instead of master
Browse files Browse the repository at this point in the history
  • Loading branch information
rtavenar committed Aug 16, 2021
1 parent 530a20a commit 42a56cc
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 4 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@ and this project adheres to

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

## [v0.5.2]

### Changed

* In docs, change references to `master` branch to `main` branch.

## [v0.5.0]

### Changed
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
There are different alternatives to install tslearn:
* PyPi: `python -m pip install tslearn`
* Conda: `conda install -c conda-forge tslearn`
* Git: `python -m pip install https://github.com/tslearn-team/tslearn/archive/master.zip`
* Git: `python -m pip install https://github.com/tslearn-team/tslearn/archive/main.zip`

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).

Expand Down
2 changes: 1 addition & 1 deletion docs/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ repository hosted at github:

.. code-block:: bash
python -m pip install https://github.com/tslearn-team/tslearn/archive/master.zip
python -m pip install https://github.com/tslearn-team/tslearn/archive/main.zip
In this case, you should have ``numpy``, ``cython`` and C++ build tools
available at build time.
Expand Down
2 changes: 1 addition & 1 deletion tslearn/__init__.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import os

__author__ = 'Romain Tavenard romain.tavenard[at]univ-rennes2.fr'
__version__ = "0.5.1.0"
__version__ = "0.5.2"
__bibtex__ = r"""@article{JMLR:v21:20-091,
author = {Romain Tavenard and Johann Faouzi and Gilles Vandewiele and
Felix Divo and Guillaume Androz and Chester Holtz and
Expand Down
6 changes: 5 additions & 1 deletion tslearn/metrics/dtw_variants.py
Original file line number Diff line number Diff line change
Expand Up @@ -1141,8 +1141,12 @@ def cdist_dtw(dataset1, dataset2=None, global_constraint=None,
.. math::
DTW(X, Y) = \sqrt{\sum_{(i, j) \in \pi} (X_{i} - Y_{j})^2}
DTW(X, Y) = \sqrt{\sum_{(i, j) \in \pi} \|X_{i} - Y_{j}\|^2}
Note that this formula is still valid for the multivariate case.
It is not required that time series share the same size, but they
must be the same dimension.
DTW was originally presented in [1]_ and is
discussed in more details in our :ref:`dedicated user-guide page <dtw>`.
Expand Down

0 comments on commit 42a56cc

Please sign in to comment.