Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

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

README.md

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

Releases

No releases published
You canโ€™t perform that action at this time.