To see all the articles in list format, visit the Archives.
Introduction to Reinforcement Learning. I explain the Sarsa algorithm, code an example from scratch in Python, and teach an AI to solve mazes.
I made an Ant Colony Optimization-based TSP solver in Python. I share the code, insights and benchmarks versus other algorithms.
Prompt guide for Stable Diffusion including examples and tricks to create great images. Prompt engineering.
Tutorial on how to make a digital garden / personal wiki using my template.
A curated collection of images I made with DALL-E 2, together with advice on writing the best prompts.
My thoughts on note taking, personal wikis, digital gardens and zettelkastens.
Floyd–Steinberg dithering and how to create a version of an image that uses a reduced color palette, preserving quality.
A tutorial showing how to implement Confidence Intervals in Python using Bootstrapping, with example code.
I discuss how to write better prompts for DALL-E mini, and bigger models.