Skip to content

Commit

Permalink
[DOC] Add ddtw distance to the API references (aeon-toolkit#1897)
Browse files Browse the repository at this point in the history
* Add ddtw distance to the API references

* replace ddtw by DDTW in ddtw_alignment_path doc for more consistency in the docs
  • Loading branch information
Cyril-Meyer committed Aug 3, 2024
1 parent 1aad851 commit aceca37
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
2 changes: 1 addition & 1 deletion aeon/distances/_ddtw.py
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ def ddtw_alignment_path(
window: Optional[float] = None,
itakura_max_slope: Optional[float] = None,
) -> Tuple[List[Tuple[int, int]], float]:
"""Compute the ddtw alignment path between two time series.
"""Compute the DDTW alignment path between two time series.
Parameters
----------
Expand Down
15 changes: 14 additions & 1 deletion docs/api_reference/distances.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,20 @@ Amerced Dynamic Time Warping (ADTW)
adtw_cost_matrix
adtw_alignment_path

Derivative Dynamic Time Warping (DDTW)
-----------------------------------

.. currentmodule:: aeon.distances

.. autosummary::
:toctree: auto_generated/
:template: function.rst

ddtw_distance
ddtw_pairwise_distance
ddtw_cost_matrix
ddtw_alignment_path

Dynamic Time Warping (DTW)
--------------------------

Expand Down Expand Up @@ -211,7 +225,6 @@ Weighted Dynamic Time Warping (DTW)
wdtw_cost_matrix
wdtw_alignment_path


General methods with distance argument
--------------------------------------

Expand Down

0 comments on commit aceca37

Please sign in to comment.