Generating fake Trump tweets using Markov Chains

Twitter permanently suspends Trump’s account
An example of Markov Chain for text generation
(56571, 8)
'Getting a little exercise this morning!'
['Getting a',
'a little',
'little exercise',
'exercise this',
'this morning',
'morning !']
'A little kitty was crossing a street. A little kitty was scared.'
'exclusive @realdonaldtrump updates ! we can all agree the u .s.a. can give america great ! see'
elif next_word in list(“.!?”):

--

--

--

CS PhD @ LSU. Passionate about statistics, ML, and NLP.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Create a Custom Keras Callback to Publish to Amazon SNS

Semantics-Aware Autoencoder in Recommendation Scenarios

Architecture of a Semantics-Aware Autoencoder.

ML Enabler — completing the Machine Learning pipeline for mapping

How to test ML Models? (3/n): numerical data drift

Logistic regression from very scratch

Comparison of TensorFlow and Random Forest Model with Python

ValueError: Error when checking input: expected lstm_1_input to have shape (13100, 2) but got…

Land Use and Land Cover Classification using a ResNet Deep Learning Architecture

One of the two Sentinel-2 satellites flying over the Earth

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Miroslav Tushev

Miroslav Tushev

CS PhD @ LSU. Passionate about statistics, ML, and NLP.

More from Medium

Faster Word Co-Occurrence Calculation In Large Document Corpus

Generating “Trendy” Fake News Headlines using Machine Learning

VAR-CNN(Football): Foul or Clean Tackle

Upskill Us for 5ire in Minitab + Python