70 std::vector<double>
gradientdesc(
const std::vector<std::vector<double>> &X,
71 const std::vector<double> &y,
91 const std::vector<double> &y,
112 const std::vector<double> &y,
std::vector< double > minibatch_gradientdesc(const std::vector< std::vector< double >> &X, const std::vector< double > &y, double alpha, int num_iters, int batch_size)
Perform mini-batch gradient descent for linear regression.
std::vector< double > gradientdesc(const std::vector< std::vector< double >> &X, const std::vector< double > &y, double alpha, int num_iters)
Perform gradient descent for linear regression.
std::vector< double > stoch_gradientdesc(const std::vector< std::vector< double >> &X, const std::vector< double > &y, double alpha, int num_iters)
Perform stochastic gradient descent for linear regression.
The source C++ openGPMP namespace.