Hybrid-Fortran
inchwormrf
Hybrid-Fortran | inchwormrf | |
---|---|---|
2 | 3 | |
140 | 1 | |
- | - | |
3.3 | 0.0 | |
about 1 year ago | about 1 year ago | |
Python | Python | |
GNU Lesser General Public License v3.0 only | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Hybrid-Fortran
- Hybrid Fortran – A Framework for GPU Acceleration
-
Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy
Fair enough. Btw. IMO rewriting for GPU (if you do have the hardware) can be quite a bit simpler than doing vector optimisations for CPU, depending on the codebase. Back in my research days I actually created a framework for doing just that with Fortran: https://github.com/muellermichel/Hybrid-Fortran.
inchwormrf
-
Optimization Without Derivatives: Prima Fortran Version and Inclusion in SciPy
Yes sometimes it’s hard to measure a derivative. Eg when doing hyperparameter tuning in ML, you can read out a metric at a given choice of parameters, but it’s generally not easy to get a gradient.
Shameless plug: I happen to have recently written a package for the opposite limit! It finds roots when you can only measure the derivative.
https://github.com/EFavDB/inchwormrf
- GitHub - EFavDB/inchwormrf: inchworm root finder - This package provides methods for finding roots of a function using only calls to the derivatives of the function, never the function itself
- Inchwormrf – a Python package for finding roots of 1-d functions
What are some alternatives?
nlopt - library for nonlinear optimization, wrapping many algorithms for global and local, constrained or unconstrained, optimization
mystic - constrained nonlinear optimization for scientific machine learning, UQ, and AI
prima - PRIMA is a package for solving general nonlinear optimization problems without using derivatives. It provides the reference implementation for Powell's derivative-free optimization methods, i.e., COBYLA, UOBYQA, NEWUOA, BOBYQA, and LINCOA. PRIMA means Reference Implementation for Powell's methods with Modernization and Amelioration, P for Powell.