Engrams
Self portraits using stable diffusion
I was in need of a head shot, but I don’t like taking pictures. Being a programmer I figured, why not let AI magically turn a messy selfie into a proper professional head shot? As it turns out, there’s quite a market for AI tools that generate professional portraits that are suitable for LinkedIn and such, but they were requesting fees …
Version control on notebooks using pre-commit and Jupytext
Overgeven of Sneuvelen: De Atjeh-oorlog
Initializing nested lists correctly
Regular expressions with optional starting or ending groups
Stemming and lemmatizing with sklearn vectorizers
Applying operations on grouped dataframes in Pandas
Flatten nested lists with a list comprehension
Wrong feature preprocessing is a source of train-test leakage
Masking with Boolean arrays in Numpy
Read as a blogroll or as series.
See archives for all engrams...
Digest
October 31, 2021 • July 31, 2021 • May 31, 2021 • April 1, 2021 • March 31, 2021 • March 14, 2021 •
♬
Check out my music statistics and record collection.
See all digests...