Time series distances#
The aeon.distances
module contains time series specific distance functions
that can be used in aeon and scikit learn estimators. It also contains tools for
extracting the alignment paths for a distance calculation between two series, and
tools for finding all pairwise distances
Dynamic Time Warping (DTW)#

Compute the DTW distance between two time series. 

Compute the DTW pairwise distance between a set of time series. 

Compute the DTW cost matrix between two time series. 

Compute the DTW alignment path between two time series. 
MoveSplitMerge (MSM)#

Compute the MSM distance between two time series. 

Compute the msm pairwise distance between a set of time series. 

Compute the MSM cost matrix between two time series. 

Compute the msm alignment path between two time series. 
Time Warp Edit (TWE)#

Compute the TWE distance between two time series. 

Compute the TWE pairwise distance between a set of time series. 

Compute the TWE cost matrix between two time series. 

Compute the TWE alignment path between two time series. 
Weighted Dynamic Time Warping (DTW)#

Compute the WDTW distance between two time series. 

Compute the WDTW pairwise distance between a set of time series. 

Compute the WDTW cost matrix between two time series. 

Compute the WDTW alignment path between two time series. 
Derivative Dynamic Time Warping (DDTW)#

Compute the DDTW distance between two time series. 

Compute the DDTW pairwise distance between a set of time series. 

Compute the DDTW cost matrix between two time series. 

Compute the ddtw alignment path between two time series. 
Weighted Derivative Dynamic Time Warping (WDDTW)#

Compute the WDDTW distance between two time series. 

Compute the WDDTW pairwise distance between a set of time series. 

Compute the WDDTW cost matrix between two time series. 

Compute the WDDTW alignment path between two time series. 
Longest Common Subsequence (LCSS)#

Return the LCSS distance between x and y. 

Compute the LCSS pairwise distance between a set of time series. 

Return the LCSS cost matrix between x and y. 

Compute the LCSS alignment path between two time series. 
Edit Real Penalty (ERP)#

Compute the ERP distance between two time series. 

Compute the ERP pairwise distance between a set of time series. 

Compute the ERP cost matrix between two time series. 

Compute the ERP alignment path between two time series. 
Edit distance for real sequences (EDR)#

Compute the EDR distance between two time series. 

Compute the pairwise EDR distance between a set of time series. 

Compute the EDR cost matrix between two time series. 

Compute the EDR alignment path between two time series. 
General methods with distance argument#

Compute the distance between two time series. 

Compute the pairwise distance matrix between two time series. 

Compute the alignment path and distance between two time series. 

Compute the alignment path and distance between two time series. 
General methods to recover distance functions#

Get the distance function for a given metric string or callable. 

Get the pairwise distance function for a given metric string or callable. 

Get the cost matrix function for a given metric string or callable. 

Get the alignment path function for a given metric string or callable. 