DUNE: Uniform Navigational Environment
2.5.0
|
This class implements Autoassociative Kernel Regression (AAKR) algorithm.
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) |
DUNE::Navigation::AAKR::AAKR | ( | void | ) |
Constructor.
References resize().
void DUNE::Navigation::AAKR::add | ( | Math::Matrix | v | ) |
Add new sample to current data.
[in] | v | new sample. |
References DUNE::Math::Matrix::columns(), dataSize(), DUNE::Math::Matrix::resize(), DUNE::Math::Matrix::rows(), sampleSize(), and DUNE::Math::Matrix::set().
|
inline |
Math::Matrix DUNE::Navigation::AAKR::estimate | ( | Math::Matrix | query, |
double | variance | ||
) |
Estimate corrected sample according with history.
[in] | query | new sample. |
[in] | variance | kernel bandwidth. |
References normalize(), and sampleSize().
void DUNE::Navigation::AAKR::normalize | ( | Math::Matrix & | mean, |
Math::Matrix & | std | ||
) |
Normalize set.
[in] | mean | mean of the normalized data. |
[in] | std | standard 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.
[in] | r | data 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.
[in] | r | data size. |
[in] | c | sample size. |
References dataSize(), DUNE::Math::Matrix::resizeAndFill(), and sampleSize().
|
inline |
Get sample size.
References DUNE::Math::Matrix::columns().
Referenced by add(), estimate(), normalize(), and resize().