Correction to: Scientific Reports https://doi.org/10.1038/s41598-025-00554-w, published online 14 May 2025

The original version of this Article contained an error in the Existing methods in time series clustering section, under the subheading ‘Dynamic time warping (DTW)’, where the Dynamic Time Warping (DTW) was erroneously assumed to possess the “triangle inequality” to make it a metric.

As a result,

“This robustness to signal warping has established DTW as an optimal metric for pattern matching applications24.”

now reads:

“This robustness to signal warping has established DTW as an optimal method for pattern matching applications24.”

In addition, the following paragraph has been removed:

“The DTW distance measure satisfies the basic properties of a distance function defined in30. Given that \({\textbf{a}}\) and \({\textbf{b}}\) are vectors, the DTW distance measure conforms with non-negativity property (\(D({\textbf{a}}, {\textbf{b}}) \ge 0\)), definiteness property (\(D({\textbf{a}}, {\textbf{b}}) =0 \Leftrightarrow {\textbf{a}} = {\textbf{b}}\)), symmetry property (\(D({\textbf{a}}, {\textbf{b}}) = D({\textbf{b}}, {\textbf{a}})\)), and triangle inequality property (\(D({\textbf{a}}, {\textbf{c}}) \le D({\textbf{a}}, {\textbf{b}}) + D({\textbf{b}}, {\textbf{c}})\)).”

The original Article has been corrected.