Git Product home page Git Product logo

Comments (8)

mikekeith52 avatar mikekeith52 commented on May 17, 2024

Hi!

Try:

pip install prophet

and try again. I don't include prophet as a required library because it has a lot of known installation issues.

from scalecast.

amengjiao avatar amengjiao commented on May 17, 2024

Thank you so much Mike!

from scalecast.

amengjiao avatar amengjiao commented on May 17, 2024

Issued solved. Thank you!

from scalecast.

amengjiao avatar amengjiao commented on May 17, 2024

Hi Michael, could you please help with a further error with prophet? My data has 53 observations. After taking a first order differencing, now there are 52 observations. After I feed the data into the models by running the code below. Everything is good except an error with prophet:

Code:

f.set_validation_length(6)
models = ('mlr','knn','svr','xgboost','gbt','elasticnet','mlp', 'arima','prophet')
for m in models:
f.set_estimator(m)
f.tune() # by default, will pull grids from Grids.py
f.auto_forecast()

Error:

556 if floor is not None:
557     X["floor"] = floor

--> 558 X["y"] = self.y.to_list()
...
574 "does not match length of index "
575 f"({len(index)})"
576 )

ValueError: Length of values (52) does not match length of index (53)

Do you know what would possibly be the reason for the error?

Thank you so much!
Lily

from scalecast.

mikekeith52 avatar mikekeith52 commented on May 17, 2024

This looks like a bug. Give me second to look into it.

from scalecast.

mikekeith52 avatar mikekeith52 commented on May 17, 2024

I was able to reproduce the error and found the source of the issue. In the next update, this will be fixed. I could probably commit a new version today or tomorrow.

from scalecast.

amengjiao avatar amengjiao commented on May 17, 2024

Thank you Michael! Appreciate your help!

from scalecast.

mikekeith52 avatar mikekeith52 commented on May 17, 2024

Hi, this should be fixed with the new version of scalecast. Please upgrade is you have not already:

pip install --upgrade scalecast

Thanks for raising the issue!

from scalecast.

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.