~/talk

Linear Genetic Programming in Python Bytecode

links:none on file
slides:none on file

A practical demo shows how genetic programming uses DEAP and pyevolve for tree-based symbolic regression but then attempts to evolve Python bytecode directly to avoid repeated parsing and eval overhead. The prototype (mgard) compiles trees to code strings, inspects function.code.co_code, and constructs CodeType objects; a tiny run (population 4, fitness threshold 0.1) converges to x**2 + x + 1 using protected divide and subtree crossover. Implementation limits include CPython-version bytecode incompatibility and restricting to a safe subset of opcodes.

AI-written summary · about

  1. 0:00Intro
  2. 2:36Evolution
  3. 4:37Representations
  4. 6:55Evolution of Programs
  5. 8:20Initial Population
  6. 9:13Evaluation
  7. 10:00Selection
  8. 10:58Mutations
  9. 11:40Variation
  10. 12:04Symbolic Regression
  11. 18:13Deep
  12. 18:53Example
  13. 26:00Bytecode
  14. 31:04Looping
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.