|
Thrill
0.1
|
Model for one point consisting of a d-dimensional position and a label.
Definition at line 40 of file stochastic_gradient_descent.hpp.
Collaboration diagram for DataPoint< Vector >:#include <stochastic_gradient_descent.hpp>
Public Member Functions | |
| template<typename Archive > | |
| void | serialize (Archive &ar) |
Public Attributes | |
| Vector | data |
| double | label |
|
inline |
Definition at line 45 of file stochastic_gradient_descent.hpp.
| Vector data |
Definition at line 41 of file stochastic_gradient_descent.hpp.
Referenced by LeastSquaresGradient< Vector >::Compute(), and StochasticGradientDescent< Vector >::optimize().
| double label |
Definition at line 42 of file stochastic_gradient_descent.hpp.
Referenced by LeastSquaresGradient< Vector >::Compute(), and StochasticGradientDescent< Vector >::optimize().