GithubHelp home page GithubHelp logo

Comments (2)

Hazzles avatar Hazzles commented on April 28, 2024

I don't suppose you're not stating explicitly the interval periods in the make_future_dataframe function once you reload the data? It's the same freq notation as a pd.date_range()
E.g.:

df_future  = model.make_future_dataframe(periods=forecast_periods, freq="30min")

I have no issues when I load my model back from json when I do this. Unsure if this is helpful or not.

from prophet.

vladchestTELUS avatar vladchestTELUS commented on April 28, 2024

Hi, it is good to know that usually this is not an issue.

I tried multiple approaches including similar to one above:
future = prophets[p]["model"].make_future_dataframe(periods = periodsToPredict, include_history = False) #1970s... but even when I use make_future_dataframe function I am still getting this issue.
For context next step is predict and then I run plot_components and plot.

Another approach I attempted was to use pd.date_range to generate a pandas dataframe with correct dates.

In either case the data has unexpected flat vertical line pattern. This includes historical data which I do not think should be impacted by dataframe generation.

To write and load models I am using:
f.write(model_to_json(model))
model_from_json(f.read())

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.