-
We are currently using financial factors to predict S&P 500 price now. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Add Sentiment as New Columns: Calculate a daily sentiment score (e.g., average sentiment). Use a straightforward model like Linear Regression or XGBoost with the combined data (financial + sentiment features). Check if adding the sentiment data improves your prediction accuracy. |
Beta Was this translation helpful? Give feedback.
Add Sentiment as New Columns:
Calculate a daily sentiment score (e.g., average sentiment).
Add it as a new column to your financial dataset.
Train Your Model:
Use a straightforward model like Linear Regression or XGBoost with the combined data (financial + sentiment features).
Evaluate Results:
Check if adding the sentiment data improves your prediction accuracy.
Basically, just treat sentiment data as extra input columns alongside your financial factors, and train your model as usual.