The dtw
function in R and dtw-python
in Python both implement dynamic time warping (DTW) algorithm. However, the outcomes of the dtw
function in R and dtw-python
in Python may vary depending on several factors, including:
Implementation details: The implementation details of the DTW algorithm used may differ between R and Python, resulting in different outcomes.
Data representation: The way in which the data is represented can also affect the outcomes. For example, differences in the way that time series data is represented in R and Python could result in different DTW outcomes.
Tuning parameters: DTW has several tuning parameters such as step patterns, window size, and distance metric used. Different tuning parameters can result in different outcomes.
In general, the outcomes of dtw
function in R and dtw-python
in Python may be similar in many cases, but it is always advisable to test both implementations on the same data and tune the parameters for each implementation to achieve the best results.
Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss
Asked: 2022-08-29 11:00:00 +0000
Seen: 7 times
Last updated: Oct 15 '22
How can popen() be used to direct streaming data to TAR?
In Python, can a string be utilized to retrieve a dataframe that has the same name as the string?
What is the method for merging field value and text into a singular line for display?
What is the method for programmatic access to a time series?