public class RulePruner extends Object
| Constructor and Description |
|---|
RulePruner(double[] ts) |
| Modifier and Type | Method and Description |
|---|---|
SampledPoint |
sample(int windowSize,
int paaSize,
int alphabetSize,
GIAlgorithm giAlgorithm,
net.seninp.jmotif.sax.NumerosityReductionStrategy nrStrategy,
double nThreshold)
Samples the specified point.
|
public SampledPoint sample(int windowSize, int paaSize, int alphabetSize, GIAlgorithm giAlgorithm, net.seninp.jmotif.sax.NumerosityReductionStrategy nrStrategy, double nThreshold) throws Exception
windowSize - the sliding window size.paaSize - the PAA size.alphabetSize - the Alphabet size.giAlgorithm - the GI algorithm to use.nrStrategy - the numerosity reduction strategy.nThreshold - the normalization threshold.Exception - if error occurs.Copyright © 2021 JMotif. All rights reserved.