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

demo.m code problem #2

Open
guoyuanxiong opened this issue Dec 4, 2017 · 2 comments
Open

demo.m code problem #2

guoyuanxiong opened this issue Dec 4, 2017 · 2 comments

Comments

@guoyuanxiong
Copy link

Thanks for developing such a library. When trying to use it, I found that when I change the values of "d" and "n" in the file "demo.m", there will be some errors in the convergence results. For instance, if I choose "d = 105", "n = 30000", the returned results are very strange as shown before:

SVRG: Epoch = 000, cost = Inf, optgap = Inf
SVRG: Epoch = 001, cost = NaN, optgap = NaN

Is there any problem with the code for the reusability?

@hiroyuki-kasai
Copy link
Owner

Thanks!

I have checked the code and found that some values indicated "-Inf" or "NaN" in logistic_regression.m in some cases.

I fixed temporally the codes, and uploaded it to the system. Please make them checked.

If you have further problems, please let me known.

Regards,

Hiro

@guoyuanxiong
Copy link
Author

guoyuanxiong commented Dec 5, 2017

Seems to work correctly now at my side. Thanks.

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

2 participants