2,940 karma · joined Oct 16, 2020 (6y ago) · 2,890 submissions
----------------------------------------------------
comment 5y ago · link · parent
Yes, you can just pass the function and it runs the optimization, in severe cases, you can start by doing a grid `.scan` or `.simplex` (Nelder-Mead simplex method), then `migrad` to minimize, and `.hesse` for 1 sigma bound.
You can also provide a gradient function that, well computes the gradient instead of computing it numerically.
> I imagine you can also do this in numba
Yes! It compiles to native code.
> Another big speedup in Jax is due to vmap/pmap, which allow to vectorise/parallelise computation.
It's possible to compile some vmapped functions with numba too, if the link is any indication, you may see even greater speedup than just jax.grad
However, I do concur that jax's vmap is absolutely fantastic and I found it very useful on many occasions.
comment 5y ago · link · parent
You may find this interesting https://github.com/scikit-hep/iminuit/blob/develop/tutorial/...
comment 5y ago · link · parent
The usually grade depends on a single test, often oral which puts additional burden, plus, to even qualify for the test, students need to achieve well above 50% average on homework assignments.
comment 5y ago · link · parent
We forfeit our freedom to express any idea or thought that deviates from the current list of acceptable thought patterns.
Suddenly you and all your thoughts or actions are subject to tracking by any government, any government official, any corporation and any malevolect actor.
The government already has a monopoly on violence, what's next?
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 5y ago · link · parent
Exactly because you select a single model and you have more models that underestimate the true (read test) error, you *may* be more likely to get models with worse performance on the test set compared to using a smaller network exactly because in the smaller network you are searching within a smaller distribution.
comment 5y ago · link · parent