jeff-regier / Celeste.jl

Scalable inference for a generative model of astronomical images
MIT License
183 stars 28 forks source link

allows for passing early termination callback to Optim.Options #638

Closed jrevels closed 7 years ago

jrevels commented 7 years ago

Optim already has support for this: http://julianlsolvers.github.io/Optim.jl/stable/user/tipsandtricks/#early-stopping. So we can just set our termination callback when we allocate the ElboMaximize.Config vector in joint_infer.