#include <incremental_sgd.h>
Inheritance diagram for TrueSGD< T >:

Public Member Functions | |
| TrueSGD (int dim, double lambda) | |
| Constructor that initializes TrueSGD. | |
| bool | addExample (int y, T ex) |
| Uses the given example to train the model. | |
This means that at each iteration, model changes
Constructor that initializes TrueSGD.
| [in] | dim | dimension of the model |
| [in] | lambda | lambda value |
| bool TrueSGD< T >::addExample | ( | int | y, | |
| T | ex | |||
| ) | [virtual] |
Uses the given example to train the model.
| [in] | y | class of the example |
| [in] | ex | feature vector of the example |
Implements IncrementalSGD< T >.
1.4.7