Thrill  0.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
LeastSquaresGradient< Vector > Class Template Reference

Detailed Description

template<typename Vector>
class examples::stochastic_gradient_descent::LeastSquaresGradient< Vector >

simple implementation of a gradient computation class using a least squares cost function and a linear model (y = w*x)

Definition at line 86 of file stochastic_gradient_descent.hpp.

#include <stochastic_gradient_descent.hpp>

Static Public Member Functions

static GradientResult< VectorCompute (const Vector &data, double label, const Vector &weights)
 

Member Function Documentation

static GradientResult<Vector> Compute ( const Vector data,
double  label,
const Vector weights 
)
inlinestatic

The documentation for this class was generated from the following file: