Giter VIP home page Giter VIP logo

Comments (4)

gufengzhou avatar gufengzhou commented on May 18, 2024

How many years of data do you have? Are you using trend, season and holiday from Prophet? In case of More than one Xmas included in the data (and there is repeating pattern of course), season from prophet should be able to capture that. If not, and in case you are expecting peaks in for example Dec.24-31, one idea might be manually adding all days Dec.24-31 into the holiday csv, so that this will be also captured by the holiday variable from prophet.

from robyn.

fedemendez1 avatar fedemendez1 commented on May 18, 2024

@gufengzhou thank you! Apparently I needed to have the exact observed dates in the holidays file. Now the prophet holiday variable is capturing the peaks.

from robyn.

fedemendez1 avatar fedemendez1 commented on May 18, 2024

Any idea why the holiday variable is driving volume in all weeks? Even weeks I don't have a holiday in holidays.csv ?

image

from robyn.

gufengzhou avatar gufengzhou commented on May 18, 2024

Hi, first of all please check prophet's documentation for more customised ways of using holidays, for example using lower_windows and upper_windows in the holidays.csv to account for holiday periods. Regarding volumes in non-holiday weeks, it's actually just me linearly transformed the original holiday variable to positive to avoid potential difficulty in decomposition and interpretation later. The variance of holiday won't change by this transformation and the latitude will be adjusted by the beta coefficient anyway.
image

from robyn.

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.