Predict how many likes your tweet ("X post") will get - at compose time.
- Clone this repo,
$ git clone https://github.com/gaborcselle/tweet-like-predictor
- Install dependencies,
$ pip install -r requirements.txt
- Download your Twitter archive from https://twitter.com/settings/account
- Unzip the archive
- Extract the tweets.js file from the archive, move it into the directory where you cloned this repo
- Run the script,
$ python train_tweet_like_count_predictor.py
- this will train a model on your tweets - Prediction:
$ python predict_tweet_like_count.py "I love machine learning!"
- this will predict how many likes your tweet will get