DUNE: Uniform Navigational Environment  2.6.0-rc4
DUNE::Navigation::AAKR Class Reference

Detailed Description

This class implements Autoassociative Kernel Regression (AAKR) algorithm.

Author
José Braga

Public Member Functions

 AAKR (void)
 
void resize (unsigned r)
 
void resize (unsigned r, unsigned c)
 
unsigned dataSize (void) const
 
unsigned sampleSize (void) const
 
void add (Math::Matrix v)
 
void normalize (Math::Matrix &mean, Math::Matrix &std)
 
Math::Matrix estimate (Math::Matrix query, double variance)
 

Constructor & Destructor Documentation

DUNE::Navigation::AAKR::AAKR ( void  )

Constructor.

References resize().

Member Function Documentation

void DUNE::Navigation::AAKR::add ( Math::Matrix  v)

Add new sample to current data.

Parameters
[in]vnew sample.

References DUNE::Math::Matrix::columns(), dataSize(), DUNE::Math::Matrix::resize(), DUNE::Math::Matrix::rows(), sampleSize(), and DUNE::Math::Matrix::set().

unsigned DUNE::Navigation::AAKR::dataSize ( void  ) const
inline

Get data size.

Returns
data size.

References DUNE::Math::Matrix::rows().

Referenced by add(), and resize().

Math::Matrix DUNE::Navigation::AAKR::estimate ( Math::Matrix  query,
double  variance 
)

Estimate corrected sample according with history.

Parameters
[in]querynew sample.
[in]variancekernel bandwidth.
Returns
corrected sample.

References normalize(), and sampleSize().

void DUNE::Navigation::AAKR::normalize ( Math::Matrix mean,
Math::Matrix std 
)

Normalize set.

Parameters
[in]meanmean of the normalized data.
[in]stdstandard deviation of the normalized data.

References DUNE::Math::Matrix::get(), DUNE::Math::Matrix::resizeAndFill(), and sampleSize().

Referenced by estimate().

void DUNE::Navigation::AAKR::resize ( unsigned  r)

Resize data size.

Parameters
[in]rdata size.

References dataSize(), DUNE::Math::Matrix::resizeAndFill(), and sampleSize().

Referenced by AAKR().

void DUNE::Navigation::AAKR::resize ( unsigned  r,
unsigned  c 
)

Resize data size and sample size.

Parameters
[in]rdata size.
[in]csample size.

References dataSize(), DUNE::Math::Matrix::resizeAndFill(), and sampleSize().

unsigned DUNE::Navigation::AAKR::sampleSize ( void  ) const
inline

Get sample size.

Returns
sample size.

References DUNE::Math::Matrix::columns().

Referenced by add(), estimate(), normalize(), and resize().

Collaboration diagram for DUNE::Navigation::AAKR:
Collaboration graph