예제 #1
0
def tree_plot(gb="crossover"):
    prefix = "results/150_tree/"
    spec = tree_config()

    configs = ev.generate_configs(spec, group_by=gb)
    dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=prefix)
    dp.draw_plots(configs, dp.box_plot_builder, groupped_by=gb, prefix=prefix)
예제 #2
0
def v180_plot():
    prefix = "results/180_0018_2/"
    spec = get_v180()
    gb = "crossover"

    configs = ev.generate_configs(spec, group_by=gb)
    dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=prefix)
    dp.draw_plots(configs, dp.box_plot_builder, groupped_by=gb, prefix=prefix)
예제 #3
0
def v320_no_cross_plot():
    prefix = "results/320_009_1_no_cross/"
    spec = get_v320_spec_no_cross()
    gb = "crossover"

    configs = ev.generate_configs(spec, group_by=gb)
    dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=prefix)
    dp.draw_plots(configs, dp.box_plot_builder, groupped_by=gb, prefix=prefix)
예제 #4
0
def wc_plot():
    prefix = "results/no_crossover/"
    spec = get_wc_spec()
    gb = "crossover"

    configs = ev.generate_configs(spec, group_by=gb)
    dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=prefix)
    dp.draw_plots(configs, dp.box_plot_builder, groupped_by=gb, prefix=prefix)
예제 #5
0
def without_crossover_eval():
    prefix = "results/no_crossover1/"
    spec = get_wc_spec()
    tries = 3

    ev.evaluate(ev.generate_configs(spec), prefix, tries)
예제 #6
0
def plot_compare_all():
    cd = "results/80_035_2/"

    for gb in ["mutation", "population_size", "crossover", "selection"]:
        configs = ev.generate_configs({}, group_by=gb)
        dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=cd)
예제 #7
0
def v320_eval_compare_all():
    prefix = "results/320_009_1_compare_all/"
    tries = 1
    spec = get_v320_spec_compare_all()

    ev.evaluate(ev.generate_configs(spec), prefix, tries)
예제 #8
0
def v320_plot():
    prefix = "results/320_009_1/"
    gb = "succession"
    configs = ev.generate_configs(get_v320_spec(), group_by=gb)
    dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=prefix)
    dp.draw_plots(configs, dp.box_plot_builder, groupped_by=gb, prefix=prefix)
예제 #9
0
def v320_eval():
    prefix = "results/320_009_1/"
    tries = 1

    ev.evaluate(ev.generate_configs(get_v320_spec()), prefix, tries)
예제 #10
0
def eval_compare_all():
    return ev.generate_configs(), "results/80_035_2/", 10
예제 #11
0
def plot_compare_succession():
    cd = "results/succession_comparison_m/"
    gb = "succession"
    configs = ev.generate_configs(get_compare_succession_spec(), group_by=gb)
    dp.draw_plots(configs, dp.line_plot_builder, groupped_by=gb, prefix=cd)
    dp.draw_plots(configs, dp.box_plot_builder, groupped_by=gb, prefix=cd)
예제 #12
0
def eval_compare_succession():
    return ev.generate_configs(
        get_compare_succession_spec()), "results/succession_comparison_m/", 3
예제 #13
0
def tree_eval():
    prefix = "results/150_tree/"
    spec = tree_config()
    fiters = 10

    ev.evaluate(ev.generate_configs(spec), prefix, fiters)
예제 #14
0
def best_80_eval():
    prefix = "results/best_80/"
    tries = 1
    spec = best_80_spec()

    ev.evaluate(ev.generate_configs(spec), prefix, tries)
예제 #15
0
def v180_eval():
    prefix = "results/180_0018_2/"
    tries = 1
    spec = get_v180()

    ev.evaluate(ev.generate_configs(spec), prefix, tries)
예제 #16
0
def v320_no_cross_eval():
    prefix = "results/320_009_1_no_cross/"
    tries = 1
    spec = get_v320_spec_no_cross()

    ev.evaluate(ev.generate_configs(spec), prefix, tries)