Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
wannesm committed Nov 8, 2023
1 parent 2da5c3e commit 93887ba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dtaidistance/similarity.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ def distance_to_similarity(D, r=None, method='exponential', return_params=False)
- Reverse: r - D
r is min(D) + max(D) if not given
All of these methods are monotonically decreasing transformations. The order of the
distances thus remains unchanged (only the direction).
Example usage::
dist_matrix = dtw.distance_matrix(series)
Expand Down

0 comments on commit 93887ba

Please sign in to comment.