Code Monkey home page Code Monkey logo

twittertopicmodeling's Introduction

TwitterTopicModeling

Motivation

Access to the Internet is becoming more affordable especially in Africa and with this the number of active social media users is also on the rise. Twitter is a social media platform on which users post and interact with messages known as "tweets". These tweets are usually short with a limit of 280 characters. With over 100 million Internet users and 6 million active monthly users in Nigeria, lots of data is generated through this medium daily. This thesis aims to gain insights from the ever-growing Nigerian data generated from twitter using Topic modelling. We use Latent Dirichlet Allocation (LDA) on Nigerian heath tweets from verified accounts covering time period of 2015 โ€“ 2019 to derive top health topics in Nigeria. We detected the outbreaks of Ebola, Lassa fever and meningitis within this time frame. We also detected reoccurring topics of child immunization/vaccination. Twitter data contains useful information that can give insights to individuals, organizations and the government hence it should be further explored and utilized.

Topic Modelling

Given a text data set; usually a collection of documents, one common task is to derive the topics in that data. Topic modelling is the process of applying statistical models (topic models) to extract the hidden / latent topics in the data. These models work by getting the hidden patterns in the document collection. Existing topic models include:

  • Latent Semantic Analysis (LSA)
  • Probabilistic Latent Semantic Analysis (PLSA)
  • Latent Dirichlet Allocation (LDA)
  • Correlated Topic Model (CTM)
  • Explicit semantic analysis
  • Hierarchical Dirichlet process
  • Non-negative matrix factorization

The usefulness of Twitter data has only been scratched on the surface so far. This is because we can get information on nearly every topic of interest from Twitter; from entertainment to politics and even religion. Since Twitter has been available for the past thirteen years, it contains historical data on different topics and hence can be used for a track historic trends in different fields. In this work, we will be mining Nigerian Health Twitter data for the past five years to derive different topic and possible trends using topic modelling.

Topics using LDA

  • 2015: Ebola outbreak

  • 2016: Lasser fever outbreak

  • 2017: Meningitis outbreak

  • 2018: Child immunization

Citation

Njoku, Uchechukwu Fortune. Text Mining of Twitter Data: Topic Modelling. Master's Thesis. 2019.

Document link.

Colab notebook.

twittertopicmodeling's People

Contributors

f-u-njoku avatar

Stargazers

 avatar

Watchers

James Cloos avatar  avatar

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.