Skip to content

Instantly share code, notes, and snippets.

View NaelsonDouglas's full-sized avatar
🤔

Naelson Douglas C. Oliveira NaelsonDouglas

🤔
View GitHub Profile
We can make this file beautiful and searchable if this error is corrected: No commas found in this CSV file in line 0.
Step1;Step2;Step3;model
158.622861534;32.731745446;47.362205693;Fixed
162.242277993;32.069641145;44.971033462;Fixed
138.110122776;32.218151236;45.428324317;Fixed
133.625021253;32.331096781;47.052639995999996;Fixed
119.407441603;31.859108477;46.370881077;Fixed
22.204801183;31.845599561;46.840495124;Fixed
167.54373112;32.230990231;48.091289756;Fixed
163.749064987;32.188596687;47.775939506;Fixed
125.455671145;32.498577251;47.230937803;Fixed
Step1 Step2 Step3Fixed Step3Random
180.208423849 32.915978144 49.449384076 47.653008725999996
137.763572324 32.015223242 46.951402653 45.613150496
188.826349457 32.785432056 46.356837372 44.733745746000004
155.081156579 32.912014679 48.344511315999995 45.559006058
168.113292016 32.506850657 48.710953149 45.291526624
197.227243048 33.089180239 48.609403622 46.229400049000006
171.500390685 32.330452394 47.110666793 48.843725418000005
131.2997362 32.423367712 46.975765283 49.960602737
159.496005687 32.360222 47.251367757 52.232054839
#X labels
df = DataFrame(A=["Step1","Step2","Step3 Fixed","Step3 Random"])
#BG and boxplot colors
theme = Theme(default_color=colorant"gray",panel_fill=colorant"white")
p = plot(data,y="Step1",x=df[1],Geom.boxplot, theme)
img = SVG("tests.svg", 6inch, 4inch)
draw(img, p)
function save_tests()
data = readtable("output.csv")
step1 = plot_step(data,"Step1")
save_svg(step1,"Step1")
step2 = plot_step(data,"Step2")
save_svg(step2,"Step2")
data = readtable("output.csv")
dx = rand(30,4)
dx[:,1] = data[1]
dx[:,2] = data[2]
dx[:,3] = data[3]
dx[:,4] = data[4]
boxplot(dx)
savefig("output.png")
Scenarion 1
0.385429
1.2647
4.49977
16.2512
62.0689
251.421
(0.351527048471812,0.419331581328188)
(1.2456052522827081,1.2837871001172918)
0.550368
0.595143
0.588319
0.594529
0.559478
0.655875
0.453241
(0.3911448767993383,0.7095908564006618)
(0.33826477534330635,0.8520204326566938)
"x1","x2","x3","x4","x5","x6","x7","x8","x9","x10"
735.696519431,6.952566,0.04778460310570874,0.05809750673437638,0.04788485692980605,0.06176446041166311,0.046512286644144286,0.06016711663333289,0.047882186020084254,0.06047978673333477
740.519946479,6.826373,0.054570498321105144,0.06312765988850312,0.05567438024920444,0.06095018039991677,0.054068885194449814,0.06268051732353448,0.054089799534786084,0.05998020478695345
752.011926049,6.811618,0.053761888188265626,0.0607367209191068,0.05546495647440567,0.05650038540174006,0.05493415962350119,0.05864364380879663,0.05440376710113761,0.061129738282761
762.746131765,6.851036,0.06274651315538438,0.062267514305757686,0.06212492787753779,0.05630617400542315,0.05433525619163967,0.06072386037484926,0.06060659929053046,0.06174582347679585
770.126815777,6.845736,0.05022313725243716,0.05669733785509615,0.049115133530482996,0.06230605137861005,0.055141936809335455,0.05801257776925797,0.0544779857759235,0.05567231701571547
748.672529648,6.805606,0.05978922958169716,0.06250809
We can make this file beautiful and searchable if this error is corrected: It looks like row 7 should actually have 10 columns, instead of 4. in line 6.
"x1","x2","x3","x4","x5","x6","x7","x8","x9","x10"
735.696519431,6.952566,0.04778460310570874,0.05809750673437638,0.04788485692980605,0.06176446041166311,0.046512286644144286,0.06016711663333289,0.047882186020084254,0.06047978673333477
740.519946479,6.826373,0.054570498321105144,0.06312765988850312,0.05567438024920444,0.06095018039991677,0.054068885194449814,0.06268051732353448,0.054089799534786084,0.05998020478695345
752.011926049,6.811618,0.053761888188265626,0.0607367209191068,0.05546495647440567,0.05650038540174006,0.05493415962350119,0.05864364380879663,0.05440376710113761,0.061129738282761
762.746131765,6.851036,0.06274651315538438,0.062267514305757686,0.06212492787753779,0.05630617400542315,0.05433525619163967,0.06072386037484926,0.06060659929053046,0.06174582347679585
770.126815777,6.845736,0.05022313725243716,0.05669733785509615,0.049115133530482996,0.06230605137861005,0.055141936809335455,0.05801257776925797,0.0544779857759235,0.05567231701571547
748.672529648,6.805606,0.05978922958169716,0.06250809
n_of_nodes exec_time size_of_dataset_1 size_of_dataset_2 size_of_exchanged_data1 size_of_exchanged_data2 MSE_1 MSE_2
2.0 106.08450992 30.192 0.192 1.187472 1.187869 0.04903235484895302 0.06027796134083309
2.0 109.422444452 0.192 0.192 1.179791 1.171566 0.04711237810470005 0.06278125204872109
2.0 117.587284648 0.192 0.192 1.181992 1.174898 0.04836198228107196 0.06027796134083309
2.0 118.775425639 0.192 0.192 1.178772 1.15343 0.04836198228107196 0.058487957234341525
2.0 107.924658807 0.192 0.192 1.177125 1.235056 0.04711237810470005 0.057555326854118044
2.0 98.560159689 0.192 0.192 1.17957 1.126971 0.04616419678123295 0.06058160544459346
2.0 116.244522131 0.192 0.192 1.185442 1.179438 0.053176039582604695 0.05862618770329324
2.0 111.559882213 0.192 0.192 1.184408 1.178261 0.04711237810470005 0.06027796134083309
2.0 105.569429719 0.192 0.192 1.174953 1.16808 0.04903235484895302 0.05862618770329324