Spaces:
Runtime error
Runtime error
OfirMatzlawi
commited on
Commit
•
10249b3
1
Parent(s):
df77e42
Update main.py
Browse files
main.py
CHANGED
@@ -43,7 +43,7 @@ def forecasting(df):
|
|
43 |
api_key = 'nixt-7nixiWJtV1TwD3vp9K8WqLrgkIZmsXZ0gxBqrOSI1E3XPpkVSakyPYgMtWdtNKeBgStnPncgzpGqQzoG'
|
44 |
nixtla_client = NixtlaClient(api_key = api_key)
|
45 |
## forecasting 3 months
|
46 |
-
timegpt_fcst_df = nixtla_client.forecast(df=df, h=3, freq='MS', time_col='Date', target_col='Adj Close')
|
47 |
|
48 |
return timegpt_fcst_df
|
49 |
|
|
|
43 |
api_key = 'nixt-7nixiWJtV1TwD3vp9K8WqLrgkIZmsXZ0gxBqrOSI1E3XPpkVSakyPYgMtWdtNKeBgStnPncgzpGqQzoG'
|
44 |
nixtla_client = NixtlaClient(api_key = api_key)
|
45 |
## forecasting 3 months
|
46 |
+
timegpt_fcst_df = nixtla_client.forecast(df=df, h=3, freq='MS', finetune_steps=10, time_col='Date', target_col='Adj Close')
|
47 |
|
48 |
return timegpt_fcst_df
|
49 |
|