"EvoAI Logo"

EvoAI is a C++17 library of building blocks to evolve, train and cluster small models, neural networks that are evolved (NEAT, HyperNEAT) and / or trained (backpropagation), self-organizing maps, and the algorithms around them.

Features#

  • A Genome to use NEAT and HyperNEAT algorithms to evolve Neural Networks .

  • A Population(with speciation) to evolve your own Genomes , it only needs to fulfill meta::is_populable_v<MyClass>

  • Common Selection Algorithms.

  • Train neural networks using backpropagation, enabling them to learn from labeled datasets, with the optimizers SGD, Adam and Muon, learning rate schedulers and loss functions.

  • A SelfOrganizingMap (Kohonen) to cluster feature vectors with any distance metric: best matching units with their distance, evaluation (quantization and topographic error, how many samples each node won), a U-matrix, training that can be resumed and stopped, and JSON saving and loading.

  • Evaluators to measure a network (neurons, connections, parameters, memory, sparsity, latency) and to combine the measures into an objective.

  • A generic Graph and LatticeGraph with pathfinding algorithms and maze generation.

Indices and tables#