Switch from volitility to price tomorrow

This commit is contained in:
2026-02-17 19:10:56 -08:00
parent b1a64be367
commit 7ff2f994e0
3 changed files with 8 additions and 5 deletions
+3 -3
View File
@@ -17,7 +17,7 @@ def Predict():
df = features.CleanDF(df)
# Drop our predictor
df.drop('Volatility_5', axis=1, inplace=True)
df.drop('Target_Close_Tomorrow', axis=1, inplace=True)
# Lazy load this so it doesnt interfere with yfinance
from keras.models import load_model
@@ -34,6 +34,6 @@ def Predict():
# 'predictions' will be a 2D array, flatten it if you want a simple list
flat_predictions = predictions.flatten()
print(f"Predicted Volatility: {flat_predictions}")
print(f"Predicted Target_Close_Tomorrow: {flat_predictions}")
return flat_predictions