How Machine Learning Predicts Who Wrote The Tweets

The short answer I start with the well-accepted assumption that @realDonaldTrump tweets coming from an Android phone were written by Donald Trump himself, and that during the election, those posted on an iPhone came from someone else (i.e. his staff). I then used a variety of features of a tweet to train logistic regression classifiers (a kind of machine-learning model) …

Watch @JudgeJeanine on @FoxNews tonight at 9:00 P.M.

Watch @JudgeJeanine on @FoxNews tonight at 9:00 P.M. — Donald J. Trump (@realDonaldTrump) March 25, 2017 Twitter Analysis Posted using Twitter for Android. Machine-learning probability that Trump wrote this: 33.06% This tweet was probably written by a member of Trump’s staff. Notes This tweet was posted with an Android phone but our model reports the …

ObamaCare will explode and we will all get together and piece together a great healthcare plan for THE PEOPLE. Do not worry!

ObamaCare will explode and we will all get together and piece together a great healthcare plan for THE PEOPLE. Do not worry! — Donald J. Trump (@realDonaldTrump) March 25, 2017 Twitter Analysis Posted using Twitter for Android. Machine-learning probability that Trump wrote this: 99.99% This tweet was probably written by Trump. Notes Click here to …

LinkedIn Workforce Report: January and February were the strongest consecutive months for hiring since August and September 2015

LinkedIn Workforce Report: January and February were the strongest consecutive months for hiring since August and September 2015 — Donald J. Trump (@realDonaldTrump) March 8, 2017 Twitter Analysis Posted using Twitter for Android. Machine-learning probability that Trump wrote this: 99.99% This tweet was probably written by Trump. Notes Click here to learn how this all …

Don’t let the FAKE NEWS tell you that there is big infighting in the Trump Admin. We are getting along great, and getting major things done!

Don't let the FAKE NEWS tell you that there is big infighting in the Trump Admin. We are getting along great, and getting major things done! — Donald J. Trump (@realDonaldTrump) March 7, 2017 Twitter Analysis Posted using Twitter for Android. Machine-learning probability that Trump wrote this: 99.99% This tweet was probably written by Trump. …

I am working on a new system where there will be competition in the Drug Industry. Pricing for the American people will come way down!

I am working on a new system where there will be competition in the Drug Industry. Pricing for the American people will come way down! — Donald J. Trump (@realDonaldTrump) March 7, 2017 Twitter Analysis Posted using Twitter for Android. Machine-learning probability that Trump wrote this: 64.22% This tweet was probably written by Trump. Notes …