This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Training function for SVMSGD, online version */ | |
bool CSVMSGD::train(CStreamingDotFeatures* data) | |
{ | |
data->start_parser(); | |
int32_t w_default_dim=100; | |
w=new float64_t[w_default_dim]; | |
float64_t bias=0; | |
float64_t lambda=1; |