Figure 18

The following script was used to generate the graphs of Figure 18 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.

In [1]:
import experiments

import dotdot
import graphs

from fig18_cluster import ball_cube_hard

expcfgs = ball_cube_hard()
results = experiments.load_results(expcfgs, 'tcov', mask=(True, False, True))

graphs.output_notebook()

graphs.reuse_perflines(results[:2], y_max=1000000, tight=False)
graphs.reuse_perflines(results[2:], y_max= 400000, tight=False)
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h].04.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_ball45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_ball45_0_a20.h].04.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h].04.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_ball45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_ball45_0_a20.h].04.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h].04.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_cube45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_ball45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_cube45_0_a20.h].03.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h].04.tcov.r.d
exp: data loaded in /Users/fabien/research/data/frontiers2016/objects/hard/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_cube45_0_a20.h]/[dov_hard][rmb300.rgb.lwlr.h][dov_cube45_0_a20.h][reuse_300_0.5_40_lwlr.h][dov_cube45_0_a20.h].04.tcov.r.d

Provenance Data

No provenance data is available for the hardware experiments: the provenance code was developed after the experiments were conducted.