Skip to content

Commit

Permalink
ddtw_distance documentation change (#2443)
Browse files Browse the repository at this point in the history
  • Loading branch information
notaryanramani authored Dec 15, 2024
1 parent 621e6ca commit ed9b823
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions aeon/distances/elastic/_ddtw.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ def ddtw_distance(
Derivative dynamic time warping (DDTW) is an adaptation of DTW originally proposed
in [1]_. DDTW takes a version of the first derivatives of the series
prior to performing standard DTW. The derivative function, defined in [
1]_, is:
prior to performing standard DTW. The derivative function, defined in [1]_,
is:
.. math::
d_{i}(x) = \frac{{}(x_{i} - x_{i-1} + ((x_{i+1} - x_{i-1}/2)}{2}
d_{i}(x) = \frac{{}(x_{i} - x_{i-1} + (x_{i+1} - x_{i-1})/2)}{2}
where :math:`x` is the original time series and :math:`d_x` is the derived time
series.
Expand Down

0 comments on commit ed9b823

Please sign in to comment.