Skip to content

Instantly share code, notes, and snippets.

View martinxyz's full-sized avatar

Martin Renold martinxyz

  • Switzerland
  • 07:06 (UTC +02:00)
View GitHub Profile
@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]