The following script was used to generate the graphs of Figure 5 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 fig5_cluster import planar
expcfgs = planar()
results = experiments.load_results(expcfgs, 'tcov', mask=(True, False, True))
graphs.output_notebook()
graphs.reuse_quantiles(results, y_max=3.268)
The cluster provenance code examines all the exploration data files of this experiment to check and compare their embedded provenance data.
import provenance
prov_data = provenance.cluster(planar()) # this may take a minute or two.
print(prov_data.message())