Skip to content

Contains code and scripts to get tweets from a user, as well as feed them to a text based machine learning module

Notifications You must be signed in to change notification settings

IanKrieger/machine-learning-twitter

Repository files navigation

Using Tweets to feed an ML model

This project contains three files. One for retrieving the weets, one for training a machine learning model, and one for spitting out results of training the machine learning model.

Getting Started

Make sure you have Python3 and Pip3 installed on your local machine

python3 install pip3

Installing

The first step is for installing the tweepy library, the second step is for installing textgenrnn.

  • Textgenrnn is a very simple machine learning model that takes any text data, each thing you want to give the model must be thematically similar and on its own line of text
pip3 install tweepy
pip3 install textgenrnn

Examples

See twitter_tweets.txt as an example file ouput

Authors

Acknowledgements

  • Shout out to tweepy and textgenrnn for some awesome free to use API's

About

Contains code and scripts to get tweets from a user, as well as feed them to a text based machine learning module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages