Code Monkey home page Code Monkey logo

Comments (15)

JohnAllen avatar JohnAllen commented on August 18, 2024 1

I found this issue that seems to be about the same issue (I also get it).

Possibly adding: simple_differencing=True where SARIMAX is called at this line here will solve this.

Will try it myself and report if it prevents this error or not.

from rltrader.

mpearmain avatar mpearmain commented on August 18, 2024 1

This fix seems to be working for me - upgrading to statsmodel 0.10.0rc2

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

This is "normal", as in I have also run into this. However, it causes trials to fail unnecessarily, which is not ideal. I have spent a bit of time debugging this specific error, and have not been able to find a solution. Has anyone else had any success?

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

The error seems to be caused by a divide-by-zero (ZeroDivisionError: float division) within the SARIMAX.fit() function, though I am unsure how to prevent it currently.

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

Great, I'd love to hear your results.

from rltrader.

JohnAllen avatar JohnAllen commented on August 18, 2024

Think that works. I ran optimize.py for a while and didn't get that error again.

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

Great, I will add the change to the repo and get it pushed.

from rltrader.

JohnAllen avatar JohnAllen commented on August 18, 2024

I was about to submit a PR. Will and hope you see this.

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

@JohnAllen thanks, I will wait for your PR!

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

After running optimize.py for a couple hours with simple_differencing=True, I have run into the issue again. Unfortunately, this does not seem to have fixed the issue.

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

The thread above mentions upgrading the statsmodels package to version 0.10.0rc2 to fix the issue. I will try this.

from rltrader.

archenroot avatar archenroot commented on August 18, 2024

Confirm, its gone now...

from rltrader.

bing007 avatar bing007 commented on August 18, 2024

The thread above mentions upgrading the statsmodels package to version 0.10.0rc2 to fix the issue. I will try this.

Run for a couple of hours now, seem to be working

from rltrader.

rhamnett avatar rhamnett commented on August 18, 2024

Just ran into this as a new user. I recommend you change requirements.txt to

statsmodels==0.10.0rc2

from rltrader.

notadamking avatar notadamking commented on August 18, 2024

Glad to hear this fixed the issue for everyone. Pushed the fix

from rltrader.

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.