Skip to content

Jatin-Pat/MAIS-202

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Financial News Sentiment Analysis

Final project for McGill AI Society Intro to ML Bootcamp (2022).

Training data from Hugging Face

Project description

This project sets out to predict the sentiment in financial news reports to gauge analysts' perceptions about a publicly traded company. I implemented the Naive Bayes classifier model using Scikit-Learn, and named-entity recognition (NER) using the Spacy library. The web app was built using Flask.

Demo

Landing Page

Text Classification

Classification Result

Running the app

In order to run the web app and test the classifier, install the packages in requirements.txt and download files from this repo. Then, change into app.py and run the following in the terminal

 python app.py

Lastly, open a browser and navigate to your localhost

Repository organization

  1. Deliverable/
    • Progress logs submitted to the Bootcamp technical project managers
  2. static/
    • CSS files for web app
  3. templates/
    • HTML templates for web app
  4. model.py
    • Python script containing final model
  5. app.py
    • Main script to instantiate server (on localhost)
  6. data.csv
    • Dataset used for model training

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published