Skip to content

Instantly share code, notes, and snippets.

View martinxyz's full-sized avatar

Martin Renold martinxyz

  • Switzerland
  • 07:45 (UTC +02:00)
View GitHub Profile
@martinxyz
martinxyz / Existence040.log
Created November 16, 2014 22:00
trace of Existence040.py
context []
propose e1 proclivity 0
propose e2 proclivity 0
attempt e1
enacted e1r1 valence -1
=== 0 e1r1 pained
context ['e1r1']
propose e1 proclivity 0
propose e2 proclivity 0
attempt e1
@martinxyz
martinxyz / ddcma.py
Created April 1, 2025 15:44 — forked from youheiakimoto/ddcma.py
dd-CMA: CMA-ES with diagonal decoding
import warnings
from collections import deque
import math
import numpy as np
import matplotlib as mpl
import matplotlib.pyplot as plt
class DdCma:
"""dd-CMA: CMA-ES with diagonal decoding [1]