public class ExhaustiveMinimumDistanceSearchStrategy extends AMinimumDistanceSearchStrategy
Shapelet object to a time series. The approach uses an exhaustive
search as described 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 |
|---|
ExhaustiveMinimumDistanceSearchStrategy(boolean useBiasCorrection)
Standard constructor.
|
| Modifier and Type | Method and Description |
|---|---|
double |
findMinimumDistance(Shapelet shapelet,
double[] timeSeries)
Function returning the minimum distance among all subsequences of the given
timeSeries to the shapelet's data. |
public ExhaustiveMinimumDistanceSearchStrategy(boolean useBiasCorrection)
useBiasCorrection - See AMinimumDistanceSearchStrategy.useBiasCorrectionpublic double findMinimumDistance(Shapelet shapelet, double[] timeSeries)
timeSeries to the shapelet's data.findMinimumDistance in class AMinimumDistanceSearchStrategyshapelet - The shapelet to be compared to all subsequencestimeSeries - The time series which subsequences are compared to the shapelet's
data