Skip to content

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

Notifications You must be signed in to change notification settings

javierhonduco/emoji-prediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

7 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

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 [email protected]: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