Classifying Tweets with Keras and TensorFlow using RNN (Bi-LSTM)

Muhammad Kashif
{"title":"Classifying Tweets with Keras and TensorFlow using RNN (Bi-LSTM)","authors":"Muhammad Kashif","doi":"10.54692/lgurjcsit.2023.0702455","DOIUrl":null,"url":null,"abstract":"Understanding public opinion, sentiment analysis, and subject recognition have all become more and more important as social media platforms have grown exponentially. The methodology for categorizing tweets using Keras and TensorFlow with a Recurrent Neural Network (RNN) architecture, specifically Long Short-Term Memory (LSTM) units, is presented in this research article. The method uses word embeddings and other properties to improve tweet representation, allowing the model to reliably identify specified categories and capture contextual connections. Our RNN-LSTM model beats baseline methods after extensive testing and evaluation, proving its suitability for tweet classification applications. The model's comprehension of tweet content is further improved by the incorporation of pre-trained word embeddings as well as features like emotion scores and hashtags. The approach offers a thorough framework for using deep learning methods in tweet classification, opening the door for uses cases including sentiment analysis, topic recognition, and opinion mining. By providing knowledge on the possibilities of RNN-LSTM models and their use in comprehending and analysing social media data, this research makes a contribution to the area. The results emphasise how crucial it is to take temporal dynamics and contextual factors into account while handling tweet classification jobs. Future research may concentrate on researching other pre-trained embeddings, investigating advanced RNN architectures, and solving issues with noisy and biassed twitter data. Overall, the large volume of information published on social networking sites like Twitter may now be better understood and analysed thanks to this research. \n ","PeriodicalId":197260,"journal":{"name":"Lahore Garrison University Research Journal of Computer Science and Information Technology","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2023-08-17","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Lahore Garrison University Research Journal of Computer Science and Information Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.54692/lgurjcsit.2023.0702455","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

Understanding public opinion, sentiment analysis, and subject recognition have all become more and more important as social media platforms have grown exponentially. The methodology for categorizing tweets using Keras and TensorFlow with a Recurrent Neural Network (RNN) architecture, specifically Long Short-Term Memory (LSTM) units, is presented in this research article. The method uses word embeddings and other properties to improve tweet representation, allowing the model to reliably identify specified categories and capture contextual connections. Our RNN-LSTM model beats baseline methods after extensive testing and evaluation, proving its suitability for tweet classification applications. The model's comprehension of tweet content is further improved by the incorporation of pre-trained word embeddings as well as features like emotion scores and hashtags. The approach offers a thorough framework for using deep learning methods in tweet classification, opening the door for uses cases including sentiment analysis, topic recognition, and opinion mining. By providing knowledge on the possibilities of RNN-LSTM models and their use in comprehending and analysing social media data, this research makes a contribution to the area. The results emphasise how crucial it is to take temporal dynamics and contextual factors into account while handling tweet classification jobs. Future research may concentrate on researching other pre-trained embeddings, investigating advanced RNN architectures, and solving issues with noisy and biassed twitter data. Overall, the large volume of information published on social networking sites like Twitter may now be better understood and analysed thanks to this research.  
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
基于RNN (Bi-LSTM)的Keras和TensorFlow推文分类
随着社交媒体平台呈指数级增长,理解民意、情感分析和主题识别变得越来越重要。本文介绍了使用Keras和TensorFlow与递归神经网络(RNN)架构,特别是长短期记忆(LSTM)单元对tweet进行分类的方法。该方法使用词嵌入和其他属性来改进tweet表示,允许模型可靠地识别特定类别并捕获上下文连接。经过广泛的测试和评估,我们的RNN-LSTM模型击败了基线方法,证明了其对tweet分类应用的适用性。通过结合预训练的词嵌入以及情感评分和标签等特征,该模型对tweet内容的理解得到了进一步提高。该方法为在tweet分类中使用深度学习方法提供了一个完整的框架,为包括情感分析、主题识别和意见挖掘在内的用例打开了大门。通过提供关于RNN-LSTM模型的可能性及其在理解和分析社交媒体数据中的应用的知识,本研究对该领域做出了贡献。结果强调,在处理tweet分类工作时,考虑时间动态和上下文因素是多么重要。未来的研究可能会集中在研究其他预训练的嵌入,研究先进的RNN架构,以及解决带有噪声和偏见的twitter数据的问题。总的来说,由于这项研究,Twitter等社交网站上发布的大量信息现在可能会得到更好的理解和分析。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Classification of Microscopic Malaria Parasitized Images Using Deep Learning Feature Fusion A systematic review A Conversational interface agent for the export business acceleration Identification of Finger Vein Images with Deep Neural Networks Cloud Computing Services and Security Challenges: A Review Classifying Tweets with Keras and TensorFlow using RNN (Bi-LSTM)
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1