Skip to content

Commit

Permalink
Update distUtilities.h
Browse files Browse the repository at this point in the history
  • Loading branch information
sliang11 authored Sep 18, 2019
1 parent 8e8897b commit 98909e6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions P1NN/distUtilities.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ __device__ void getNormalizedTerm(double &term, double mu, double sigma){
term = (term - mu) / sigma;
}


//WARNING: Do NOT sse this to calculate distances between different-length time series! This can end up with an incorrect result!
//Reference: Doruk Sart, Abdullah Mueen, Walid A. Najjar, Eamonn J. Keogh, Vit Niennattrakul:
//Accelerating Dynamic Time Warping Subsequence Search with GPUs and FPGAs. ICDM 2010: 1001-1006.
__device__ void dtw(double &dist, double *ts, double *query, double *tmp,
Expand Down

0 comments on commit 98909e6

Please sign in to comment.