Patrick James Mardis

haikus
05 / 2022

a journey through my past thoughts

This project was a creative exploration of cleaning, analyzing, and visualizing personal data. I began by exporting all the data I have given Instagram. There was a lot to sift through, so I used the pandas python package to slim the data down to a list of captions. These captions were then used to build a Markov chain of bigrams. Once paired with syllable counts, the Markov chain instructed the generation of haikus based on the predicted next word for a given bigram. The haikus were then paired with the original images from Instagram to create a visual representation of the poem.