QDpy
Loading...
Searching...
No Matches
hebbian_qd.py File Reference

Rollout-local neuron-centric plasticity for quality-diversity search. More...

Go to the source code of this file.

Classes

class  qdpy.algorithms.hebbian_qd.HebbianPolicy
 An immutable genome with five Hebbian coefficients per neuron. More...
class  qdpy.algorithms.hebbian_qd.HebbianSession
 Stateful controller instance for a single rollout. More...
class  qdpy.algorithms.hebbian_qd.HebbianEvaluator
 Adapt a policy-evaluating callback to QDpy's numeric candidate contract. More...

Namespaces

namespace  qdpy

Functions

 qdpy.algorithms.hebbian_qd.hebbian_map_elites (archive, evaluator, *, budget, batch_size=1, seed=0)
 Illuminate behaviors by evolving local plasticity coefficients.

Detailed Description

Rollout-local neuron-centric plasticity for quality-diversity search.

See also
https://doi.org/10.1007/978-3-032-23604-3_22
https://doi.org/10.1145/3638529.3654011

Definition in file hebbian_qd.py.

Function Documentation

◆ hebbian_map_elites()

qdpy.algorithms.hebbian_qd.hebbian_map_elites ( archive,
evaluator,
* ,
budget,
batch_size = 1,
seed = 0 )

Illuminate behaviors by evolving local plasticity coefficients.

Parameters
archiveEmpty Grid or CVTGrid with one objective.
evaluatorHebbianEvaluator adapting a rollout function.
budgetNumber of genomes evaluated.
batch_sizeNumber of proposals per MAP-Elites batch.
seedPrivate search seed.
Returns
QDpy RunResult with numeric genomes in the archive.
Run Iso+LineDD MAP-Elites in the space of neuron-specific rules.

Definition at line 159 of file hebbian_qd.py.