PREDICTING STOCK MARKET USING PSYCHO- LINGUISTIC FEATURES OF NEWS
Presentation by-
Smriti Agrawal (S050)
Rabjot Sethi (S058)
INTRODUCTION
METHODOLOGY
ABOUT OUR DATASET
1 - increases
0- no change or decreases
DATA CLEANING & PREPROCESSING
1989 rows x 27 columns
DIMENSION
7 Values
MISSING VALUES
Label
Increase - 1
No change or decrease - 0
TARGET VARIABLE
“TO PREPROCESS YOUR TEXT SIMPLY MEANS TO BRING YOUR TEXT INTO A FORM THAT IS PREDICTABLE AND ANALYZABLE FOR YOUR TASK.”
TEXT PREPROCESSING
SENTIMENT ANALYSIS
SENTIMENT ANALYSIS, ALSO REFERRED TO AS OPINION MINING, IS AN APPROACH TO NATURAL LANGUAGE PROCESSING (NLP) THAT IDENTIFIES THE EMOTIONAL TONE BEHIND A BODY OF TEXT.
Visualization
CORRELATION
VOLATILITY OF INDEX
CANDELSTICK CHART
GENERAL WORDCLOUD
WORDCLOUDS DEPICTING RISE & FALL IN DJIA
Model Building
LOGISTIC REGRESSION
SUPPORT VECTOR CLASSIFIER
RANDOM FOREST
GRADIENT BOOSTING
K-NEAREST NEIGHBOUR
DECISION TREE
Stocks | Probability |
Apple Inc. | 0.630228 |
Microsoft Corporation | 0.125937 |
Walmart | 0.037588 |
JP Morgan Chase | 0.839561 |
Goldman Sachs | 0.824673 |
STOCKS AND MARKETING
F1 Scores
Model | F1 Score |
Logistic Regression | 55.98% |
Support Vector Classifier | 68.55% |
Random Forest | 64.83% |
Gradient Boosting | 60.13% |
K-Nearest Neighbour | 46.70% |
Decision Tree | 52.40% |
HYPERPARAMETER TUNING
F1-SCORE INCREASED FROM 68.55% TO 69.29%
FUTURE WORK
LIMITATIONS
CONCLUSION
In this project, several machine learning models were applied to a binary classification problem. The models included Logistic Regression, Support Vector Classifier (SVC), Random Forest, Gradient Boosting, K-Nearest Neighbors, and Decision Tree. The evaluation of these models was performed using various metrics such as accuracy, precision, recall, and F1 score.
Based on the results, the SVC model showed the best performance with an F1 score of 68.55%. The accuracy, precision, and recall were also relatively high compared to the other models. As a result, further tuning of the hyperparameters for the SVC model was performed to improve its performance.
ACKNOWLEDGEMENT
We are grateful to our respectable professor, Mr. Amit Gawade, Mr. Anurag Nigam & Dr. Megha Jain, whose insightful leadership and knowledge benefited us to complete this project successfully. Thank you so much for your continuous support and presence whenever needed.
All in all, we would like to thank everyone involved in this project directly or indirectly and helped us with their suggestions to make the project better.
THANK YOU!