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

Detailed Description

template<typename Vector>
struct examples::stochastic_gradient_descent::GradientResult< Vector >

Definition at line 57 of file stochastic_gradient_descent.hpp.

+ Inheritance diagram for GradientResult< Vector >:
+ Collaboration diagram for GradientResult< Vector >:

#include <stochastic_gradient_descent.hpp>

Public Member Functions

GradientResult operator+ (const GradientResult &b) const
 
template<typename Archive >
void serialize (Archive &ar)
 

Public Attributes

double loss
 
Vector weights
 

Member Function Documentation

GradientResult operator+ ( const GradientResult< Vector > &  b) const
inline

Definition at line 61 of file stochastic_gradient_descent.hpp.

void serialize ( Archive &  ar)
inline

Definition at line 66 of file stochastic_gradient_descent.hpp.

Member Data Documentation


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