Turi Create
4.0
|
Functions | |
template<typename Vector = DenseVector> | |
solver_return | turi::optimization::gradient_descent (first_order_opt_interface &model, const DenseVector &init_point, std::map< std::string, flexible_type > &opts, const std::shared_ptr< regularizer_interface > reg=NULL) |
|
inline |
Solve a first_order_optimization_iterface model with a gradient descent method.
[in,out] | model | Model with first order optimization interface. |
[in] | init_point | Starting point for the solver. |
[in,out] | opts | Solver options. |
[in] | reg | Shared ptr to an interface to a regularizer. |
Vector | Sparse or dense gradient representation. |
Definition at line 49 of file gradient_descent-inl.hpp.