1 #ifndef STATISTICS_ONLINE_OLS_H 2 #define STATISTICS_ONLINE_OLS_H 5 #include <KrisLibrary/math/LDL.h> 18 void SetPrior(
const Vector& coeffs,Real strength);
19 void SetPrior(
const Vector& coeffs,
const Vector& strength);
20 bool AddPoint(
const Vector& data,Real outcome);
24 std::vector<Vector> data;
25 std::vector<Real> outcome;
56 void SetPrior(
const Vector& coeffs,
int strength=1);
57 void AddPoint(
const Vector& data,Real outcome);
61 std::vector<Vector> data;
62 std::vector<Real> outcome;
64 std::vector<Real> weightPolynomial;
Stochastic gradient descent estimation of least-squares solution to y = A x.
Definition: OnlineOLS.h:53
Contains all definitions in the statistics directory.
Definition: BernoulliDistribution.h:6
Basic statistical utilities.
Online estimation of least-squares solution to y = A x.
Definition: OnlineOLS.h:15