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

Stochastic optimization #7

Open
Homesh01 opened this issue Apr 20, 2016 · 0 comments
Open

Stochastic optimization #7

Homesh01 opened this issue Apr 20, 2016 · 0 comments

Comments

@Homesh01
Copy link

Homesh01 commented Apr 20, 2016

So for the one hidden layer the example provides the following:

model1 = build_supervised(X, Y, Qs=(1,), Ms=(15,15))
model1.optimize('bfgs', max_iters=1000, messages=1)

What would be the code required to perform stochastic optimization for this example?
model1.optimize_SGD() doesn't work; returns the error NameError: global name 'SGD' is not defined

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

1 participant