Giter Site home page Giter Site logo

smacawi / tweet-classifier Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 577 KB

Training deep learning models to classify disaster-related tweets in the context of crisis management. Published as "Using deep learning and social network analysis to understand and manage extreme flooding" in Journal of Contingencies and Crisis Management

Home Page: https://doi.org/10.1111/1468-5973.12311

License: MIT License

Python 100.00%

tweet-classifier's Introduction

Using deep learning and social network analysis to understand and manage extreme flooding

Code for Using deep learning and social network analysis to understand and manage extreme flooding published in the Journal of Contingencies and Crisis Management.

SNA

For more information on the social network analysis, see https://smacawi.github.io/social-network-analysis-report.pdf

Citation

@article{romascanu2020using,
  title={Using deep learning and social network analysis to understand and manage extreme flooding},
  author={Romascanu, Andrei and Ker, Hannah and Sieber, Renee and Greenidge, Sarah and Lumley, Sam and Bush, Drew and Morgan, Stefan and Zhao, Rosie and Brunila, Mikael},
  journal={Journal of Contingencies and Crisis Management},
  volume={28},
  number={3},
  pages={251--261},
  year={2020},
  doi={https://doi.org/10.1111/1468-5973.12311},
  publisher={Wiley Online Library}
}

tweet-classifier's People

Contributors

mirandrom avatar

Watchers

James Cloos avatar

tweet-classifier's Issues

Tables for metrics:

  • Number of oov words (from GlovE and Word2Vec)
  • PRF metrics (All events, similar event, one event) (comparison of models - BERT, Glove RNN, Word2vec RNN)

Subword tokenization (byte pair encoding)

Is your feature request related to a problem? Please describe.
Social media text has a lot of non-standard English, leading to a lot of out-of-vocabulary words.
Subword tokenization algorithms such as byte-pair encoding can help with this issue, as well as bypass the need for text normalization which can lose a lot of information.

Describe the solution you'd like
Implement subword tokenization through AllenNLP library and evaluate it's impact on tweet classification.

Describe alternatives you've considered

  • Word-level tokenization + normalization: not ideal due to reasons outlined above.
  • Character-level tokenization: limited representational capabilities.

Additional context
NA

Update readme to ensure replicability

  • specify steps for environment setup;
  • specify steps for training;
  • include link to allennlp documentation/examples for adequate version;
  • specify twitter-scraper dependency
  • specify steps for inference/deployment;

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.