<gh_stars>0
import matplotlib.pyplot as plt



deltas = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 2.0, 3.0, 4.0, 5.0]


overlap70_max_accuracy = 0.7102532171025322
overlap70_m = 0.7
overlap70_alpha00 = [0.6618239852978458, 0.6258283056660474, 0.6006641760066439, 0.5837974101971983, 0.5696312775312664, 0.5604428377403563, 0.02490660024906598, 0.012453300124532997, 0.007887090078870904, 0.007471980074719804, 0.00041511000415110004, 0.0, 0.0, 0.0]
overlap70_alpha005 = [0.6691573266915696, 0.6370705324289542, 0.6130848315580311, 0.5970728699416021, 0.5842084900071344, 0.57404474321618, 0.02573682025736818, 0.009132420091324202, 0.0103777501037775, 0.0070568700705687035, 0.00041511000415110004,0.00041511000415110004, 0.0, 0.00041511000415110004]
overlap70_alpha01 = [0.6757990867579866, 0.6447158108549208, 0.6259858862598588, 0.6087019953491546, 0.5970627944560647, 0.5880009027635047, 0.5771016455283021, 0.5661129179815199, 0.07476960212985385, 0.011145192425687745, 0.0, 0.00041511000415110004, 0.0, 0.00041511000415110004]
overlap70_alpha02 = [0.6861768368617632, 0.6641272412917518, 0.6498885651299489, 0.6363716967520655, 0.6259415541234933, 0.6125129469989169, 0.5985624297234906, 0.5820745021702606, 0.5641772157000318, 0.5392964086939415, 0.028146774608659532, 0.006639112379667193, 0.0018474488619400784, 0.0011382679316399493]
overlap70_alpha03 = [0.6906479343239469, 0.676973485352252, 0.669924675670114, 0.6573061375827647, 0.6486275173600596, 0.6341002792924559, 0.6134459369597032, 0.21003558661491828, 0.15696195899680435, 0.10623833762549344, 2.6196262397885136e-05, 0.0, 0.0, 0.0]
overlap70_alpha04 = [0.691748177344658, 0.6832710668327058, 0.6790369447903621, 0.6715206325792774, 0.662492997537546, 0.6471061190438749, 0.21440633224115, 0.13944633191873293, 0.5478504959154037, 0.5013130372752685, 0.0, 0.0, 0.0, 0.0]
overlap70_alpha05 = [0.692878646821982, 0.6864827286026834, 0.6833835092513032, 0.6761875974803156, 0.23912955865343027, 0.6531090933272049, 0.6342292455073377, 0.6109834882943018, 0.5928089244620695, 0.022853216296493308, 0.0, 0.0, 0.0, 0.0]


overlap50_max_accuracy = 0.5093484419263457
overlap50_m = 0.5
overlap50_alpha00 = [0.4546671890382281, 0.40963172804532955, 0.3784702549575097, 0.3546936424701386, 0.3388101983002844, 0.32067988668555286, 0.31033090229641497, 0.00679886685552408, 0.0022662889518413596, 0.0022662889518413596, 0.0005665722379603399, 0.0005665722379603399, 0.0, 0.0]
overlap50_alpha005 = [0.45892351274788096, 0.41699716713881424, 0.38640226628895474, 0.3626062322946196, 0.3457088515192211, 0.32974504249291864, 0.32033331324211967, 0.003399433427762039, 0.0011331444759206798, 0.0005665722379603399, 0.0, 0.0005665722379603399, 0.0, 0.0]
overlap50_alpha01 = [0.4642011398415422, 0.42266288951841785, 0.39000629524708064, 0.36883852691218355, 0.35408789236465976, 0.33711048158640333, 0.32537486856997494, 0.31501416430594925, 0.02346370594444287, 0.007503615039570078, 0.0005665722379603399, 0.0, 0.0, 0.0]
overlap50_alpha02 = [0.47308781869689, 0.43286118980170435, 0.4054808832097651, 0.37903682719547005, 0.36377185756667724, 0.350708215297452, 0.3379948298609029, 0.3221063628875099, 0.3040296278437329, 0.2842839826144019, 0.004288261446683663, 0.001236112110622311, 0.0005144808727393686, 4.723677360454775e-06]
overlap50_alpha03 = [0.48215297450425576, 0.44289306786141835, 0.4200389769553707, 0.3988668555240827, 0.3801693019642428, 0.36353946919012525, 0.34426931602809135, 0.30166120855348855, 0.17289393848069043, 0.1445134242795618, 0.006209715221434298, 0.0, 0.0, 0.00010398637941137976]
overlap50_alpha04 = [0.48668555240793865, 0.46075616632845934, 0.43584540480447287, 0.41911612052048963, 0.40575311916099455, 0.38326067010895326,0.27491243579182717, 0.1598266128222119, 0.10807030585524904, 0.08109751605622839, 0.0, 0.0, 0.0, 0.0]
overlap50_alpha05 = [0.4921316108465727, 0.4753541076487314, 0.4566217293177639, 0.4405849222135101, 0.4311755369377017, 0.41961270836263725, 0.10568012108304993, 0.07760901157923629, 0.06815977872876189, 0.05029132260462501, 0.012684588029654633, 0.0, 0.0005421279274573229, 0.0]


overlap30_max_accuracy = 0.30275913497390006
overlap30_m = 0.3
overlap30_alpha00 = [0.260253542132737, 0.2217617962769008, 0.19458435099096394, 0.17449664429530237, 0.16181953765846416, 0.1506338553318422, 0.13870246085011212, 0.13422818791946334, 0.12635510949652953, 0.12155108128262512, 0.0, 0.0, 0.0, 0.0]
overlap30_alpha005 = [0.2617449664429532, 0.2244593586875471, 0.1968129357113903, 0.17673378076062676, 0.16331096196868042, 0.15503595153553895, 0.14348083382932214, 0.13777510963335773, 0.12842292141287265, 0.12379813777201881, 0.0752228584720427, 0.0, 0.0, 0.0]
overlap30_alpha01 = [0.2624906785980613, 0.22595078299776336, 0.19835943325876254, 0.17822520507084302, 0.16423420834785954, 0.15585384041759912, 0.14615958240119342, 0.14019388516032838, 0.1318918512133218, 0.12753559236226583, 0.07415081173163823, 0.0034385261490920533, 0.0, 0.00021911863164764413]
overlap30_alpha02 = [0.26449999657929085, 0.23063508678309602, 0.20059656972408693, 0.18205604471535258, 0.16738467116829317, 0.15958240119313977, 0.14914243102162594, 0.14267560152973638, 0.1328958260643504, 0.12900820283370643, 0.012013491232751135, 0.0, 0.0013570459771454514, 0.0008782295977925993]
overlap30_alpha03 = [0.267710663683818, 0.23340790454884466, 0.2050708426547357, 0.18344519015659994, 0.1703692301377055, 0.15988342261355037, 0.1519063549726689, 0.14446804726036327, 0.13552258002721673, 0.1282624906785983, 0.07081186845363933, 0.014452790947477583, 0.0, 0.0]
overlap30_alpha04 = [0.2712798199344478, 0.23758423468723405, 0.21029082774049263, 0.1901565995525731, 0.17248835252343703, 0.1610926393421317, 0.1521629073196098, 0.1414181529599181, 0.13677626582926794, 0.12934001053574992, 0.0, 0.011296855010296297, 0.0, 0.0]
overlap30_alpha05 = [0.27442207307979094, 0.24011931394481784, 0.21327367636092515, 0.19313944817300563, 0.17613857931572394, 0.1598269810972234, 0.15012896031305045, 0.13798240392969804, 0.0, 0.0, 0.00885447666741922, 0.0, 0.003472008428599773, 0.0022747641428757124]


fig, (ax1, ax2, ax3) = plt.subplots(3)



ax1.set_title("overlap = 70%")
ax1.axhline(y=overlap70_max_accuracy, linestyle='--')
ax1.axhline(y=overlap70_m, linestyle='--', color='red')
ax1.plot(deltas, overlap70_alpha00, label="alpha=0")
ax1.plot(deltas, overlap70_alpha005, label="alpha=0.05")
ax1.plot(deltas, overlap70_alpha01, label="alpha=0.1")
ax1.plot(deltas, overlap70_alpha02, label="alpha=0.2")
ax1.plot(deltas, overlap70_alpha03, label="alpha=0.3")
ax1.plot(deltas, overlap70_alpha04, label="alpha=0.4")
ax1.plot(deltas, overlap70_alpha05, label="alpha=0.5")
ax1.set_xticks(deltas)
ax1.set_ylabel("Accuracy")
ax1.legend()


ax2.set_title("overlap = 50%")
ax2.axhline(y=overlap50_max_accuracy, linestyle='--')
ax2.axhline(y=overlap50_m, linestyle='--', color='red')
ax2.plot(deltas, overlap50_alpha00, label="alpha=0")
ax2.plot(deltas, overlap50_alpha005, label="alpha=0.05")
ax2.plot(deltas, overlap50_alpha01, label="alpha=0.1")
ax2.plot(deltas, overlap50_alpha02, label="alpha=0.2")
ax2.plot(deltas, overlap50_alpha03, label="alpha=0.3")
ax2.plot(deltas, overlap50_alpha04, label="alpha=0.4")
ax2.plot(deltas, overlap50_alpha05, label="alpha=0.5")
ax2.set_xticks(deltas)
ax2.set_ylabel("Accuracy")
ax2.legend()


ax3.set_title("overlap = 30%")
ax3.axhline(y=overlap30_max_accuracy, linestyle='--')
ax3.axhline(y=overlap30_m, linestyle='--', color='red')
ax3.plot(deltas, overlap30_alpha00, label="alpha=0")
ax3.plot(deltas, overlap30_alpha005, label="alpha=0.05")
ax3.plot(deltas, overlap30_alpha01, label="alpha=0.1")
ax3.plot(deltas, overlap30_alpha02, label="alpha=0.2")
ax3.plot(deltas, overlap30_alpha03, label="alpha=0.3")
ax3.plot(deltas, overlap30_alpha04, label="alpha=0.4")
ax3.plot(deltas, overlap30_alpha05, label="alpha=0.5")
ax3.set_xticks(deltas)
ax3.set_ylabel("Accuracy")
ax3.set_xlabel("Delta")
ax3.legend()


plt.show()





import matplotlib.pyplot as plt



deltas = [0.1, 0.2, 0.3, 0.4, 0.5, 0.6, 0.7, 0.8, 0.9, 1.0, 2.0, 3.0, 4.0, 5.0]


overlap70_max_accuracy = 0.7102532171025322
overlap70_m = 0.7
overlap70_alpha00 = [0.6618239852978458, 0.6258283056660474, 0.6006641760066439, 0.5837974101971983, 0.5696312775312664, 0.5604428377403563, 0.02490660024906598, 0.012453300124532997, 0.007887090078870904, 0.007471980074719804, 0.00041511000415110004, 0.0, 0.0, 0.0]
overlap70_alpha005 = [0.6691573266915696, 0.6370705324289542, 0.6130848315580311, 0.5970728699416021, 0.5842084900071344, 0.57404474321618, 0.02573682025736818, 0.009132420091324202, 0.0103777501037775, 0.0070568700705687035, 0.00041511000415110004,0.00041511000415110004, 0.0, 0.00041511000415110004]
overlap70_alpha01 = [0.6757990867579866, 0.6447158108549208, 0.6259858862598588, 0.6087019953491546, 0.5970627944560647, 0.5880009027635047, 0.5771016455283021, 0.5661129179815199, 0.07476960212985385, 0.011145192425687745, 0.0, 0.00041511000415110004, 0.0, 0.00041511000415110004]
overlap70_alpha02 = [0.6861768368617632, 0.6641272412917518, 0.6498885651299489, 0.6363716967520655, 0.6259415541234933, 0.6125129469989169, 0.5985624297234906, 0.5820745021702606, 0.5641772157000318, 0.5392964086939415, 0.028146774608659532, 0.006639112379667193, 0.0018474488619400784, 0.0011382679316399493]
overlap70_alpha03 = [0.6906479343239469, 0.676973485352252, 0.669924675670114, 0.6573061375827647, 0.6486275173600596, 0.6341002792924559, 0.6134459369597032, 0.21003558661491828, 0.15696195899680435, 0.10623833762549344, 2.6196262397885136e-05, 0.0, 0.0, 0.0]
overlap70_alpha04 = [0.691748177344658, 0.6832710668327058, 0.6790369447903621, 0.6715206325792774, 0.662492997537546, 0.6471061190438749, 0.21440633224115, 0.13944633191873293, 0.5478504959154037, 0.5013130372752685, 0.0, 0.0, 0.0, 0.0]
overlap70_alpha05 = [0.692878646821982, 0.6864827286026834, 0.6833835092513032, 0.6761875974803156, 0.23912955865343027, 0.6531090933272049, 0.6342292455073377, 0.6109834882943018, 0.5928089244620695, 0.022853216296493308, 0.0, 0.0, 0.0, 0.0]


overlap50_max_accuracy = 0.5093484419263457
overlap50_m = 0.5
overlap50_alpha00 = [0.4546671890382281, 0.40963172804532955, 0.3784702549575097, 0.3546936424701386, 0.3388101983002844, 0.32067988668555286, 0.31033090229641497, 0.00679886685552408, 0.0022662889518413596, 0.0022662889518413596, 0.0005665722379603399, 0.0005665722379603399, 0.0, 0.0]
overlap50_alpha005 = [0.45892351274788096, 0.41699716713881424, 0.38640226628895474, 0.3626062322946196, 0.3457088515192211, 0.32974504249291864, 0.32033331324211967, 0.003399433427762039, 0.0011331444759206798, 0.0005665722379603399, 0.0, 0.0005665722379603399, 0.0, 0.0]
overlap50_alpha01 = [0.4642011398415422, 0.42266288951841785, 0.39000629524708064, 0.36883852691218355, 0.35408789236465976, 0.33711048158640333, 0.32537486856997494, 0.31501416430594925, 0.02346370594444287, 0.007503615039570078, 0.0005665722379603399, 0.0, 0.0, 0.0]
overlap50_alpha02 = [0.47308781869689, 0.43286118980170435, 0.4054808832097651, 0.37903682719547005, 0.36377185756667724, 0.350708215297452, 0.3379948298609029, 0.3221063628875099, 0.3040296278437329, 0.2842839826144019, 0.004288261446683663, 0.001236112110622311, 0.0005144808727393686, 4.723677360454775e-06]
overlap50_alpha03 = [0.48215297450425576, 0.44289306786141835, 0.4200389769553707, 0.3988668555240827, 0.3801693019642428, 0.36353946919012525, 0.34426931602809135, 0.30166120855348855, 0.17289393848069043, 0.1445134242795618, 0.006209715221434298, 0.0, 0.0, 0.00010398637941137976]
overlap50_alpha04 = [0.48668555240793865, 0.46075616632845934, 0.43584540480447287, 0.41911612052048963, 0.40575311916099455, 0.38326067010895326,0.27491243579182717, 0.1598266128222119, 0.10807030585524904, 0.08109751605622839, 0.0, 0.0, 0.0, 0.0]
overlap50_alpha05 = [0.4921316108465727, 0.4753541076487314, 0.4566217293177639, 0.4405849222135101, 0.4311755369377017, 0.41961270836263725, 0.10568012108304993, 0.07760901157923629, 0.06815977872876189, 0.05029132260462501, 0.012684588029654633, 0.0, 0.0005421279274573229, 0.0]


overlap30_max_accuracy = 0.30275913497390006
overlap30_m = 0.3
overlap30_alpha00 = [0.260253542132737, 0.2217617962769008, 0.19458435099096394, 0.17449664429530237, 0.16181953765846416, 0.1506338553318422, 0.13870246085011212, 0.13422818791946334, 0.12635510949652953, 0.12155108128262512, 0.0, 0.0, 0.0, 0.0]
overlap30_alpha005 = [0.2617449664429532, 0.2244593586875471, 0.1968129357113903, 0.17673378076062676, 0.16331096196868042, 0.15503595153553895, 0.14348083382932214, 0.13777510963335773, 0.12842292141287265, 0.12379813777201881, 0.0752228584720427, 0.0, 0.0, 0.0]
overlap30_alpha01 = [0.2624906785980613, 0.22595078299776336, 0.19835943325876254, 0.17822520507084302, 0.16423420834785954, 0.15585384041759912, 0.14615958240119342, 0.14019388516032838, 0.1318918512133218, 0.12753559236226583, 0.07415081173163823, 0.0034385261490920533, 0.0, 0.00021911863164764413]
overlap30_alpha02 = [0.26449999657929085, 0.23063508678309602, 0.20059656972408693, 0.18205604471535258, 0.16738467116829317, 0.15958240119313977, 0.14914243102162594, 0.14267560152973638, 0.1328958260643504, 0.12900820283370643, 0.012013491232751135, 0.0, 0.0013570459771454514, 0.0008782295977925993]
overlap30_alpha03 = [0.267710663683818, 0.23340790454884466, 0.2050708426547357, 0.18344519015659994, 0.1703692301377055, 0.15988342261355037, 0.1519063549726689, 0.14446804726036327, 0.13552258002721673, 0.1282624906785983, 0.07081186845363933, 0.014452790947477583, 0.0, 0.0]
overlap30_alpha04 = [0.2712798199344478, 0.23758423468723405, 0.21029082774049263, 0.1901565995525731, 0.17248835252343703, 0.1610926393421317, 0.1521629073196098, 0.1414181529599181, 0.13677626582926794, 0.12934001053574992, 0.0, 0.011296855010296297, 0.0, 0.0]
overlap30_alpha05 = [0.27442207307979094, 0.24011931394481784, 0.21327367636092515, 0.19313944817300563, 0.17613857931572394, 0.1598269810972234, 0.15012896031305045, 0.13798240392969804, 0.0, 0.0, 0.00885447666741922, 0.0, 0.003472008428599773, 0.0022747641428757124]


fig, (ax1, ax2, ax3) = plt.subplots(3)



ax1.set_title("overlap = 70%")
ax1.axhline(y=overlap70_max_accuracy, linestyle='--')
ax1.axhline(y=overlap70_m, linestyle='--', color='red')
ax1.plot(deltas, overlap70_alpha00, label="alpha=0")
ax1.plot(deltas, overlap70_alpha005, label="alpha=0.05")
ax1.plot(deltas, overlap70_alpha01, label="alpha=0.1")
ax1.plot(deltas, overlap70_alpha02, label="alpha=0.2")
ax1.plot(deltas, overlap70_alpha03, label="alpha=0.3")
ax1.plot(deltas, overlap70_alpha04, label="alpha=0.4")
ax1.plot(deltas, overlap70_alpha05, label="alpha=0.5")
ax1.set_xticks(deltas)
ax1.set_ylabel("Accuracy")
ax1.legend()


ax2.set_title("overlap = 50%")
ax2.axhline(y=overlap50_max_accuracy, linestyle='--')
ax2.axhline(y=overlap50_m, linestyle='--', color='red')
ax2.plot(deltas, overlap50_alpha00, label="alpha=0")
ax2.plot(deltas, overlap50_alpha005, label="alpha=0.05")
ax2.plot(deltas, overlap50_alpha01, label="alpha=0.1")
ax2.plot(deltas, overlap50_alpha02, label="alpha=0.2")
ax2.plot(deltas, overlap50_alpha03, label="alpha=0.3")
ax2.plot(deltas, overlap50_alpha04, label="alpha=0.4")
ax2.plot(deltas, overlap50_alpha05, label="alpha=0.5")
ax2.set_xticks(deltas)
ax2.set_ylabel("Accuracy")
ax2.legend()


ax3.set_title("overlap = 30%")
ax3.axhline(y=overlap30_max_accuracy, linestyle='--')
ax3.axhline(y=overlap30_m, linestyle='--', color='red')
ax3.plot(deltas, overlap30_alpha00, label="alpha=0")
ax3.plot(deltas, overlap30_alpha005, label="alpha=0.05")
ax3.plot(deltas, overlap30_alpha01, label="alpha=0.1")
ax3.plot(deltas, overlap30_alpha02, label="alpha=0.2")
ax3.plot(deltas, overlap30_alpha03, label="alpha=0.3")
ax3.plot(deltas, overlap30_alpha04, label="alpha=0.4")
ax3.plot(deltas, overlap30_alpha05, label="alpha=0.5")
ax3.set_xticks(deltas)
ax3.set_ylabel("Accuracy")
ax3.set_xlabel("Delta")
ax3.legend()


plt.show()