memoryx::KBM::PLS Namespace Reference

Namespace where the Partial Least Squares (PLS-1) solver is defined in. More...

Functions

Matrix KBM_IMPORT_EXPORT solve (const Matrix &input, const Matrix output, Real threshold)
 Solves a linear system of equations using the partial least squares algorithm.
 

Detailed Description

Namespace where the Partial Least Squares (PLS-1) solver is defined in.

Function Documentation

◆ solve()

Matrix solve ( const Matrix & input,
const Matrix output,
Real threshold )

Solves a linear system of equations using the partial least squares algorithm.

Parameters
inputInput values (i.e., the rational polynomial basis)
outputOutput values (e.g., TCP positions/orientation)
thresholdTells the algorithm when to stop. If zero, the result is the same as the standard least mean squares (but w/o matrix inversions)

Definition at line 33 of file pls.cpp.

+ Here is the caller graph for this function: