Comments (2)
We've had success with writing our own execution loop based on the code in Executor.run(). This gives us more fine-grained control over termination criteria. This approach is similar to the api for libgsl. Perhaps eliminating the Executor and allowing the user to write the loop would achieve this customizability.
from argmin.
I was planning to approach this the same way as it is done for observers. A list of (user-defined) stopping criteria (defined by a trait) can be attached to an Executor
, which will all be evaluated in each iteration. A stopping criteria has access to the current state (and maybe the key-value metrics which are passed to the observers). The question remains how to get access to the fields of the solver, but maybe this isn't really needed.
These stopping criteria would be in addition to the stopping criteria implemented in the respective solver.
Would you require more flexibility than that?
from argmin.
Related Issues (20)
- Create inplace variants of math traits
- ParticleSwarm is not reproducible HOT 3
- More-Thuente Linesearch Algorithm Bug: "Search direction must be a descent direction" HOT 7
- BrentRoot is missing tests
- Add `faer-rs` as math backend
- Add stopping criteria based on the number of function evaluations
- Add LaTeX support to docs
- Add derivatives and Hessians to test functions in argmin_testfunctions
- Add more test functions to `argmin_testfunctions`
- Create visualization of all test functions in `argmin_testfunctions`
- `owl-qn` example does not converge HOT 4
- Observers and checkpointing are missing tests
- Enable observers to create final report
- Thoughts on future state handling
- Various non productive overhead HOT 1
- Example (lbfgs) cannot be compiled after upgrade to version 0.10 HOT 2
- rss/atom feed of the blog HOT 1
- newton and newton cg freeze rather than stopping HOT 1
- Difference between bfgs.rs and bfgs of optimtool.unconstrain.newton_quasi HOT 2
- Add Differential Evolution Algorithm HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argmin.