|
void | init (double *p, size_t n, double b=0) |
|
double | eval (double const *val) const |
|
void | err1 (size_t n, double const *x, double const *y, double *err) const |
|
void | err2 (size_t n, double const *const *x, double const *y, double *err) const |
|
void | pdm1 (size_t n, double const *x, double *pdm, double y_mean) const |
|
void | pdm2 (size_t n, double const *const *x, double *pdm, double y_mean) const |
|
void | gd (double const *input, double error, double alpha) |
|
void | sgd (double const *x, double y, double alpha) |
|
void | sgd1 (size_t n, double const *x, double const *y, double alpha) |
|
void | sgd2 (size_t n, double const *const *x, double const *y, double alpha) |
|
void | bgd1 (size_t n, double const *x, double const *err, double alpha) |
|
void | bgd2 (size_t n, double const *const *x, double const *err, double alpha) |
|
double | mgd1 (size_t n, double const *x, double const *y, double *err, double delta, double lrmax, double lrmin, size_t lrtim, size_t epoch, size_t batch) |
|
double | mgd2 (size_t n, double const *const *x, double const *y, double *err, double delta, double lrmax, double lrmin, size_t lrtim, size_t epoch, size_t batch) |
|
void | zero () |
|
instance structure for linear regression