angxt commited on
Commit
86f76d1
·
verified ·
1 Parent(s): 65aa9c4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -353,7 +353,7 @@ if st.session_state.news_loaded:
353
 
354
  # Model prediction
355
  proba = model.predict_proba(x_pca)[0][1]
356
- prediction = "Increase" if proba >= 0.62 else "Decrease"
357
 
358
  # PCA features table
359
  pca_df = pd.DataFrame(x_pca, columns=[f"PC{i+1}" for i in range(x_pca.shape[1])])
 
353
 
354
  # Model prediction
355
  proba = model.predict_proba(x_pca)[0][1]
356
+ prediction = "Increase" if proba >= 0.65 else "Decrease"
357
 
358
  # PCA features table
359
  pca_df = pd.DataFrame(x_pca, columns=[f"PC{i+1}" for i in range(x_pca.shape[1])])