-
SQLite recipe
When I work on a data mining project, I often skip the capabilities of pandas or sqlalchemy and start dealing with a simple sqlite database myself. This is not very convenient and simple details can lead to distraction: “Is this how I connect to sqlite?”, “How can I extract the data from the result set…
-
Artificial Lovecraft tweets
Driven by the idea of creating generative text bots I had to experiment with Markov chains. I looked for some free text samples to train the algorithm. The writing style of Lovecraft did seem to fit very well for my purpose. Fictional stories, a lot of repeating words. Long sentences with many linking words help…