srendle / libfm

Library for factorization machines
GNU General Public License v3.0
1.49k stars 414 forks source link

fix model save for ALS #26

Closed chihming closed 7 years ago

chihming commented 7 years ago

24

The original implementation doesn't provide the model saving function, so it resets "param_method" from ALS to MCMC. Here I add an additional flag to enable the saving function for ALS.

chihming commented 7 years ago

Thanks for the great feedbacks. Exiting libfm indeed avoids the overlook issue. In addition, I added the removeParameter function as well. I think maybe it is useful for other follow-up tasks.