iCub-main
iCub::ctrl::ModifiedThompsonTau Class Reference

#include <outliersDetection.h>

Inheritance diagram for iCub::ctrl::ModifiedThompsonTau:

## Public Member Functions

ModifiedThompsonTau ()
Default constructor. More...

std::set< size_t > detect (const yarp::sig::Vector &data, const yarp::os::Property &options)
Perform outliers detection over the provided data. More...

virtual ~ModifiedThompsonTau ()
Virtual destructor. More...

Public Member Functions inherited from iCub::ctrl::OutliersDetection
virtual ~OutliersDetection ()
Virtual destructor. More...

## Protected Attributes

std::map< size_t, double > tauLUP

std::set< size_t > recurIdx

## Detailed Description

Perform modified Thompson tau technique for outlier detection.

Definition at line 66 of file outliersDetection.h.

## ◆ ModifiedThompsonTau()

 ModifiedThompsonTau::ModifiedThompsonTau ( )

Default constructor.

Definition at line 21 of file outliersDetection.cpp.

## ◆ ~ModifiedThompsonTau()

 virtual iCub::ctrl::ModifiedThompsonTau::~ModifiedThompsonTau ( )
inlinevirtual

Virtual destructor.

Definition at line 102 of file outliersDetection.h.

## ◆ detect()

 set< size_t > ModifiedThompsonTau::detect ( const yarp::sig::Vector & data, const yarp::os::Property & options )
virtual

Perform outliers detection over the provided data.

Only one element is considered at a time, unless the recursive option is specified.

Parameters
 data contains points to be verified. options contains detection options. If the properties mean and std are provided with corresponding doubles, then the computation of relative values is skipped. If the property sorted is provided, then the data are expected to be sorted either in ascending or descending order. If the property recursive is specified, then the detection is carried out over and over on the outcome of the previous instance until no more outliers are found.
Returns
set containing the outliers indexes.

Implements iCub::ctrl::OutliersDetection.

Definition at line 137 of file outliersDetection.cpp.

## ◆ recurIdx

 std::set iCub::ctrl::ModifiedThompsonTau::recurIdx
protected

Definition at line 70 of file outliersDetection.h.

## ◆ tauLUP

 std::map iCub::ctrl::ModifiedThompsonTau::tauLUP
protected

Definition at line 69 of file outliersDetection.h.

The documentation for this class was generated from the following files: