Giter Site home page Giter Site logo

emoji-prediction's Introduction

Emoji-Prediction

image

Emojis are the incredible way of expressing yourself.Therefore, our machines should also be aware of the appropriate emoji to be used at the right time. Thus, this project does the same.
In this project, the model is predicting emoji's according to a given sentence using Deep Learning Models.

Input

Text data consiting of different sentences along with the labels. Labels represent a particular emoji representing the sentence.

  • test_emoji.csv - for testing our model
  • train_emoji.csv - for training our model

Algorithm's Used

-RNN
-LSTM

Emoji Prediction.ipynb
This python script contains the code for both the models and their predictions.

Result

LSTM worked better than RNN i.e. accuracy of the model is more by using LSTM than RNN.
When we move from RNN to LSTM, we are introducing more & more controlling knobs, which control the flow and mixing of Inputs as per trained Weights. And thus, bringing in more flexibility in controlling the outputs. So, LSTM gives us the most Control-ability and thus, Better Results. But also comes with more Complexity and Operating Cost.

Additional Files

In this project, I have used the 6B 50D glove vector to build embedding matrix of words available in the glove vector.
Download the 6B.50.50d.txt file and extract the file in the same directory as that of the code.
Downloading Link-> glove.6B.50D.txt

emoji-prediction's People

Contributors

ambika55 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.