public class DISCORDS extends GTSStackFunction
| Constructor and Description |
|---|
DISCORDS(java.lang.String name,
boolean standardizePAA) |
| Modifier and Type | Method and Description |
|---|---|
static GeoTimeSerie |
discords(GeoTimeSerie gts,
int windowLen,
int wordLen,
int alphabetSize,
int count,
boolean mayOverlap,
double distRatio,
boolean standardizePAA) |
protected java.lang.Object |
gtsOp(java.util.Map<java.lang.String,java.lang.Object> params,
GeoTimeSerie gts)
Method to apply to individual GTS instances
|
protected java.util.Map<java.lang.String,java.lang.Object> |
retrieveParameters(WarpScriptStack stack)
Method which extracts the parameters from the top of the stack
|
applygetName, refSnapshot, setName, toStringprotected java.lang.Object gtsOp(java.util.Map<java.lang.String,java.lang.Object> params,
GeoTimeSerie gts)
throws WarpScriptException
GTSStackFunctiongtsOp in class GTSStackFunctionWarpScriptExceptionprotected java.util.Map<java.lang.String,java.lang.Object> retrieveParameters(WarpScriptStack stack) throws WarpScriptException
GTSStackFunctionretrieveParameters in class GTSStackFunctionWarpScriptExceptionpublic static final GeoTimeSerie discords(GeoTimeSerie gts, int windowLen, int wordLen, int alphabetSize, int count, boolean mayOverlap, double distRatio, boolean standardizePAA) throws WarpScriptException
gts - GTS instance to analyzewindowLen - Number of ticks in sliding windowwordLen - Size of SAX symbolsalphabetSize - Size of SAX alphabet (MUST be a power of 2)count - Maximum number of discords to identifymayOverlap - Flag indicating whether or not identified discords may overlapdistRatio - Maximum tolerable ratio between NN distances. Once an NN dist is smaller than 'distRatio' times the previous candidate, exitWarpScriptException