#include <hazy_sgd.h>
Inheritance diagram for Multiclass_Specialized_Hazy_Sgd< T >:
Public Member Functions | |
Multiclass_Specialized_Hazy_Sgd (Storage_Manager< T > *sm, IncrementalSGD< T > *sgd, Skiing ski, hazy_model::strategy s) | |
Constructor for Hazy that uses default model and requires Storage Manager. | |
void | resort () |
Resorts the entities by calling resort method in storage manager and then adjusts ski strategy accordingly. |
It gives opportunity to explicitly resort.
Multiclass_Specialized_Hazy_Sgd< T >::Multiclass_Specialized_Hazy_Sgd | ( | Storage_Manager< T > * | sm, | |
IncrementalSGD< T > * | sgd, | |||
Skiing | ski, | |||
hazy_model::strategy | s | |||
) | [inline] |
Constructor for Hazy that uses default model and requires Storage Manager.
[in] | sm | storage manager used in hazy sgd |
[in] | sgd | sgd model |
[in] | ski | skiing object that contains information about skiing strategy |
[in] | s | strategy which is either LAZY_NAIVE, LAZY_HAZY, EAGER_NAIVE, EAGER_HAZY |
void Multiclass_Specialized_Hazy_Sgd< T >::resort | ( | ) | [inline] |
Resorts the entities by calling resort method in storage manager and then adjusts ski strategy accordingly.