The following script was used to generate the graphs of Figure 20 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 fig20_cluster import rgap_crude
expcfgs = rgap_crude()
results = experiments.load_results(expcfgs, 'tcov', mask=(True, False, True))
graphs.output_notebook()
graphs.reuse_quantiles(results, y_max=360000)
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(rgap_crude()) # this may take a minute.
print(prov_data.message())