Skip to content

aftabanjum4451/Stock-Sentiment-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Stock Sentiment Analysis using News Headlines

Sentiment Analysis is the process of determining whether a piece of writing is positive, negative or neutral. A sentiment analysis system for text analysis combines natural language processing (NLP) and machine learning techniques to assign weighted sentiment scores to the entities, topics, themes and categories within a sentence or a phrase.

In today's communications and news consumption, the headlines of various articles play an even more important role than before. Now, we use sentiment analysis on the headlines of a particular company or companies to determine the effects of the headlines on the stock market. In this project, I used the stock news headline dataset to calculate the sentiment against binary class.

Dataset

(https://www.kaggle.com/geminikeggler/stock-sentiment-analysis)

Project Highlights

  • Load the data
  • Preprocess text data
  • Build and trainthe Model
  • Evaluate the model against the test set

Embedding

  • Bage of Words
  • TFIDF
  • Word2Vec

Models used

  • Random Forest
  • LSTM
  • Ensemble Models
    • Decision Tree

How to Run The Code

All the code and comments are listed in the jupyter notbook (Stock Sentiment Analysis using News Headlines .ipynb)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages