Comments (4)
Hey @LGsus20, thanks for using statsforecast. Do you have any NaNs in your data? i.e. does Y_df['y'].isnull().sum()
return a positive number?
from statsforecast.
It returns 0
from statsforecast.
Can you provide a small reproducible example (reference)?
from statsforecast.
Im using pycharm and python 3.10, I didn't have this problem when I was using 13,000 values, I suppose there's a limit on how many values AutoCES can handle. I don't have this problem with AutoARIMA, AutoRegressive, LSTM, PatchTST, AutoETS, AutoLSTM, and AutoTheta
CODE:
from statsforecast import StatsForecast
from statsforecast.models import AutoARIMA, AutoCES
import pandas as pd
import numpy as np
PATH = "https://raw.githubusercontent.com/LGsus20/Weather-Forecasting-Scraping/main/Forecasting_Code/DATASET_Modified_Monthly_2022-2024.csv"
Y_df = pd.read_csv(PATH).assign(unique_id=np.ones(len(pd.read_csv(PATH))))
print("Starting processing")
models = [
# AutoARIMA(season_length=24),
AutoCES(season_length=24)
]
sf = StatsForecast(
models=models,
freq='h',
n_jobs=-1
)
Y_hat_df = sf.forecast(df=Y_df, h=6)
sf.fit(df=Y_df)
Y_hat_df = sf.predict(h=6)
Y_hat_df.head(6)
from statsforecast.
Related Issues (20)
- Missing Amazon Forecast results in the experiment docs HOT 4
- AttributeError: 'bool' object has no attribute 'n_windows' when adding confidence level HOT 4
- SeasonalNaive forecasts are not as expected; expected lag 12 but forecast is rounded and slightly off HOT 2
- Getting error when training AutoCES on covid deaths dataset from gluonts HOT 3
- StatsForecast: No model able to be fitted HOT 1
- Can statsforecast detect season_length automatically? HOT 2
- ValueError: xreg is rank deficient HOT 4
- Models: documented public methods/attributes to extract best parameters for Auto* models HOT 3
- Problem getting fitted values using cross validation with a spark dataframe HOT 2
- Problem using fit and predict or fit_predict using a spark dataframe HOT 1
- Model evaluation documentation asserts that datasetsforecast is required, but it isn't HOT 2
- Deprecate references to custom `evaluate_performace` function in favor of `utilsforecast.evaluation.evaluate`? HOT 2
- Should `forecast_fitted_values` also work for fitted models in addition to when forecast(fitted=True) is called? HOT 1
- Dead links for several pages in docs HOT 1
- MSTL can't use AutoETS as trend_forecaster HOT 1
- Can I use Exogenous features with AutoETS HOT 1
- statsforecast: prediction fails if more than one model uses fallbackheuristic HOT 2
- ARIMA fit asymmetrical var_coef for some parameters
- MSTL is very slow and not using all CPU cores at all HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from statsforecast.