6 #ifndef TURI_REGULARIZER_INTERFACE_H_ 7 #define TURI_REGULARIZER_INTERFACE_H_ 10 #include <core/data/flexible_type/flexible_type.hpp> 14 #include <Eigen/SparseCore> 17 #include <ml/optimization/optimization_interface.hpp> 25 namespace optimization {
94 _penalty=0)
const = 0;
126 virtual void compute_hessian(
const DenseVector &point, DiagonalMatrix
virtual ~smooth_regularizer_interface()
virtual void apply_proximal_operator(DenseVector &point, const double &_penalty=0) const =0
virtual double compute_function_value(const DenseVector &point) const =0
virtual void compute_gradient(const DenseVector &point, DenseVector &gradient) const =0
virtual ~regularizer_interface()