TuanScientist commited on
Commit
d8600b1
·
1 Parent(s): 56fae99

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -5
app.py CHANGED
@@ -13,11 +13,7 @@ df = df.rename(columns={"Date": "ds", "Price": "y"})
13
  df.fillna(method='ffill', inplace=True)
14
  df.dropna(inplace=True)
15
 
16
- class CustomNeuralProphet(NeuralProphet):
17
- def lr_scheduler_step(self, *args, **kwargs):
18
- pass # Override the lr_scheduler_step hook to avoid the error
19
-
20
- m = CustomNeuralProphet(
21
  n_forecasts=30,
22
  n_lags=12,
23
  changepoints_range=1,
 
13
  df.fillna(method='ffill', inplace=True)
14
  df.dropna(inplace=True)
15
 
16
+ m = NeuralProphet(
 
 
 
 
17
  n_forecasts=30,
18
  n_lags=12,
19
  changepoints_range=1,