Class OutlierDetectionThreshold
Defined in File OutlierDetectionThreshold.hpp
Inheritance Relationships
Base Type
public navtk::utils::OutlierDetection(Class OutlierDetection)
Class Documentation
OutlierDetection algorithm which checks whether the current value is within a certain
thresholdrelative to other data points.Callers use an OutlierDetectionThreshold object by passing a navtk::Vector into the
is_last_item_an_outliermethod. This method returns true or false depending on whether the data point in question is within or outside of the threshold relative to the other data points.Implementations of this class override
is_last_item_an_outlier, which will be given a navtk::Vector ofbuffer_sizelength.Public Functions
Constructor.
- Parameters
buffer_size – Determines the size of the ring buffer where data is stored for analysis
threshold – The threshold value
determines whether the value before is an outlier using the threshold value
- Parameters
data – Vector of values where data is stored for outlier analysis
- Returns
boolean for whether the data is an outlier or not