Code Monkey home page Code Monkey logo

braint's Introduction

BrainT : two models for Implicit Emotion Detection

Introduction

This repository contains two models that we built in the context of WASSA-2018 Implicit Emotion Shared Task and the course Teamlab at the University of Stuttgart. The methods and results of these models were described in our paper Fine-tuning Multiclass Perceptron For Implicit Emotion Classification.

Here we only give a general overview of the task, the data set and the results. For the documentation of each models, please navigate to the corresponding subfolder:

Our two models showed comparable results: F-Macro 0.63 and 0.64 for the multi-class Perceptron and the Deep Learning model respectively. We submitted the predictions of mcPerceptron model to IESA since at the time it performed (slightly) better than the DL model.

Task Description

Our task was to predict emotions in a large dataset of tweets annotated with distant supervision. The predicted emotion should have been anger​, disgust, fear, joy, sadness or surprise​. This was an implicit emotion detection task, since the words actually expressing these six emotions (or synonyms) were masked in the train data.

An example of original tweet:

I spent 24 hours with my boyfriend yet I was still sad when he dropped me off

— вяeadney|-/ (@katzlover64) 8:33 AM - 7 Aug 2017

The tweet in the dataset:

I spent 24 hours with my boyfriend yet I was still [#TRIGGERWORD#] when he dropped me off

Datasets

The train and test datasets were provided by the shared task and contain

  • train-v3.csv : 153,383
  • test-text-labels.csv : 28,757

tweets. Both our models expect that these datasets are located in the subfolder data.

Class distribution in train data

The six emotions are more or less evenly distributed in the train data.

surprise anger disgust sad fear joy total
16.7% (25,565) 16.7% (25,562) 16.7% (25,558) 15.1% (23,165) 16.7% (25,575) 18.2% (27,958) 100.0% (153,383)

References

braint's People

Contributors

destaab avatar haidmarina avatar vgratian avatar

Stargazers

 avatar  avatar  avatar

Watchers

 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.