Comments (7)
use print_level=2
from iminuit.
print_level=1 (default) also prints out progress but only for very problematic one. Usually it converge before it converge before it gets to the second print out.
from iminuit.
As for % run...you can't really do that though. You can only tell what's the current EDM and what's the EDM that's defined for convergence.
from iminuit.
I actually have a much fancier plan for progress printing. I use it myself so I know knowing the progress is very important.
My plan is to send out javascript and with websocket and for each iteration it send a plot back to iPython so you know exactly what your distribution looks like at current stage. But, I won't be doing that until I got my thesis done.
from iminuit.
On Jan 15, 2013, at 10:45 AM, Piti Ongmongkolkul [email protected] wrote:
As for % run...you can't really do that though. You can only tell what's the current EDM and what's the EDM that's defined for convergence.
—
Reply to this email directly or view it on GitHub.
I know you don't know how long MINUIT will still take, what I meant is this:
There is an upper limit (the max ncall
parameter), so you can give the info that it will be finished latest after XXX more function calls and because you know how many function calls you already had and how much time they took you can convert this to a "finished latest in YYY seconds", which is useful info to have.
from iminuit.
nice idea let me see if I can inject timing to minuit code
from iminuit.
On Jan 15, 2013, at 10:55 AM, Piti Ongmongkolkul [email protected] wrote:
I actually have a much fancier plan for progress printing. I use it myself so I know knowing the progress is very important.
My plan is to send out javascript and with websocket and for each iteration it send a plot back to iPython so you know exactly what your distribution looks like at current stage. But, I won't be doing that until I got my thesis done.
—
Reply to this email directly or view it on GitHub.
That sounds great.
I do a lot of fitting from the shell or ipython prompt though, so some one-line progress report every second or every function call would be very helpful in addition to the fancy plan you have for the IPython notebook.
from iminuit.
Related Issues (20)
- Tests fail without ipywidgets HOT 3
- `_safe_log` is not safe HOT 5
- iminuit hangs when trying to visualize step function HOT 1
- Better documentation for errordef HOT 1
- arm64 test failure in test_without_numba HOT 2
- test_minimize.py fails two tests HOT 2
- CostSum support for cost functions accepting a parameter array HOT 3
- Error when calling mnprofile with NumPy >= 1.24 HOT 2
- Misleading documentation for iminuit.util.make_with_signature() HOT 1
- Python 3.12 support HOT 7
- Specifying relationships between fit parameters HOT 1
- Crash in visualization HOT 4
- Bundled root version uses the imp module (removed with Python 3.12) HOT 1
- cost.LeastSquares fails with data with more than 2 dimensions HOT 1
- 1 test fails: pytest.PytestDeprecationWarning: <class 'pytest_black.BlackItem'> is not using a cooperative constructor and only takes {'parent', 'fspath'}. HOT 1
- Build fails with LTO HOT 4
- Update to trusted publisher releases
- Support keyword-only cost functions
- Feature Request: mix arguments of different-sized arrays (& floats)? HOT 3
- Error: IMinuitWarning: MIGRAD fails to converge HOT 1
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 iminuit.