|Constructor and Description|
Creates an outlier filter which filters out data points whose absolute standard scores exceed the given limit.
|Modifier and Type||Method and Description|
Determines whether the current entry is OK to pass the filter or not, based on the current state.
Creates and initializes a new filter state, when an iterator is constructed.
public OutlierFilter(int size, double threshold, DoubleDataTransformer<T> transformer)
size- the moving window size
threshold- the z-score threshold
transformer- a transformer that transforms the cache data into double values
public StatefulCacheFilter.FilterState newFilterState()
public boolean isOK(StatefulCacheFilter.FilterState filterState, TimedEntry<T> entry)
filterStateto its own implementation of StatefulCacheFilter.FilterState in order to read the state.
filterState- the current state of the filter
entry- the current entry
trueif the entry is OK to pass the filter
Copyright © 2010–2016 Numerical Method Inc.. All rights reserved.