This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |