Git Product home page Git Product logo

satarupa22-sd / cryptocurrency-sentiment-analysis Goto Github PK

View Code? Open in Web Editor NEW
8.0 3.0 4.0 1.09 MB

This repository has been created as part of the kaggleXBIPOC Mentorship Program. The aim of this project is to establish the sentiment association between the various cryptocurrencies like Bitcoin, Ether using real time twitter data and RoBERTa Model for classification .

Home Page: https://www.kaggle.com/cohort2-2023-project-showcase

License: MIT License

Jupyter Notebook 100.00%
kaggle kagglexbipoc cryptocurrency dataset nlp

cryptocurrency-sentiment-analysis's Introduction

Cryptocurrency Sentiment Analysis

Cryptocurrency Sentiment Analysis

PROJECT SUMMARY

The aim of this project is to produce a Twitter Sentiment Analysis on the cryptocurrency market. With the rise in popularity of Bitcoin and Ethereum and the majority of businesses moving to the web3.0 it is important to understand how the consumer actually feels about this change. In this project a list of the most recent and relevant tweets related to crypto trading, Bitcoin and Ethereum have been scraped from Twitter data. It is then analyzed with the help of cardiffnlp/twitter-roberta-base-sentiment-latest model which is a RoBERTa based NLP model from hugging face and rated negative neutral and positive accordingly.

FILES AND LIBRARIES

To run this project, you will need to add the following Libraries to your system :-

  • transformers
  • torch
  • requests
  • re
  • pandas
  • numpy
  • snscrape
  • matplotlib
  • seaborn

The datasets included in the project are :-

  • Cryptodata.csv:- Stores the tweets extracted for the purpose of this project.
  • sentiment.csv :- Stores the sentiment scores after performing the sentiment analysis.

Conclusion

The goal of the study is to ascertain how people feel about cryptocurrencies on Twitter, with a focus on bitcoin, Ethereum, and crypto trading in particular. The following are the main question evaluated in the project:- What are people's thoughts on, say, cryptocurrency and blockchain technology? What are the most important Crypto and Blockchain-related product categories? We all know that decentralization and web3.0 has had an effect on a number of areas, including finances, healthcare, legal services, and insurance. This study will help to understand how the people perceive this ongoing change. In this project the negative tweet was assigned a sentiment score of 1. Similarly 2 was assigned to neutral and 3 to positive.

Result

Histogram showing the Sentiment Scores plotted against The Number of Tweets

Here, the Sentiment Scores have been plotted against The Number Of Tweets.

  • X-axis:- Sentiment Scores
  • Y-axis:- Number Of Tweets

The histogram plotted showed that most of the tweets had a score of 3.

Authors

References

  1. RoBERTa: A Robustly Optimized BERT Pretraining Approach https://arxiv.org/abs/1907.11692

  2. BERT, RoBERTa, DistilBERT, XLNet โ€” which one to use? https://towardsdatascience.com/bert-roberta-distilbert-xlnet-which-one-to-use-3d5ab82ba5f8

  3. BERT language model https://www.techtarget.com/searchenterpriseai/definition/BERT-language-model

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.