How to sketch a learning algorithm — ThinkLLM