#include <recursive_least_squares.hpp>
Public Member Functions | |
RecursiveLeastSquares (int num_predictors, int num_features, realT forgetting_factor, realT inverse_covariance) | |
~RecursiveLeastSquares () | |
void | update (eigenImage< realT > *x, eigenImage< realT > *y) |
void | update (Matrix *x, Matrix *y) |
void | reset () |
void | save_state (std::string filaname) |
Public Attributes | |
realT | _gamma |
realT | _inverse_gamma |
realT | _initial_covariance |
int | _num_features |
int | _num_predictors |
Matrix | K |
Matrix | err |
Matrix | xtP |
Matrix | prediction_matrix |
Matrix | inverse_covariance |
Matrix | prediction_output |
Definition at line 19 of file recursive_least_squares.hpp.
DDSPC::RecursiveLeastSquares::RecursiveLeastSquares | ( | int | num_predictors, |
int | num_features, | ||
realT | forgetting_factor, | ||
realT | inverse_covariance | ||
) |
Definition at line 7 of file recursive_least_squares.cpp.
DDSPC::RecursiveLeastSquares::~RecursiveLeastSquares | ( | ) |
Definition at line 36 of file recursive_least_squares.cpp.
void DDSPC::RecursiveLeastSquares::reset | ( | ) |
Definition at line 40 of file recursive_least_squares.cpp.
Referenced by DDSPC::PredictiveController::reset().
void DDSPC::RecursiveLeastSquares::save_state | ( | std::string | filaname | ) |
Definition at line 87 of file recursive_least_squares.cpp.
Definition at line 52 of file recursive_least_squares.cpp.
Referenced by DDSPC::PredictiveController::update_system().
Definition at line 67 of file recursive_least_squares.cpp.
realT DDSPC::RecursiveLeastSquares::_gamma |
Definition at line 24 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares().
realT DDSPC::RecursiveLeastSquares::_initial_covariance |
Definition at line 26 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), and reset().
realT DDSPC::RecursiveLeastSquares::_inverse_gamma |
Definition at line 25 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), update(), and update().
int DDSPC::RecursiveLeastSquares::_num_features |
Definition at line 27 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), and reset().
int DDSPC::RecursiveLeastSquares::_num_predictors |
Definition at line 28 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares().
Matrix DDSPC::RecursiveLeastSquares::err |
Definition at line 31 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), reset(), update(), and update().
Matrix DDSPC::RecursiveLeastSquares::inverse_covariance |
Definition at line 36 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), reset(), update(), and update().
Matrix DDSPC::RecursiveLeastSquares::K |
Definition at line 30 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), reset(), update(), and update().
Matrix DDSPC::RecursiveLeastSquares::prediction_matrix |
Definition at line 35 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares(), DDSPC::PredictiveController::get_prediction_matrix(), reset(), update(), update(), and DDSPC::PredictiveController::update_controller().
Matrix DDSPC::RecursiveLeastSquares::prediction_output |
Definition at line 38 of file recursive_least_squares.hpp.
Referenced by RecursiveLeastSquares().
Matrix DDSPC::RecursiveLeastSquares::xtP |
Definition at line 32 of file recursive_least_squares.hpp.