Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Title: Improving Sentiment Analysis Accuracy for News Headlines #1259

Open
bhanushri12 opened this issue Jun 29, 2024 · 2 comments
Open

Title: Improving Sentiment Analysis Accuracy for News Headlines #1259

bhanushri12 opened this issue Jun 29, 2024 · 2 comments
Assignees
Labels
Assigned enhancement New feature or request gssoc

Comments

@bhanushri12
Copy link
Contributor

Is your proposal related to a problem? Please describe.

Currently, the sentiment analysis module in our project analyzes news headlines using basic polarity and subjectivity metrics. To enhance the accuracy and effectiveness of sentiment analysis, especially for predicting stock market trends based on news sentiment, we propose implementing advanced techniques and models.

Add any other context or screenshots about the proposal request here.

Textual Analysis
#Functions to get the subjectivity and polarity
def getSubjectivity(text):
return TextBlob(text).sentiment.subjectivity

def getPolarity(text):
return TextBlob(text).sentiment.polarity
#Adding subjectivity and polarity columns
ndf['Subjectivity'] = ndf['News'].apply(getSubjectivity)
ndf['Polarity'] = ndf['News'].apply(getPolarity)
ndf

Copy link

@bhanushri12

It's great having you contribute to this project

Thanks for opening this Issue 🙌 , Welcome to Project Guidance 💖 We will review everything and get back to you.
Make sure to give a star to this repo before making a fork! Thank you :)

@bhanushri12
Copy link
Contributor Author

Can I Start working on this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Assigned enhancement New feature or request gssoc
Projects
None yet
Development

No branches or pull requests

2 participants