Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while using als method #24

Closed
ajitbarik1992 opened this issue Jun 28, 2017 · 1 comment
Closed

Error while using als method #24

ajitbarik1992 opened this issue Jun 28, 2017 · 1 comment

Comments

@ajitbarik1992
Copy link

If method is given als, code changes the param_method value to mcmc as als is an mcmc without sampling and hyperparameter inference (File : libfm.cpp, Line : 123).

While saving the model it checks for the model to be either 'sgd' or 'als', but as the param_method has been changed to 'mcmc' , it won't save model file.

@CaptainXudui
Copy link

I met the same problems. I use 'als' the training is ok but can't save the model. As below:
Writing FM model...
WARNING: load/save enabled only for SGD and ALS. Nothing will be saved.

but if I shift to 'sgd' with -learn_rate 0.1 .The model saved is ok but the training &testing are all 0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants