Analyse financial news headlines using Python, NLP, and Machine Learning to infer market sentiment.
This project scrapes and processes financial news headlines, applies NLP techniques to perform sentiment analysis, and explores how sentiment relates to market trends and investment decisions.
- Text Preprocessing: Cleans headlines by removing noise, tokenising, and normalising.
- Sentiment Classification: Implements models (e.g., RandomForest Classification) to predict the accuracy, F1 Score.
- Python 3.x
- Libraries:
pandas,numpy,scikit-learn,TensorFlow,Keras,transformers,Matplotlib
-
Clone the repository
git clone https://github.com/GeekyVishweshNeelesh/Python-Machine-Learning-Project.git cd Python-Machine-Learning-Project -
Create and activate virtual environment
python3 -m venv venv source venv/bin/activate # macOS/Linux venv\Scripts\activate # Windows
- Open Project_Python_Financial_Market_News_Sentimental_Analysis.ipynb in Jupyter.
- Go through each section:
- Data loading & cleaning
- Exploratory Data Analysis (EDA)
- Preprocessing
- Training & evaluating models
- (Optional) Market sentiment correlation
- Execute all cells in order. Modify the data source or extend to live news feeds if needed.
Feel free to:
- Fork the repo
- Submit pull requests with improvements (e.g., model enhancements, code cleanup, dockerization)
- File bug reports or feature requests via GitHub Issues
Vishwesh Neelesh β Aspiring Data Scientist
GitHub: GeekyVishweshNeelesh
Built with β€οΈ