GithubHelp home page GithubHelp logo

Comments (7)

jeffalstott avatar jeffalstott commented on July 22, 2024 3

You can ignore the warnings as long as there's a fit. As long as the
resulting parameters don't have nans or infs, it's a valid fit.

On Wed, Oct 7, 2015 at 8:46 PM, Roberto [email protected] wrote:

Should I safely ignore these warnings as long as a fit is produce? Which
would be the error when the package fail to produce a good fit and, then, I
should discard the result? Is it possible at all that the program fail
generating an appropriate fit?

I don't really mind the warning as long as there is an accompanying
message indicated that the package successfully generated the fit.


Reply to this email directly or view it on GitHub
#25 (comment)
.

from powerlaw.

jeffalstott avatar jeffalstott commented on July 22, 2024 2

@trungdong Done.

from powerlaw.

albertocottica avatar albertocottica commented on July 22, 2024 1

Hey @jeffalstott, thanks for making this. Related question: can I shut up the message:
Calculating best minimal value for power law fit?

from powerlaw.

jeffalstott avatar jeffalstott commented on July 22, 2024 1

Hi @albertocottica,

I've just added an option to Fit(), verbose, that can be set to False to turn off that message and the message that data <=0 is dropped. If that works for you, I can update the package on PyPi.

from powerlaw.

robertour avatar robertour commented on July 22, 2024

Should I safely ignore these warnings as long as a fit is produce? Which would be the error when the package fail to produce a good fit and, then, I should discard the result? Is it possible at all that the program fail generating an appropriate fit?

I don't really mind the warning as long as there is an accompanying message indicated that the package successfully generated the fit.

from powerlaw.

robertour avatar robertour commented on July 22, 2024

Hey, that was quick. Thanks a lot.

from powerlaw.

trungdong avatar trungdong commented on July 22, 2024

@jeffalstott

It would be really nice if the fix for the above is released on PyPi.

I'm running the powerlaw fittings on thousands of distributions and seeing that many "Calculating..." messages clogging the screen and drowning out all other application messages is no fun.

Thank you!

from powerlaw.

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.