27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
|
set datafile separator ","
|
||
|
f(x)=a*x+b
|
||
|
fit f(x) "errors.csv" every ::1 using 1:5 via a,b
|
||
|
set terminal png
|
||
|
set xlabel 'Regularity'
|
||
|
set ylabel 'Number of iterations'
|
||
|
set output "errors_regularity-vs-steps.png"
|
||
|
plot "errors.csv" every ::1 using 1:5 title "data", f(x) title "lin. fit" lc rgb "black"
|
||
|
g(x)=aa*x+bb
|
||
|
fit g(x) "errors.csv" every ::1 using 3:5 via aa,bb
|
||
|
set xlabel 'Improvement potential'
|
||
|
set ylabel 'Number of iterations'
|
||
|
set output "errors_improvement-vs-steps.png"
|
||
|
plot "errors.csv" every ::1 using 3:5 title "data", g(x) title "lin. fit" lc rgb "black"
|
||
|
h(x)=aaa*x+bbb
|
||
|
fit h(x) "errors.csv" every ::1 using 3:4 via aaa,bbb
|
||
|
set xlabel 'Improvement potential'
|
||
|
set ylabel 'error given by fitness-function'
|
||
|
set output "errors_improvement-vs-evo-error.png"
|
||
|
plot "errors.csv" every ::1 using 3:4 title "data", h(x) title "lin. fit" lc rgb "black"
|
||
|
i(x)=aaaa*x+bbbb
|
||
|
fit i(x) "errors.csv" every ::1 using 2:4 via aaaa,bbbb
|
||
|
set xlabel 'Variability'
|
||
|
set ylabel 'error given by fitness-function'
|
||
|
set output "errors_variability-vs-evo-error.png"
|
||
|
plot "errors.csv" every ::1 using 2:4 title "data", i(x) title "lin. fit" lc rgb "black"
|