-
-
Notifications
You must be signed in to change notification settings - Fork 55
Description
Initial Checklist
- I confirm that I'm using the latest version of TimeCopilot.
- I confirm that I've reviewed my issue at https://github.com/AzulGarza/timecopilot/issues before opening this one.
What happened?
Hi,
please see the below error . I ran it locally.
When the h=2, the model returns correctly.
--> 102 res = tcf.forecast(
103 df=df,
104 h=1,
105 freq="W"
106 )
108 def explain_with_llm(table_md: str, prompt=
109 """
110 예측 결과를 표로 정리해줘.
(...)
113
114 """):
115 base = os.environ.get("OPENAI_BASE_URL", "http://xxx.xxx.xx.xxx:11434/v1").rstrip("/")
File c:\Users\jitaek.jo\AppData\Local\Programs\Python\Python312\Lib\site-packages\timecopilot\forecaster.py:177, in TimeCopilotForecaster.forecast(self, df, h, freq, level, quantiles)
122 def forecast(
...
--> 196 fcsts_mean_np = np.concatenate(fcsts_mean_tp)
197 if quantiles is not None:
198 fcsts_quantiles_np = np.concatenate(fcsts_quantiles_tp)
ValueError: zero-dimensional arrays cannot be concatenated
Relevant log output
Environment
0.0.20