Skip to content

Stochastic optimization  #7

@Homesh01

Description

@Homesh01

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions