Open benmccann opened 8 years ago
fm_learn_sgd_element.h and fm_learn_sgd_element_adapt_reg.h have code like if (task == 0) {.
if (task == 0) {
fm_learn_sgd.h does this in a much cleaner way: if (task == TASK_REGRESSION ) {
if (task == TASK_REGRESSION ) {
These enum constants should be used throughout
fm_learn_sgd_element.h and fm_learn_sgd_element_adapt_reg.h have code like
if (task == 0) {
.fm_learn_sgd.h does this in a much cleaner way:
if (task == TASK_REGRESSION ) {
These enum constants should be used throughout