GithubHelp home page GithubHelp logo

Comments (4)

bletham avatar bletham commented on July 27, 2024 13

The L-BFGS optimization algorithm uses an approximate Hessian that is calculated from the results of the past few iterations. It is then used to do a line search in the descent direction. Sometimes this approximation can become poor, and the line search fails (fails to find an improvement in the descent direction). When this happens, the approximate Hessian is reset which typically fixes the issue. In situations like the one in the first post here, we can see that after the Hessian reset, the optimization continued to progress and so there is nothing to worry about then. Generally I would not worry about this note, especially if it reports that the optimization terminated normally.

from prophet.

pldeepesh avatar pldeepesh commented on July 27, 2024 3

I was wondering what does the LS Failed and Hessian Reset mean. Does that mean the model is working? when I have predicted this data the data seemed more than reasonable, it was pretty much accurate. But I am unable to understand what this means

LS Failed and Hessian Reset

from prophet.

bletham avatar bletham commented on July 27, 2024 2

It looks like there wasn't an error, rather this is a normal end of the optimization because it has found the best fit. If you make predictions and plot does it seem reasonable?

from prophet.

dstaley avatar dstaley commented on July 27, 2024 1

Ah, from the examples I wasn't aware that I needed to output the plot myself. Since there was no output besides the previous, I figured it was an error.

I've updated my script, and this is how I'm now outputting the graphs.

model = Prophet().fit(df)
future = model.make_future_dataframe(periods=30)
forecast = model.predict(future)
figure = model.plot(forecast)
figure.savefig('output')

from prophet.

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.