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
"""Implementation of NEAT. | |
python neat.py --task {xor, lunar, cartpole} | |
See the post at https://wellecks.wordpress.com/ for details. | |
Parts of this implementation are based on Neat-Python. | |
""" | |
from itertools import count | |
import numpy as np | |
import math |