Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

StackOverflowError on AutoForecastModel #31

Open
funtion opened this issue May 12, 2016 · 3 comments
Open

StackOverflowError on AutoForecastModel #31

funtion opened this issue May 12, 2016 · 3 comments
Labels

Comments

@funtion
Copy link

funtion commented May 12, 2016

When I change the TS_MODEL to AutoForecastModel in config and run it on my data, it got stack overflow like this:

Exception in thread "main" java.lang.StackOverflowError
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.forecast(TripleExponentialSmoothingModel.java:673)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.initForecastValue(AbstractTimeBasedModel.java:261)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.getForecastValue(AbstractTimeBasedModel.java:361)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getSeasonalIndex(TripleExponentialSmoothingModel.java:817)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getBase(TripleExponentialSmoothingModel.java:734)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.forecast(TripleExponentialSmoothingModel.java:673)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.initForecastValue(AbstractTimeBasedModel.java:261)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.getForecastValue(AbstractTimeBasedModel.java:361)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getSeasonalIndex(TripleExponentialSmoothingModel.java:817)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getBase(TripleExponentialSmoothingModel.java:734)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.forecast(TripleExponentialSmoothingModel.java:673)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.initForecastValue(AbstractTimeBasedModel.java:261)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.getForecastValue(AbstractTimeBasedModel.java:361)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getSeasonalIndex(TripleExponentialSmoothingModel.java:817)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getBase(TripleExponentialSmoothingModel.java:734)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.forecast(TripleExponentialSmoothingModel.java:673)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.initForecastValue(AbstractTimeBasedModel.java:261)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.getForecastValue(AbstractTimeBasedModel.java:361)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getSeasonalIndex(TripleExponentialSmoothingModel.java:817)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getBase(TripleExponentialSmoothingModel.java:734)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.forecast(TripleExponentialSmoothingModel.java:673)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.initForecastValue(AbstractTimeBasedModel.java:261)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.getForecastValue(AbstractTimeBasedModel.java:361)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getSeasonalIndex(TripleExponentialSmoothingModel.java:817)

.... 

at net.sourceforge.openforecast.models.AbstractTimeBasedModel.initForecastValue(AbstractTimeBasedModel.java:261)
    at net.sourceforge.openforecast.models.AbstractTimeBasedModel.getForecastValue(AbstractTimeBasedModel.java:361)
    at net.sourceforge.openforecast.models.TripleExponentialSmoothingModel.getSeasonalIndex(TripleExponentialSmoothingModel.java:817)

And it works correctly on other models.

@manolama manolama added the bug label Oct 27, 2016
@naayaaa
Copy link

naayaaa commented Sep 26, 2017

i have the same error... looks like a bug on openforecast

@fudazhumeng
Copy link

hello, I also encountered this problem. Is there any solution?

@igaoliang
Copy link

in my test data , the TripleExponentialSmoothingModel cause this error. but the sample_input.csv do not cause the error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants