I love music, but 34% of the time, I listen to it via a medium that I can't easily track.
For the past few years, I've been logging my listening habits on my website's card. Initially, this was a fun project to let people know what I've been listening to. But the main issue that I run into is that I don't always publicize my listening habits (using Spotify private sessions) or I am doing something else on my phone. I wanted to try to predict not only my listening habits, but all my digital ones.
Now this seems like a daunting task, but it's possible. A study by Buyalskaya and colleagues applied machine learning techniques to large datasets, uncovering diverse contextual variables that influence habit formation. In another study, Peters and colleagues utilized Long Short-Term Memory (LSTM) and transformer neural networks to model habitual behavior, demonstrating that social media use is predictable at both within-person and between-person levels. And Apple does it all the time. So it's definitely possible.
Transforming the Data
pythonCodeprint("Hello World")