aiqtech commited on
Commit
fe5131f
·
verified ·
1 Parent(s): 940ba34

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -45,7 +45,7 @@ def predict_future_prices(ticker, periods=1825):
45
  future_lr['ds'] = future_lr['ds'].dt.strftime('%Y-%m-%d')
46
  X_future = pd.to_numeric(pd.Series(range(len(data), len(data) + len(future_lr))))
47
  future_lr['yhat'] = model_lr.predict(X_future.values.reshape(-1, 1))
48
-
49
  # NeuralProphet 모델 생성 및 학습
50
  model_np = NeuralProphet()
51
  model_np.fit(data, freq='D')
 
45
  future_lr['ds'] = future_lr['ds'].dt.strftime('%Y-%m-%d')
46
  X_future = pd.to_numeric(pd.Series(range(len(data), len(data) + len(future_lr))))
47
  future_lr['yhat'] = model_lr.predict(X_future.values.reshape(-1, 1))
48
+
49
  # NeuralProphet 모델 생성 및 학습
50
  model_np = NeuralProphet()
51
  model_np.fit(data, freq='D')