All public logs

From Federal Burro of Information
Jump to navigationJump to search

Combined display of all available logs of Federal Burro of Information. You can narrow down the view by selecting a log type, the username (case-sensitive), or the affected page (also case-sensitive).

Logs
  • 14:24, 24 July 2024 David talk contribs created page Machine Learning/Dynamic Time Warping (Created page with " sample script: <pre> import numpy as np import mlpy # Example sequences sequence1 = np.array([1, 3, 4, 9, 8, 2, 1]) sequence2 = np.array([1, 2, 4, 7, 8, 2, 1]) sequence3 = np.array([1, 2, 4, 7, 8, 2, 5]) # Compute DTW distances between sequences dist12, cost12, path12 = mlpy.dtw_std(sequence1, sequence2, dist_only=False) dist13, cost13, path13 = mlpy.dtw_std(sequence1, sequence3, dist_only=False) print("DTW distance between sequence1 and sequence2:", dist12) print("...")