Snippets

benchmarking and robust evaluators

Published 2025-05-19

  • creative

AlphaEvolve-inspired feature engineering

Published 2025-05-20

  • LLMs

custom context managers

Published 2025-05-14

  • learning

closures

Published 2025-05-13

  • python

custom numpy dtypes

Published 2025-05-08 • Updated 2025-05-09

  • learning
  • numpy

decorators

Published 2025-05-13

  • learning

hill climbing

Published 2025-05-15

  • ML

fine-tuning an LLM

Published 2025-07-16 • Updated 2025-10-11

  • LLMs

masked arrays and np.nan* functions

Published 2025-05-09

  • learning
  • numpy

memory mapping with numpy

Published 2025-05-07 • Updated 2025-05-08

  • learning
  • numpy
  • performance

ML on GPU

Published 2025-05-12

  • ML
  • performance

sliding window views

Published 2025-05-07 • Updated 2025-05-08

  • learning
  • numpy
  • performance

parsing FASTA files using a generator

Published 2025-05-07 • Updated 2025-05-08

  • bioinformatics
  • learning
  • performance

stacking

Published 2025-05-15 • Updated 2025-05-16

  • ML

target encoding

Published 2025-05-18

  • ML

n-gram encoding

Published 2025-05-21 • Updated 2025-10-11

  • ML

strides and broadcasting

Published 2025-05-07 • Updated 2025-05-08

  • ML
  • numpy
  • performance