Skip to content

javierhonduco/emoji-prediction

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 

emoji-prediction

emoji prediction given a text using machine learning techniques

Usage

You'll need python3 (everything's been developed under Python 3.5.2)

$ git clone git@github.com:javierhonduco/emoji-prediction.git
$ cd emoji-prediction
  • Fetch some tweets
$ cd fetch
$ script/bootstrap # to install everything
$ # fill in fetch/config.py using config_sample.py as a template
$ # you'll need: * a Twitter API token * a Sentry DSN
$ bin/benchmark # just to download tweets and see how many per second can you fetch
  • Do some ๐Ÿ”ฌ
$ cd classify
$ script/bootstrap # to install everything
$ # once the training file is in the folder
$ python3 sk_learn_experiments.py 10000 # use 10.000 tweets. The percentage used for training is defined in the `TRAINING` variable
$ # generate statistics
$ python3 emoji_stats.py

๐ŸŽ‰

About

๐Ÿค“๐Ÿ”ฎ๐Ÿ”ฌ Emoji prediction from a text using machine learning

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published