Code Monkey home page Code Monkey logo

Comments (7)

piti118 avatar piti118 commented on July 29, 2024

use print_level=2

from iminuit.

piti118 avatar piti118 commented on July 29, 2024

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.

piti118 avatar piti118 commented on July 29, 2024

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.

piti118 avatar piti118 commented on July 29, 2024

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.

cdeil avatar cdeil commented on July 29, 2024

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.

piti118 avatar piti118 commented on July 29, 2024

nice idea let me see if I can inject timing to minuit code

from iminuit.

cdeil avatar cdeil commented on July 29, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.