From 4ef0244c4ae4945b0f5436f72a02e06d014f3f03 Mon Sep 17 00:00:00 2001 From: ethankelly <72452934+ethankelly@users.noreply.github.com> Date: Tue, 31 May 2022 09:30:42 +0100 Subject: [PATCH] Added test results --- data-red.csv | 501 ++++++++++++++++++ data-reg.csv | 501 ++++++++++++++++++ .../github/ethankelly/experiments/Main.java | 2 +- src/io/github/ethankelly/experiments/chart.py | 2 +- 4 files changed, 1004 insertions(+), 2 deletions(-) create mode 100644 data-red.csv create mode 100644 data-reg.csv diff --git a/data-red.csv b/data-red.csv new file mode 100644 index 0000000..67c8e86 --- /dev/null +++ b/data-red.csv @@ -0,0 +1,501 @@ +experiment_number,probability,result +1,0.01,34 +2,0.01,30 +3,0.01,36 +4,0.01,30 +5,0.01,32 +6,0.01,30 +7,0.01,42 +8,0.01,30 +9,0.01,30 +10,0.01,38 +11,0.01,34 +12,0.01,30 +13,0.01,30 +14,0.01,32 +15,0.01,34 +16,0.01,32 +17,0.01,34 +18,0.01,34 +19,0.01,34 +20,0.01,34 +21,0.01,40 +22,0.01,32 +23,0.01,32 +24,0.01,30 +25,0.01,30 +26,0.01,34 +27,0.01,34 +28,0.01,38 +29,0.01,32 +30,0.01,32 +31,0.01,30 +32,0.01,30 +33,0.01,30 +34,0.01,32 +35,0.01,32 +36,0.01,32 +37,0.01,32 +38,0.01,30 +39,0.01,30 +40,0.01,34 +41,0.01,30 +42,0.01,30 +43,0.01,30 +44,0.01,30 +45,0.01,34 +46,0.01,32 +47,0.01,36 +48,0.01,40 +49,0.01,36 +50,0.01,36 +1,0.02,36 +2,0.02,32 +3,0.02,34 +4,0.02,38 +5,0.02,42 +6,0.02,30 +7,0.02,32 +8,0.02,40 +9,0.02,34 +10,0.02,38 +11,0.02,32 +12,0.02,30 +13,0.02,32 +14,0.02,32 +15,0.02,47 +16,0.02,34 +17,0.02,34 +18,0.02,32 +19,0.02,36 +20,0.02,32 +21,0.02,34 +22,0.02,34 +23,0.02,32 +24,0.02,36 +25,0.02,38 +26,0.02,47 +27,0.02,32 +28,0.02,34 +29,0.02,32 +30,0.02,46 +31,0.02,34 +32,0.02,34 +33,0.02,32 +34,0.02,32 +35,0.02,54 +36,0.02,34 +37,0.02,36 +38,0.02,34 +39,0.02,32 +40,0.02,62 +41,0.02,34 +42,0.02,32 +43,0.02,30 +44,0.02,30 +45,0.02,36 +46,0.02,30 +47,0.02,38 +48,0.02,41 +49,0.02,41 +50,0.02,30 +1,0.03,40 +2,0.03,69 +3,0.03,44 +4,0.03,38 +5,0.03,32 +6,0.03,30 +7,0.03,38 +8,0.03,38 +9,0.03,36 +10,0.03,34 +11,0.03,30 +12,0.03,36 +13,0.03,34 +14,0.03,34 +15,0.03,40 +16,0.03,32 +17,0.03,44 +18,0.03,48 +19,0.03,59 +20,0.03,34 +21,0.03,38 +22,0.03,40 +23,0.03,36 +24,0.03,38 +25,0.03,47 +26,0.03,40 +27,0.03,34 +28,0.03,30 +29,0.03,38 +30,0.03,54 +31,0.03,38 +32,0.03,42 +33,0.03,34 +34,0.03,40 +35,0.03,38 +36,0.03,43 +37,0.03,44 +38,0.03,32 +39,0.03,32 +40,0.03,36 +41,0.03,52 +42,0.03,60 +43,0.03,34 +44,0.03,32 +45,0.03,38 +46,0.03,42 +47,0.03,38 +48,0.03,38 +49,0.03,32 +50,0.03,41 +1,0.04,40 +2,0.04,34 +3,0.04,42 +4,0.04,41 +5,0.04,34 +6,0.04,54 +7,0.04,90 +8,0.04,40 +9,0.04,36 +10,0.04,38 +11,0.04,51 +12,0.04,42 +13,0.04,34 +14,0.04,57 +15,0.04,36 +16,0.04,88 +17,0.04,42 +18,0.04,38 +19,0.04,40 +20,0.04,105 +21,0.04,34 +22,0.04,38 +23,0.04,34 +24,0.04,47 +25,0.04,36 +26,0.04,68 +27,0.04,62 +28,0.04,86 +29,0.04,53 +30,0.04,38 +31,0.04,118 +32,0.04,47 +33,0.04,42 +34,0.04,72 +35,0.04,60 +36,0.04,62 +37,0.04,38 +38,0.04,48 +39,0.04,34 +40,0.04,46 +41,0.04,71 +42,0.04,44 +43,0.04,68 +44,0.04,38 +45,0.04,71 +46,0.04,42 +47,0.04,45 +48,0.04,36 +49,0.04,58 +50,0.04,36 +1,0.05,42 +2,0.05,56 +3,0.05,38 +4,0.05,51 +5,0.05,57 +6,0.05,36 +7,0.05,104 +8,0.05,64 +9,0.05,49 +10,0.05,34 +11,0.05,53 +12,0.05,71 +13,0.05,48 +14,0.05,43 +15,0.05,40 +16,0.05,36 +17,0.05,38 +18,0.05,44 +19,0.05,205 +20,0.05,34 +21,0.05,90 +22,0.05,40 +23,0.05,38 +24,0.05,57 +25,0.05,48 +26,0.05,34 +27,0.05,70 +28,0.05,134 +29,0.05,603 +30,0.05,50 +31,0.05,40 +32,0.05,40 +33,0.05,95 +34,0.05,44 +35,0.05,38 +36,0.05,186 +37,0.05,38 +38,0.05,64 +39,0.05,46 +40,0.05,55 +41,0.05,34 +42,0.05,48 +43,0.05,46 +44,0.05,60 +45,0.05,38 +46,0.05,62 +47,0.05,70 +48,0.05,40 +49,0.05,40 +50,0.05,44 +1,0.06,192 +2,0.06,38 +3,0.06,57 +4,0.06,48 +5,0.06,34 +6,0.06,57 +7,0.06,147 +8,0.06,40 +9,0.06,64 +10,0.06,38 +11,0.06,77 +12,0.06,102 +13,0.06,42 +14,0.06,54 +15,0.06,52 +16,0.06,107 +17,0.06,40 +18,0.06,92 +19,0.06,48 +20,0.06,106 +21,0.06,38 +22,0.06,48 +23,0.06,38 +24,0.06,66 +25,0.06,147 +26,0.06,36 +27,0.06,103 +28,0.06,52 +29,0.06,38 +30,0.06,72 +31,0.06,46 +32,0.06,61 +33,0.06,46 +34,0.06,121 +35,0.06,56 +36,0.06,95 +37,0.06,65 +38,0.06,38 +39,0.06,60 +40,0.06,41 +41,0.06,78 +42,0.06,52 +43,0.06,88 +44,0.06,100 +45,0.06,41 +46,0.06,71 +47,0.06,47 +48,0.06,84 +49,0.06,53 +50,0.06,64 +1,0.07,294 +2,0.07,188 +3,0.07,42 +4,0.07,42 +5,0.07,43 +6,0.07,44 +7,0.07,98 +8,0.07,485 +9,0.07,55 +10,0.07,53 +11,0.07,50 +12,0.07,69 +13,0.07,65 +14,0.07,4343 +15,0.07,47 +16,0.07,121 +17,0.07,69 +18,0.07,97 +19,0.07,67 +20,0.07,318 +21,0.07,38 +22,0.07,69 +23,0.07,125 +24,0.07,89 +25,0.07,169 +26,0.07,87 +27,0.07,63 +28,0.07,38 +29,0.07,62 +30,0.07,47 +31,0.07,107 +32,0.07,72 +33,0.07,566 +34,0.07,78 +35,0.07,42 +36,0.07,40 +37,0.07,940 +38,0.07,168 +39,0.07,195 +40,0.07,77 +41,0.07,52 +42,0.07,50 +43,0.07,51 +44,0.07,65 +45,0.07,80 +46,0.07,129 +47,0.07,100 +48,0.07,109 +49,0.07,129 +50,0.07,73 +1,0.08,121 +2,0.08,88 +3,0.08,72 +4,0.08,72 +5,0.08,109 +6,0.08,106 +7,0.08,124 +8,0.08,71 +9,0.08,58 +10,0.08,106 +11,0.08,52 +12,0.08,527 +13,0.08,266 +14,0.08,271 +15,0.08,75 +16,0.08,49 +17,0.08,89 +18,0.08,92 +19,0.08,153 +20,0.08,63 +21,0.08,64 +22,0.08,57 +23,0.08,46 +24,0.08,102 +25,0.08,144 +26,0.08,2700 +27,0.08,196 +28,0.08,78 +29,0.08,72 +30,0.08,358 +31,0.08,88 +32,0.08,85 +33,0.08,66 +34,0.08,82 +35,0.08,60 +36,0.08,338 +37,0.08,44 +38,0.08,314 +39,0.08,417 +40,0.08,76 +41,0.08,73 +42,0.08,85 +43,0.08,50 +44,0.08,54 +45,0.08,49 +46,0.08,475 +47,0.08,77 +48,0.08,223 +49,0.08,966 +50,0.08,64 +1,0.09,72 +2,0.09,134 +3,0.09,75 +4,0.09,152 +5,0.09,202 +6,0.09,247 +7,0.09,68 +8,0.09,5210 +9,0.09,148 +10,0.09,124 +11,0.09,127 +12,0.09,71 +13,0.09,1286 +14,0.09,57 +15,0.09,144 +16,0.09,55 +17,0.09,53 +18,0.09,54 +19,0.09,356 +20,0.09,114 +21,0.09,54 +22,0.09,61 +23,0.09,110 +24,0.09,103 +25,0.09,146 +26,0.09,327 +27,0.09,253 +28,0.09,394 +29,0.09,400 +30,0.09,87 +31,0.09,48 +32,0.09,114 +33,0.09,367 +34,0.09,244 +35,0.09,36 +36,0.09,130 +37,0.09,549 +38,0.09,98 +39,0.09,148 +40,0.09,4545 +41,0.09,125 +42,0.09,56 +43,0.09,40 +44,0.09,85 +45,0.09,109 +46,0.09,108 +47,0.09,102 +48,0.09,244 +49,0.09,36 +50,0.09,920 +1,0.10,345 +2,0.10,194 +3,0.10,111 +4,0.10,183 +5,0.10,66 +6,0.10,16608 +7,0.10,124 +8,0.10,300 +9,0.10,102 +10,0.10,106 +11,0.10,410 +12,0.10,207 +13,0.10,43 +14,0.10,6092 +15,0.10,79 +16,0.10,103 +17,0.10,1655 +18,0.10,19229 +19,0.10,48 +20,0.10,125 +21,0.10,659 +22,0.10,17913 +23,0.10,93 +24,0.10,886 +25,0.10,58 +26,0.10,111 +27,0.10,89 +28,0.10,51 +29,0.10,9705 +30,0.10,241 +31,0.10,50 +32,0.10,1400 +33,0.10,238 +34,0.10,1249 +35,0.10,341 +36,0.10,98 +37,0.10,59 +38,0.10,685 +39,0.10,71 +40,0.10,72 +41,0.10,277 +42,0.10,110 +43,0.10,165 +44,0.10,8086 +45,0.10,4460 +46,0.10,101 +47,0.10,292 +48,0.10,80 +49,0.10,64 +50,0.10,60 diff --git a/data-reg.csv b/data-reg.csv new file mode 100644 index 0000000..017c13a --- /dev/null +++ b/data-reg.csv @@ -0,0 +1,501 @@ +experiment_number,probability,result +1,0.01,34 +2,0.01,30 +3,0.01,37 +4,0.01,30 +5,0.01,32 +6,0.01,30 +7,0.01,44 +8,0.01,30 +9,0.01,30 +10,0.01,39 +11,0.01,34 +12,0.01,30 +13,0.01,30 +14,0.01,32 +15,0.01,34 +16,0.01,32 +17,0.01,34 +18,0.01,34 +19,0.01,34 +20,0.01,34 +21,0.01,41 +22,0.01,32 +23,0.01,32 +24,0.01,30 +25,0.01,30 +26,0.01,34 +27,0.01,34 +28,0.01,39 +29,0.01,32 +30,0.01,32 +31,0.01,30 +32,0.01,30 +33,0.01,30 +34,0.01,32 +35,0.01,32 +36,0.01,32 +37,0.01,32 +38,0.01,30 +39,0.01,30 +40,0.01,34 +41,0.01,30 +42,0.01,30 +43,0.01,30 +44,0.01,30 +45,0.01,34 +46,0.01,32 +47,0.01,37 +48,0.01,41 +49,0.01,37 +50,0.01,36 +1,0.02,36 +2,0.02,32 +3,0.02,34 +4,0.02,38 +5,0.02,43 +6,0.02,30 +7,0.02,32 +8,0.02,41 +9,0.02,34 +10,0.02,39 +11,0.02,32 +12,0.02,30 +13,0.02,32 +14,0.02,32 +15,0.02,47 +16,0.02,34 +17,0.02,34 +18,0.02,32 +19,0.02,36 +20,0.02,32 +21,0.02,34 +22,0.02,34 +23,0.02,32 +24,0.02,37 +25,0.02,38 +26,0.02,47 +27,0.02,32 +28,0.02,34 +29,0.02,32 +30,0.02,45 +31,0.02,34 +32,0.02,34 +33,0.02,32 +34,0.02,32 +35,0.02,64 +36,0.02,34 +37,0.02,37 +38,0.02,34 +39,0.02,32 +40,0.02,63 +41,0.02,34 +42,0.02,32 +43,0.02,30 +44,0.02,30 +45,0.02,37 +46,0.02,30 +47,0.02,39 +48,0.02,51 +49,0.02,51 +50,0.02,30 +1,0.03,41 +2,0.03,72 +3,0.03,46 +4,0.03,38 +5,0.03,32 +6,0.03,30 +7,0.03,38 +8,0.03,38 +9,0.03,36 +10,0.03,34 +11,0.03,30 +12,0.03,37 +13,0.03,34 +14,0.03,34 +15,0.03,41 +16,0.03,32 +17,0.03,45 +18,0.03,47 +19,0.03,60 +20,0.03,34 +21,0.03,39 +22,0.03,41 +23,0.03,36 +24,0.03,39 +25,0.03,47 +26,0.03,41 +27,0.03,34 +28,0.03,30 +29,0.03,39 +30,0.03,54 +31,0.03,39 +32,0.03,43 +33,0.03,34 +34,0.03,41 +35,0.03,39 +36,0.03,53 +37,0.03,46 +38,0.03,32 +39,0.03,32 +40,0.03,37 +41,0.03,52 +42,0.03,60 +43,0.03,34 +44,0.03,32 +45,0.03,39 +46,0.03,43 +47,0.03,39 +48,0.03,39 +49,0.03,32 +50,0.03,51 +1,0.04,41 +2,0.04,34 +3,0.04,43 +4,0.04,51 +5,0.04,34 +6,0.04,54 +7,0.04,134 +8,0.04,41 +9,0.04,36 +10,0.04,39 +11,0.04,51 +12,0.04,43 +13,0.04,34 +14,0.04,56 +15,0.04,36 +16,0.04,98 +17,0.04,44 +18,0.04,39 +19,0.04,41 +20,0.04,119 +21,0.04,34 +22,0.04,39 +23,0.04,34 +24,0.04,47 +25,0.04,36 +26,0.04,69 +27,0.04,65 +28,0.04,100 +29,0.04,54 +30,0.04,39 +31,0.04,372 +32,0.04,47 +33,0.04,43 +34,0.04,90 +35,0.04,60 +36,0.04,71 +37,0.04,39 +38,0.04,47 +39,0.04,34 +40,0.04,48 +41,0.04,84 +42,0.04,46 +43,0.04,70 +44,0.04,39 +45,0.04,88 +46,0.04,44 +47,0.04,56 +48,0.04,36 +49,0.04,66 +50,0.04,37 +1,0.05,43 +2,0.05,66 +3,0.05,39 +4,0.05,51 +5,0.05,68 +6,0.05,37 +7,0.05,178 +8,0.05,65 +9,0.05,49 +10,0.05,34 +11,0.05,54 +12,0.05,86 +13,0.05,47 +14,0.05,53 +15,0.05,41 +16,0.05,36 +17,0.05,39 +18,0.05,79 +19,0.05,440 +20,0.05,34 +21,0.05,107 +22,0.05,41 +23,0.05,39 +24,0.05,66 +25,0.05,47 +26,0.05,34 +27,0.05,72 +28,0.05,218 +29,0.05,1113 +30,0.05,53 +31,0.05,41 +32,0.05,41 +33,0.05,147 +34,0.05,46 +35,0.05,39 +36,0.05,996 +37,0.05,38 +38,0.05,73 +39,0.05,48 +40,0.05,66 +41,0.05,34 +42,0.05,51 +43,0.05,48 +44,0.05,60 +45,0.05,39 +46,0.05,73 +47,0.05,83 +48,0.05,41 +49,0.05,41 +50,0.05,46 +1,0.06,412 +2,0.06,39 +3,0.06,68 +4,0.06,50 +5,0.06,34 +6,0.06,58 +7,0.06,560 +8,0.06,41 +9,0.06,65 +10,0.06,39 +11,0.06,95 +12,0.06,147 +13,0.06,43 +14,0.06,56 +15,0.06,52 +16,0.06,149 +17,0.06,41 +18,0.06,156 +19,0.06,47 +20,0.06,131 +21,0.06,38 +22,0.06,47 +23,0.06,38 +24,0.06,101 +25,0.06,679 +26,0.06,36 +27,0.06,178 +28,0.06,51 +29,0.06,39 +30,0.06,90 +31,0.06,48 +32,0.06,104 +33,0.06,48 +34,0.06,260 +35,0.06,66 +36,0.06,144 +37,0.06,75 +38,0.06,39 +39,0.06,68 +40,0.06,51 +41,0.06,96 +42,0.06,52 +43,0.06,110 +44,0.06,226 +45,0.06,51 +46,0.06,86 +47,0.06,58 +48,0.06,118 +49,0.06,64 +50,0.06,65 +1,0.07,3648 +2,0.07,364 +3,0.07,43 +4,0.07,43 +5,0.07,53 +6,0.07,46 +7,0.07,104 +8,0.07,900 +9,0.07,64 +10,0.07,65 +11,0.07,49 +12,0.07,79 +13,0.07,78 +14,0.07,6885 +15,0.07,47 +16,0.07,220 +17,0.07,84 +18,0.07,112 +19,0.07,80 +20,0.07,591 +21,0.07,39 +22,0.07,103 +23,0.07,208 +24,0.07,103 +25,0.07,328 +26,0.07,98 +27,0.07,73 +28,0.07,39 +29,0.07,72 +30,0.07,47 +31,0.07,207 +32,0.07,110 +33,0.07,897 +34,0.07,126 +35,0.07,43 +36,0.07,41 +37,0.07,1995 +38,0.07,373 +39,0.07,718 +40,0.07,89 +41,0.07,51 +42,0.07,53 +43,0.07,52 +44,0.07,64 +45,0.07,87 +46,0.07,258 +47,0.07,152 +48,0.07,121 +49,0.07,256 +50,0.07,74 +1,0.08,372 +2,0.08,94 +3,0.08,92 +4,0.08,74 +5,0.08,131 +6,0.08,119 +7,0.08,204 +8,0.08,71 +9,0.08,66 +10,0.08,182 +11,0.08,51 +12,0.08,784 +13,0.08,543 +14,0.08,402 +15,0.08,77 +16,0.08,49 +17,0.08,110 +18,0.08,112 +19,0.08,313 +20,0.08,62 +21,0.08,65 +22,0.08,58 +23,0.08,48 +24,0.08,145 +25,0.08,193 +26,0.08,12068 +27,0.08,338 +28,0.08,86 +29,0.08,92 +30,0.08,807 +31,0.08,118 +32,0.08,120 +33,0.08,75 +34,0.08,87 +35,0.08,70 +36,0.08,2650 +37,0.08,45 +38,0.08,1937 +39,0.08,778 +40,0.08,85 +41,0.08,93 +42,0.08,97 +43,0.08,49 +44,0.08,54 +45,0.08,49 +46,0.08,1510 +47,0.08,95 +48,0.08,1103 +49,0.08,2035 +50,0.08,67 +1,0.09,81 +2,0.09,310 +3,0.09,82 +4,0.09,451 +5,0.09,576 +6,0.09,247 +7,0.09,68 +8,0.09,10005 +9,0.09,164 +10,0.09,167 +11,0.09,179 +12,0.09,106 +13,0.09,4189 +14,0.09,66 +15,0.09,241 +16,0.09,64 +17,0.09,54 +18,0.09,54 +19,0.09,677 +20,0.09,206 +21,0.09,53 +22,0.09,71 +23,0.09,164 +24,0.09,144 +25,0.09,301 +26,0.09,2381 +27,0.09,500 +28,0.09,2915 +29,0.09,1460 +30,0.09,125 +31,0.09,47 +32,0.09,304 +33,0.09,688 +34,0.09,495 +35,0.09,37 +36,0.09,183 +37,0.09,1480 +38,0.09,145 +39,0.09,653 +40,0.09,6827 +41,0.09,279 +42,0.09,56 +43,0.09,41 +44,0.09,139 +45,0.09,171 +46,0.09,163 +47,0.09,147 +48,0.09,673 +49,0.09,36 +50,0.09,9021 +1,0.10,1228 +2,0.10,385 +3,0.10,212 +4,0.10,526 +5,0.10,67 +6,0.10,24950 +7,0.10,216 +8,0.10,4143 +9,0.10,114 +10,0.10,180 +11,0.10,1864 +12,0.10,645 +13,0.10,53 +14,0.10,9656 +15,0.10,96 +16,0.10,146 +17,0.10,2599 +18,0.10,27520 +19,0.10,47 +20,0.10,270 +21,0.10,1015 +22,0.10,32746 +23,0.10,104 +24,0.10,5804 +25,0.10,68 +26,0.10,153 +27,0.10,96 +28,0.10,51 +29,0.10,15994 +30,0.10,651 +31,0.10,49 +32,0.10,5920 +33,0.10,1403 +34,0.10,2754 +35,0.10,2541 +36,0.10,173 +37,0.10,60 +38,0.10,2091 +39,0.10,82 +40,0.10,81 +41,0.10,1680 +42,0.10,164 +43,0.10,165 +44,0.10,20160 +45,0.10,6467 +46,0.10,157 +47,0.10,774 +48,0.10,96 +49,0.10,73 +50,0.10,61 diff --git a/src/io/github/ethankelly/experiments/Main.java b/src/io/github/ethankelly/experiments/Main.java index 176aa9b..3d77447 100644 --- a/src/io/github/ethankelly/experiments/Main.java +++ b/src/io/github/ethankelly/experiments/Main.java @@ -18,7 +18,7 @@ public static void main(String[] args) { int iterations = 50; int numVertices = 15; - double pMax = 0.20; + double pMax = 0.10; Integer[][] regResults = new Integer[(int) (pMax*100)][iterations]; Integer[][] redResults = new Integer[(int) (pMax*100)][iterations]; diff --git a/src/io/github/ethankelly/experiments/chart.py b/src/io/github/ethankelly/experiments/chart.py index f8670e9..2c97a9c 100644 --- a/src/io/github/ethankelly/experiments/chart.py +++ b/src/io/github/ethankelly/experiments/chart.py @@ -3,7 +3,7 @@ import numpy as np import seaborn as sns -data_filepath = "/Users/ethankelly/IdeaProjects/Equations/data_adjusted.csv" +data_filepath = "/Users/ethankelly/IdeaProjects/Equations/data.csv" font = {'family': 'serif', 'color': 'black', 'weight': 'normal', 'size': 24} num_v = 12