public class EarlyAbandonMinimumDistanceSearchStrategy extends AMinimumDistanceSearchStrategy
Shapelet object to a time series. The approach uses early
abandoning as described in algorithm 2 in the paper 'Jason Lines, Luke M.
Davis, Jon Hills, and Anthony Bagnall. 2012. A shapelet transform for time
series classification. In Proceedings of the 18th ACM SIGKDD international
conference on Knowledge discovery and data mining (KDD '12). ACM, New York,
NY, USA, 289-297.'.useBiasCorrection| Constructor and Description |
|---|
EarlyAbandonMinimumDistanceSearchStrategy(boolean useBiasCorrection)
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
findMinimumDistance(Shapelet shapelet,
double[] timeSeries)
Optimized function returning the minimum distance among all subsequences of
the given
timeSeries to the shapelet's data. |
public EarlyAbandonMinimumDistanceSearchStrategy(boolean useBiasCorrection)
useBiasCorrection - See AMinimumDistanceSearchStrategy.useBiasCorrectionpublic double findMinimumDistance(Shapelet shapelet, double[] timeSeries)
timeSeries to the shapelet's data. This
function implements the algorithm 2 mentioned in the original paper. It
performs the similarity search with online normalization and early abandon.findMinimumDistance in class AMinimumDistanceSearchStrategyshapelet - The shapelet to be compared to all subsequencestimeSeries - The time series which subsequences are compared to the shapelet's
data