The following script was used to generate the graphs of Figure 19 of the article "Behavioral Diversity Generation in Autonomous Exploration Through Reuse of Past Experience" by Fabien C. Y. Benureau and Pierre-Yves Oudeyer.
The full code is available and is distributed under the Open Science License. For any questions, remarks or difficulties running this code, contact fabien.benureau@gmail.com.
import experiments
import dotdot
import graphs
from fig19a_cluster import rgap
expcfgs = rgap()
results = experiments.load_results(expcfgs, 'tcov', mask=(True, False, True))
graphs.output_notebook()
graphs.reuse_quantiles(results, y_max=360000)
from fig19b_cluster import rgap_h
expcfgs = rgap_h()
results = experiments.load_results(expcfgs, 'tcov', mask=(True, False, True))
graphs.output_notebook()
graphs.reuse_perflines(results, y_max= 360000, tight=False)
As no provenance data is available for the hardware experiments (the provenance code was developed after the experiments were conducted), the following provenance concerns only Figure 19a.
import provenance
prov_data = provenance.cluster(rgap()) # this may take a minute.
print(prov_data.message())