mirror of
https://github.com/3x4byte/StreetsignRecognition.git
synced 2025-12-21 01:15:52 +00:00
fixed learn rate and added analyses part
This commit is contained in:
319
analyses.R
Normal file
319
analyses.R
Normal file
@@ -0,0 +1,319 @@
|
||||
testing_sizes = c(338, 360, 359, 333)
|
||||
training_sizes = c()
|
||||
|
||||
plotData = function(test_means, confidence) {
|
||||
plot(x= seq(1, length(test_means)), y = test_means, ylab="Mean of false analysis", xlab="Test number", type="p")
|
||||
abline(h = mean(test_means), lwd=2, col="red")
|
||||
abline(h = mean(test_means) + confidence, lwd=1, col="purple")
|
||||
abline(h = mean(test_means) - confidence, lwd=1, col="purple")
|
||||
}
|
||||
|
||||
confidence_99 = function(data) {
|
||||
sigma = sd(data)
|
||||
return (2.58 * (sigma/sqrt(length(data))))
|
||||
}
|
||||
|
||||
nn_36000_8 = c(0.17636636227340874, 0.1418836036527191, 0.16069238108218617, 0.16355458634319203, 0.14883467357230476, 0.13397846531279814, 0.16164644950252147, 0.15428649311707782, 0.16587160964972059, 0.21602834946163282, 0.16491754122938532, 0.1450183998909636, 0.15455908409431648, 0.1511516968788333, 0.14610876379991822, 0.16014719912770886, 0.16246422243423742, 0.17091454272863568, 0.19163145699877335, 0.15047021943573669, 0.14297396756167371, 0.1561946299577484, 0.19735586752078507, 0.16559901867248195, 0.19912770887283632, 0.22884012539184953)
|
||||
|
||||
conf_nn_36000_8 = confidence_95(nn_36000_8)
|
||||
plotData(nn_36000_8, conf_nn_36000_8)
|
||||
|
||||
n_1_dec = c(0.2603550295857988, 0.28055555555555556, 0.31197771587743733, 0.3003003003003003, 0.31353135313531355, 0.3039772727272727, 0.31871345029239767, 0.29838709677419356, 0.2791327913279133, 0.28362573099415206, 0.2967914438502674, 0.2507204610951009, 0.25872093023255816, 0.28888888888888886, 0.27899686520376177, 0.2709497206703911, 0.22712933753943218, 0.2807017543859649, 0.2521246458923513, 0.23964497041420119,
|
||||
0.26843657817109146, 0.2577903682719547, 0.2878338278931751, 0.25663716814159293, 0.28651685393258425, 0.2932551319648094, 0.30973451327433627, 0.3142857142857143, 0.26345609065155806, 0.31746031746031744, 0.2786377708978328, 0.2959770114942529, 0.2732732732732733, 0.26878612716763006, 0.2770083102493075, 0.2755417956656347, 0.25142857142857145, 0.2345679012345679, 0.2626865671641791, 0.29347826086956524, 0.2932551319648094, 0.27380952380952384, 0.29464285714285715, 0.3227848101265823, 0.28609625668449196, 0.2875318066157761, 0.28296703296703296, 0.2776349614395887, 0.22598870056497175, 0.24930747922437674, 0.2443820224719101, 0.2553846153846154, 0.27170868347338933, 0.25219941348973607, 0.25903614457831325,
|
||||
0.27089337175792505, 0.2722222222222222, 0.23384615384615384, 0.2704225352112676, 0.2694610778443114, 0.2990936555891239, 0.2620481927710843, 0.26956521739130435, 0.3087431693989071, 0.2275132275132275, 0.2597402597402597, 0.2770083102493075, 0.273972602739726, 0.24786324786324787, 0.2784090909090909, 0.3042168674698795, 0.26956521739130435, 0.23850574712643677, 0.2208955223880597, 0.27514792899408286, 0.27002967359050445, 0.3081570996978852, 0.2922636103151863, 0.2955801104972376, 0.28291316526610644, 0.23976608187134502, 0.25872093023255816, 0.3211009174311927, 0.2742857142857143, 0.24848484848484848, 0.24316109422492402, 0.27070063694267515, 0.2937853107344633, 0.2768817204301075, 0.2872628726287263, 0.239247311827957, 0.27887323943661974, 0.2824675324675325, 0.2732732732732733, 0.28125, 0.26956521739130435, 0.31339031339031337, 0.29393939393939394, 0.298050139275766, 0.2627118644067797, 0.3123123123123123, 0.2777777777777778, 0.2849002849002849, 0.2997032640949555, 0.2469879518072289, 0.2962962962962963, 0.2623376623376623, 0.29941860465116277, 0.24802110817941952, 0.27696793002915454, 0.2852852852852853, 0.26628895184135976, 0.30149253731343284, 0.29201101928374656, 0.2521246458923513, 0.28651685393258425, 0.2619718309859155, 0.3009118541033435, 0.24355300859598855, 0.26176470588235295, 0.26704545454545453, 0.259375, 0.2781065088757396, 0.3203342618384401, 0.27988338192419826, 0.2650273224043716, 0.2857142857142857, 0.25846153846153846, 0.25217391304347825, 0.25696594427244585, 0.29745042492917845, 0.25722543352601157, 0.2616279069767442, 0.27507163323782235, 0.24033149171270718, 0.2840909090909091, 0.26912181303116145, 0.25846153846153846, 0.23529411764705882, 0.29518072289156627, 0.3098159509202454, 0.27851458885941643, 0.26506024096385544, 0.3037249283667622, 0.26047904191616766, 0.2476489028213166, 0.26005361930294907, 0.2692307692307692, 0.23209169054441262, 0.2826747720364742, 0.24489795918367346, 0.25501432664756446, 0.2571428571428571, 0.2852852852852853, 0.3002754820936639, 0.23497267759562843, 0.3072463768115942, 0.296969696969697, 0.25745257452574527, 0.21629213483146068, 0.26956521739130435, 0.24233128834355827, 0.26704545454545453, 0.29971988795518206, 0.28034682080924855, 0.28690807799442897, 0.26099706744868034, 0.2849162011173184, 0.2832369942196532, 0.28732394366197184, 0.2872340425531915, 0.2880886426592798, 0.2740112994350282, 0.2784090909090909, 0.2309941520467836, 0.2831858407079646, 0.24685138539042822, 0.31266846361185985, 0.27019498607242337, 0.28205128205128205, 0.2636103151862464, 0.29819277108433734, 0.2785923753665689, 0.27129337539432175, 0.3, 0.26900584795321636, 0.2988826815642458, 0.24477611940298508, 0.311614730878187, 0.2982456140350877, 0.26627218934911245, 0.23098591549295774, 0.3039772727272727, 0.29393939393939394, 0.26512968299711814, 0.2872628726287263, 0.25217391304347825, 0.276536312849162, 0.2804532577903683, 0.28901734104046245)
|
||||
n_1_knn = c(0.07100591715976332, 0.08888888888888889, 0.08635097493036212, 0.0990990990990991, 0.09900990099009901, 0.09659090909090909, 0.09064327485380116, 0.08870967741935484, 0.0975609756097561, 0.08771929824561403, 0.10160427807486631, 0.06051873198847262, 0.08139534883720931, 0.075, 0.09090909090909091, 0.08100558659217877, 0.0694006309148265, 0.08187134502923976, 0.053824362606232294, 0.08284023668639054, 0.0943952802359882, 0.0906515580736544, 0.09198813056379822,
|
||||
0.07079646017699115, 0.08707865168539326, 0.093841642228739, 0.0855457227138643, 0.09714285714285714, 0.1048158640226629, 0.08253968253968254, 0.08978328173374613, 0.08908045977011494, 0.09009009009009009, 0.08959537572254335, 0.0997229916897507, 0.10835913312693499, 0.07142857142857142, 0.08641975308641975, 0.11343283582089553, 0.09239130434782608, 0.05865102639296188, 0.10416666666666667, 0.08630952380952381, 0.09177215189873418, 0.08823529411764706, 0.089058524173028, 0.06868131868131869, 0.09768637532133675, 0.07627118644067797, 0.07479224376731301, 0.07584269662921349, 0.08, 0.09803921568627451, 0.07624633431085044, 0.060240963855421686, 0.07780979827089338, 0.08333333333333333, 0.08307692307692308, 0.07605633802816901, 0.09580838323353294, 0.09365558912386707, 0.08433734939759036, 0.11594202898550725, 0.08196721311475409, 0.08465608465608465, 0.07272727272727272, 0.09695290858725762, 0.08767123287671233, 0.09401709401709402, 0.07954545454545454, 0.09036144578313253, 0.08985507246376812, 0.10057471264367816, 0.07164179104477612, 0.08284023668639054, 0.08605341246290801, 0.09063444108761329, 0.11174785100286533, 0.11049723756906077, 0.07282913165266107, 0.09941520467836257, 0.13372093023255813, 0.1162079510703364, 0.054285714285714284, 0.09090909090909091, 0.1033434650455927, 0.08917197452229299, 0.11299435028248588, 0.07795698924731183, 0.07317073170731707, 0.07258064516129033, 0.08169014084507042, 0.10064935064935066, 0.09009009009009009, 0.08238636363636363, 0.08985507246376812, 0.07977207977207977, 0.11212121212121212, 0.10027855153203342, 0.09322033898305085, 0.08708708708708708, 0.07602339181286549, 0.08547008547008547, 0.09495548961424333, 0.10240963855421686, 0.09971509971509972, 0.08571428571428572, 0.07848837209302326, 0.09234828496042216, 0.05830903790087463, 0.0960960960960961, 0.0764872521246459, 0.11940298507462686, 0.07713498622589532, 0.0708215297450425, 0.10674157303370786, 0.08732394366197183, 0.0790273556231003, 0.09742120343839542, 0.10294117647058823, 0.11079545454545454, 0.084375, 0.09467455621301775, 0.08356545961002786, 0.07580174927113703, 0.07650273224043716, 0.11607142857142858, 0.09230769230769231, 0.08695652173913043, 0.08978328173374613, 0.09631728045325778, 0.07803468208092486, 0.0872093023255814, 0.08595988538681948, 0.09116022099447514, 0.07954545454545454, 0.09348441926345609, 0.08615384615384615, 0.08978328173374613, 0.10240963855421686, 0.09815950920245399, 0.07957559681697612, 0.09337349397590361, 0.08882521489971347, 0.07784431137724551, 0.09404388714733543, 0.07506702412868632, 0.11858974358974358, 0.054441260744985676, 0.11246200607902736, 0.09037900874635568, 0.07163323782234957, 0.09428571428571429, 0.12912912912912913, 0.10743801652892562, 0.10655737704918032, 0.08695652173913043, 0.08484848484848485, 0.07317073170731707, 0.09550561797752809, 0.09565217391304348, 0.08588957055214724, 0.08522727272727272, 0.10644257703081232, 0.11271676300578035, 0.09749303621169916, 0.09090909090909091, 0.1005586592178771, 0.0953757225433526, 0.09014084507042254, 0.07712765957446809, 0.09695290858725762, 0.0903954802259887, 0.08238636363636363, 0.07894736842105263, 0.06489675516224189, 0.08816120906801007, 0.07277628032345014, 0.09749303621169916, 0.0641025641025641, 0.08022922636103152, 0.08132530120481928, 0.09970674486803519, 0.07570977917981073, 0.08888888888888889, 0.07894736842105263, 0.10614525139664804, 0.08656716417910448, 0.09631728045325778, 0.07894736842105263, 0.10059171597633136, 0.09859154929577464, 0.09090909090909091, 0.11515151515151516,
|
||||
0.08069164265129683, 0.0948509485094851, 0.09565217391304348, 0.07541899441340782, 0.08498583569405099, 0.06647398843930635)
|
||||
|
||||
conf_n_1_dec_96 = 0.0031258721913080606
|
||||
conf_n_1_knn_96 = 0.001884477791359248
|
||||
|
||||
as.table(n_1_knn)
|
||||
|
||||
n_2_dec = c(0.21301775147928995, 0.28055555555555556, 0.28133704735376047, 0.27627627627627627, 0.26732673267326734, 0.2840909090909091, 0.30701754385964913, 0.28763440860215056, 0.2682926829268293, 0.2807017543859649, 0.28342245989304815, 0.25360230547550433, 0.2616279069767442, 0.2638888888888889, 0.2727272727272727, 0.25977653631284914, 0.2113564668769716, 0.2573099415204678, 0.21813031161473087, 0.26331360946745563, 0.27728613569321536, 0.28611898016997167, 0.26112759643916916, 0.25663716814159293, 0.26685393258426965, 0.25219941348973607, 0.2536873156342183, 0.3028571428571429, 0.2776203966005666, 0.30158730158730157, 0.2755417956656347, 0.27873563218390807, 0.2822822822822823, 0.2543352601156069, 0.2520775623268698, 0.2755417956656347, 0.22857142857142856, 0.24382716049382716,
|
||||
0.2537313432835821, 0.26902173913043476, 0.2844574780058651, 0.24404761904761904, 0.2708333333333333, 0.30063291139240506, 0.26737967914438504, 0.272264631043257, 0.2802197802197802, 0.2570694087403599, 0.21468926553672316, 0.2548476454293629, 0.23314606741573032, 0.24, 0.2913165266106443, 0.25513196480938416, 0.2710843373493976, 0.2622478386167147, 0.2722222222222222, 0.25846153846153846, 0.23380281690140844, 0.2634730538922156, 0.27794561933534745, 0.23795180722891565, 0.2608695652173913, 0.2677595628415301, 0.23544973544973544, 0.24935064935064935, 0.2770083102493075, 0.25205479452054796, 0.21652421652421652, 0.26988636363636365, 0.28012048192771083, 0.26666666666666666, 0.2413793103448276, 0.21492537313432836, 0.28402366863905326, 0.2522255192878338, 0.29607250755287007, 0.27793696275071633, 0.30386740331491713, 0.24929971988795518, 0.25146198830409355, 0.25, 0.2782874617737003, 0.2571428571428571, 0.23333333333333334, 0.24924012158054712, 0.2643312101910828, 0.2909604519774011, 0.2661290322580645, 0.2764227642276423, 0.24193548387096775, 0.28450704225352114, 0.2532467532467532, 0.2732732732732733, 0.26988636363636365, 0.2608695652173913, 0.28205128205128205, 0.2787878787878788,
|
||||
0.27019498607242337, 0.24293785310734464, 0.2912912912912913, 0.26608187134502925, 0.2905982905982906, 0.27596439169139464, 0.2469879518072289, 0.32193732193732194, 0.22597402597402597, 0.26744186046511625, 0.23746701846965698, 0.2594752186588921, 0.2702702702702703, 0.26912181303116145, 0.26865671641791045, 0.26721763085399447, 0.2577903682719547, 0.2612359550561798, 0.2535211267605634, 0.26443768996960487, 0.22063037249283668, 0.28823529411764703, 0.2784090909090909, 0.23125, 0.2869822485207101, 0.2841225626740947, 0.2536443148688047, 0.26229508196721313, 0.2767857142857143, 0.24615384615384617, 0.23478260869565218, 0.23219814241486067, 0.2804532577903683, 0.26011560693641617, 0.25290697674418605, 0.2808022922636103, 0.2154696132596685,
|
||||
0.2556818181818182, 0.254957507082153, 0.27692307692307694, 0.2476780185758514, 0.286144578313253, 0.2822085889570552, 0.2891246684350133, 0.2620481927710843, 0.2607449856733524, 0.26646706586826346, 0.23824451410658307, 0.26273458445040215, 0.2724358974358974, 0.23209169054441262, 0.26443768996960487, 0.21865889212827988, 0.2722063037249284, 0.2571428571428571, 0.26126126126126126, 0.2644628099173554, 0.24043715846994534, 0.26666666666666666, 0.2727272727272727, 0.24932249322493225, 0.21910112359550563, 0.263768115942029, 0.2085889570552147, 0.2897727272727273, 0.22969187675070027, 0.26011560693641617, 0.2618384401114206, 0.2404692082111437, 0.26536312849162014, 0.2630057803468208, 0.2535211267605634, 0.26063829787234044, 0.2742382271468144, 0.2796610169491525,
|
||||
0.26136363636363635, 0.23684210526315788, 0.23303834808259588, 0.2594458438287154, 0.2803234501347709, 0.26740947075208915, 0.25961538461538464, 0.2492836676217765, 0.30120481927710846, 0.2668621700879765, 0.2586750788643533, 0.28888888888888886, 0.23976608187134502, 0.2905027932960894, 0.23880597014925373, 0.26345609065155806, 0.25146198830409355, 0.26627218934911245, 0.2535211267605634, 0.2840909090909091, 0.2636363636363636, 0.2680115273775216, 0.2764227642276423, 0.23768115942028986, 0.26536312849162014, 0.29745042492917845, 0.2658959537572254)
|
||||
n_2_knn = c(0.08579881656804733, 0.10833333333333334, 0.08356545961002786, 0.10810810810810811, 0.09570957095709572, 0.11931818181818182, 0.11403508771929824, 0.09946236559139784, 0.10298102981029811, 0.09941520467836257, 0.10695187165775401, 0.0893371757925072, 0.0872093023255814, 0.1, 0.09404388714733543, 0.08659217877094973, 0.07886435331230283, 0.09649122807017543, 0.0679886685552408, 0.06804733727810651, 0.11504424778761062, 0.10198300283286119, 0.10089020771513353, 0.07374631268436578, 0.10674157303370786, 0.10263929618768329, 0.10619469026548672, 0.12, 0.10764872521246459, 0.09206349206349207, 0.09287925696594428, 0.09770114942528736, 0.12012012012012012, 0.10115606936416185, 0.12465373961218837, 0.10526315789473684, 0.10857142857142857, 0.10185185185185185,
|
||||
0.08955223880597014, 0.08423913043478261, 0.07038123167155426, 0.09523809523809523, 0.08928571428571429, 0.10126582278481013, 0.11229946524064172, 0.11195928753180662, 0.07692307692307693, 0.11311053984575835, 0.062146892655367235, 0.09141274238227147, 0.09269662921348315, 0.07692307692307693, 0.10084033613445378, 0.08211143695014662, 0.07228915662650602, 0.07204610951008646, 0.1, 0.08923076923076922, 0.08169014084507042, 0.10179640718562874, 0.10876132930513595, 0.0963855421686747, 0.11594202898550725, 0.09016393442622951, 0.08994708994708994, 0.08311688311688312, 0.08587257617728532, 0.0958904109589041, 0.10826210826210826, 0.08806818181818182, 0.10843373493975904, 0.09565217391304348, 0.09770114942528736, 0.08059701492537313, 0.09467455621301775, 0.07418397626112759, 0.09969788519637462, 0.10601719197707736, 0.10220994475138122, 0.10364145658263306, 0.10818713450292397, 0.1511627906976744, 0.12538226299694188, 0.06571428571428571, 0.08484848484848485, 0.11550151975683891, 0.09872611464968153, 0.1016949152542373, 0.08333333333333333, 0.08672086720867209, 0.06720430107526881, 0.10422535211267606, 0.08766233766233766, 0.09009009009009009, 0.10795454545454546, 0.0927536231884058,
|
||||
0.10826210826210826, 0.11818181818181818, 0.10306406685236769, 0.1016949152542373, 0.13213213213213212, 0.08187134502923976, 0.1111111111111111, 0.11869436201780416, 0.0963855421686747, 0.1339031339031339, 0.0987012987012987, 0.10174418604651163, 0.11609498680738786, 0.06997084548104957, 0.08408408408408409, 0.0764872521246459, 0.12238805970149254, 0.07713498622589532, 0.06515580736543909, 0.10393258426966293, 0.10704225352112676, 0.0911854103343465, 0.09455587392550144, 0.08529411764705883, 0.11647727272727272, 0.0875, 0.10946745562130178, 0.10027855153203342, 0.09037900874635568, 0.08196721311475409, 0.12202380952380952, 0.08, 0.1072463768115942, 0.07430340557275542, 0.1048158640226629, 0.06936416184971098, 0.10465116279069768, 0.08595988538681948, 0.11049723756906077, 0.08806818181818182, 0.1048158640226629, 0.10153846153846154, 0.08978328173374613, 0.10843373493975904, 0.10122699386503067, 0.07427055702917772, 0.10843373493975904, 0.10028653295128939, 0.11077844311377245, 0.10658307210031348, 0.08579088471849866, 0.11538461538461539, 0.06303724928366762, 0.1033434650455927, 0.10495626822157435, 0.09742120343839542, 0.09714285714285714, 0.11711711711711711, 0.1184573002754821, 0.10109289617486339, 0.1072463768115942, 0.09393939393939393, 0.07588075880758807, 0.07865168539325842, 0.10434782608695652, 0.10122699386503067, 0.07386363636363637, 0.09523809523809523, 0.12138728323699421, 0.116991643454039, 0.0967741935483871, 0.10614525139664804, 0.08959537572254335, 0.09859154929577464, 0.10372340425531915, 0.10249307479224377, 0.10451977401129943, 0.09375, 0.08771929824561403, 0.07669616519174041, 0.08816120906801007, 0.09433962264150944, 0.09192200557103064, 0.07692307692307693, 0.0830945558739255, 0.10542168674698796, 0.12316715542521994, 0.08201892744479496, 0.09722222222222222, 0.08187134502923976, 0.11731843575418995, 0.09253731343283582, 0.09631728045325778, 0.10818713450292397, 0.07100591715976332, 0.10422535211267606, 0.10511363636363637, 0.10303030303030303, 0.11239193083573487,
|
||||
0.08943089430894309, 0.11014492753623188, 0.09776536312849161, 0.10764872521246459, 0.07803468208092486)
|
||||
conf_n_2_dec_96 = 0.0028501567809161438
|
||||
conf_n_2_knn_96 = 0.0020804254293771947
|
||||
|
||||
n_3_dec = c(0.23372781065088757, 0.30833333333333335, 0.28969359331476324, 0.27627627627627627, 0.30363036303630364, 0.3039772727272727, 0.31871345029239767, 0.29838709677419356, 0.27100271002710025, 0.29239766081871343, 0.31016042780748665, 0.2737752161383285, 0.2936046511627907, 0.28888888888888886, 0.28213166144200624, 0.2569832402234637, 0.23659305993690852, 0.2719298245614035, 0.22096317280453256, 0.2869822485207101, 0.2920353982300885, 0.29745042492917845, 0.27596439169139464, 0.2713864306784661, 0.27808988764044945, 0.2756598240469208, 0.25958702064896755, 0.30857142857142855, 0.29461756373937675, 0.29523809523809524, 0.3157894736842105, 0.29310344827586204, 0.2972972972972973, 0.2630057803468208, 0.2631578947368421, 0.29411764705882354, 0.24571428571428572, 0.25925925925925924, 0.2537313432835821, 0.3070652173913043, 0.2932551319648094, 0.2648809523809524, 0.27380952380952384, 0.310126582278481, 0.2994652406417112, 0.27735368956743, 0.2802197802197802, 0.2853470437017995, 0.2288135593220339, 0.2520775623268698, 0.25, 0.27692307692307694, 0.30532212885154064, 0.2756598240469208, 0.2680722891566265, 0.2564841498559078, 0.2777777777777778, 0.27692307692307694, 0.2619718309859155, 0.2754491017964072, 0.28700906344410876, 0.2469879518072289,
|
||||
0.2811594202898551, 0.2896174863387978, 0.25132275132275134, 0.2623376623376623, 0.28254847645429365, 0.26301369863013696, 0.22507122507122507, 0.29829545454545453, 0.28313253012048195, 0.28695652173913044, 0.25, 0.22686567164179106, 0.28106508875739644, 0.26706231454005935, 0.311178247734139, 0.2836676217765043, 0.3149171270718232, 0.2549019607843137, 0.27485380116959063, 0.28488372093023256, 0.28440366972477066, 0.28, 0.24848484848484848, 0.2826747720364742, 0.2802547770700637, 0.3022598870056497, 0.2768817204301075, 0.2872628726287263, 0.25, 0.29859154929577464, 0.262987012987013, 0.29429429429429427, 0.2840909090909091, 0.26956521739130435, 0.29914529914529914, 0.296969696969697, 0.2841225626740947, 0.2711864406779661, 0.2822822822822823, 0.26608187134502925, 0.30484330484330485, 0.27596439169139464, 0.25301204819277107, 0.33903133903133903, 0.24935064935064935, 0.27325581395348836, 0.25857519788918204, 0.2857142857142857, 0.2882882882882883, 0.2804532577903683, 0.27761194029850744, 0.2809917355371901, 0.2747875354107649, 0.2640449438202247, 0.27605633802816903, 0.2796352583586626, 0.22636103151862463, 0.27941176470588236, 0.2869318181818182, 0.225, 0.30177514792899407, 0.28969359331476324, 0.27988338192419826, 0.2650273224043716,
|
||||
0.2708333333333333, 0.27076923076923076, 0.25507246376811593, 0.24458204334365324, 0.29461756373937675, 0.28034682080924855, 0.26744186046511625, 0.2836676217765043, 0.24033149171270718, 0.2755681818181818, 0.2747875354107649, 0.27692307692307694, 0.2631578947368421, 0.29819277108433734, 0.2883435582822086, 0.30238726790450926, 0.25903614457831325, 0.2693409742120344, 0.27844311377245506, 0.26959247648902823, 0.2707774798927614, 0.28525641025641024, 0.23209169054441262, 0.2857142857142857, 0.21574344023323616, 0.29512893982808025, 0.26285714285714284, 0.26426426426426425, 0.2892561983471074, 0.2459016393442623, 0.3159420289855073, 0.28484848484848485, 0.24661246612466126, 0.23595505617977527, 0.26956521739130435, 0.21779141104294478, 0.29829545454545453, 0.22969187675070027, 0.2832369942196532, 0.2841225626740947, 0.24633431085043989, 0.26536312849162014, 0.2745664739884393, 0.2704225352112676, 0.26595744680851063, 0.296398891966759, 0.268361581920904, 0.2840909090909091, 0.24561403508771928, 0.24778761061946902, 0.27455919395465994, 0.2803234501347709, 0.28690807799442897, 0.27564102564102566, 0.2636103151862464, 0.3072289156626506, 0.2785923753665689, 0.26813880126182965, 0.29444444444444445, 0.25146198830409355, 0.2877094972067039,
|
||||
0.26865671641791045, 0.29178470254957506, 0.26608187134502925, 0.28402366863905326, 0.2591549295774648, 0.2897727272727273, 0.2818181818181818, 0.276657060518732, 0.2845528455284553, 0.25217391304347825, 0.2849162011173184, 0.3314447592067989, 0.26878612716763006)
|
||||
n_3_knn = c(0.10355029585798817, 0.1111111111111111, 0.08913649025069638, 0.10810810810810811, 0.10561056105610561, 0.10511363636363637, 0.10818713450292397, 0.10215053763440861, 0.1111111111111111, 0.1023391812865497, 0.11229946524064172, 0.09798270893371758, 0.09593023255813954, 0.09722222222222222, 0.109717868338558, 0.08659217877094973, 0.07255520504731862, 0.09649122807017543, 0.0821529745042493, 0.08284023668639054, 0.10914454277286136, 0.11614730878186968, 0.09495548961424333, 0.08259587020648967, 0.10674157303370786, 0.09970674486803519, 0.11504424778761062, 0.10571428571428572, 0.11898016997167139, 0.09206349206349207, 0.09287925696594428, 0.12931034482758622, 0.12612612612612611, 0.09826589595375723, 0.11911357340720222, 0.11455108359133127, 0.09142857142857143, 0.09567901234567901, 0.1044776119402985, 0.10054347826086957, 0.08211143695014662, 0.09821428571428571, 0.1130952380952381, 0.12658227848101267, 0.09358288770053476, 0.12213740458015267, 0.08516483516483517, 0.09768637532133675, 0.07344632768361582, 0.0997229916897507, 0.08146067415730338, 0.11692307692307692, 0.12324929971988796, 0.08797653958944282, 0.09036144578313253, 0.1037463976945245, 0.08611111111111111, 0.08615384615384615, 0.08732394366197183, 0.12275449101796407,
|
||||
0.10876132930513595, 0.09036144578313253, 0.12753623188405797, 0.11475409836065574, 0.10582010582010581, 0.10649350649350649, 0.0997229916897507, 0.1095890410958904, 0.150997150997151, 0.10511363636363637, 0.12048192771084337, 0.10144927536231885, 0.11206896551724138, 0.08059701492537313, 0.11834319526627218, 0.09495548961424333, 0.1027190332326284, 0.11461318051575932, 0.12154696132596685, 0.1092436974789916, 0.11403508771929824, 0.14534883720930233, 0.12232415902140673, 0.09428571428571429, 0.09393939393939393, 0.1033434650455927, 0.1178343949044586, 0.1384180790960452, 0.0967741935483871, 0.08943089430894309, 0.08333333333333333, 0.10985915492957747, 0.09415584415584416, 0.10510510510510511, 0.10511363636363637, 0.11304347826086956, 0.10541310541310542, 0.13333333333333333, 0.10306406685236769, 0.09887005649717515, 0.12012012012012012, 0.0847953216374269, 0.10826210826210826, 0.13353115727002968, 0.12349397590361445, 0.1396011396011396, 0.1038961038961039, 0.12790697674418605, 0.10290237467018469, 0.0728862973760933, 0.10810810810810811, 0.08498583569405099, 0.1373134328358209, 0.0881542699724518, 0.07932011331444759, 0.12078651685393259, 0.12112676056338029, 0.10030395136778116, 0.09742120343839542, 0.09705882352941177, 0.11363636363636363,
|
||||
0.1, 0.12721893491124261, 0.10584958217270195, 0.10495626822157435, 0.08469945355191257, 0.13988095238095238, 0.08923076923076922, 0.10434782608695652, 0.1021671826625387, 0.10764872521246459, 0.0953757225433526, 0.11337209302325581, 0.09742120343839542, 0.10773480662983426, 0.10227272727272728, 0.09348441926345609, 0.10153846153846154, 0.08978328173374613, 0.11144578313253012, 0.10736196319018405, 0.09283819628647215, 0.10843373493975904, 0.10601719197707736, 0.10778443113772455, 0.13166144200626959, 0.09919571045576407, 0.1282051282051282, 0.05730659025787966, 0.1094224924012158, 0.09912536443148688, 0.11174785100286533, 0.10571428571428572, 0.14114114114114115, 0.15151515151515152, 0.11202185792349727, 0.11304347826086956, 0.11212121212121212, 0.08943089430894309, 0.09550561797752809, 0.12173913043478261, 0.10736196319018405, 0.08522727272727272, 0.1092436974789916, 0.12138728323699421, 0.10863509749303621, 0.08504398826979472, 0.12011173184357542, 0.1069364161849711, 0.10140845070422536, 0.10106382978723404, 0.12188365650969529, 0.11581920903954802, 0.09943181818181818, 0.07894736842105263, 0.09734513274336283, 0.10579345088161209, 0.09164420485175202, 0.0947075208913649, 0.09294871794871795, 0.08882521489971347, 0.09337349397590361, 0.12023460410557185,
|
||||
0.09779179810725552, 0.08888888888888889, 0.08187134502923976, 0.13128491620111732, 0.10149253731343283, 0.1274787535410765, 0.1286549707602339, 0.09171597633136094, 0.12394366197183099, 0.11647727272727272, 0.1303030303030303, 0.1037463976945245, 0.10569105691056911, 0.12173913043478261, 0.09217877094972067, 0.10764872521246459, 0.09248554913294797)
|
||||
conf_n_3_dec_96 = 0.002986870507091557
|
||||
conf_n_3_knn_96 = 0.0021666274256290394
|
||||
|
||||
n_4_dec = c(0.2455621301775148, 0.31666666666666665, 0.2841225626740947, 0.2852852852852853, 0.297029702970297, 0.3125, 0.3391812865497076, 0.31451612903225806, 0.28184281842818426, 0.29239766081871343, 0.2994652406417112, 0.2737752161383285, 0.29069767441860467, 0.29444444444444445, 0.28213166144200624, 0.2681564245810056, 0.24605678233438485, 0.27485380116959063, 0.24079320113314448, 0.28106508875739644, 0.29793510324483774, 0.3002832861189802, 0.2818991097922849, 0.26843657817109146, 0.28651685393258425, 0.2873900293255132, 0.2743362831858407, 0.32, 0.3002832861189802, 0.30793650793650795, 0.3157894736842105, 0.3017241379310345, 0.3123123123123123, 0.28034682080924855, 0.27977839335180055, 0.3188854489164087, 0.2571428571428571, 0.26851851851851855, 0.26865671641791045, 0.3179347826086957, 0.2932551319648094, 0.2767857142857143, 0.27976190476190477, 0.31329113924050633, 0.2994652406417112, 0.2900763358778626, 0.30494505494505497, 0.2853470437017995, 0.2344632768361582, 0.24930747922437674, 0.25842696629213485, 0.27692307692307694, 0.32212885154061627, 0.2785923753665689, 0.27710843373493976, 0.2622478386167147, 0.2833333333333333, 0.28, 0.27887323943661974, 0.2754491017964072, 0.29607250755287007, 0.2680722891566265, 0.28405797101449276, 0.2896174863387978,
|
||||
0.25925925925925924, 0.2623376623376623, 0.30193905817174516, 0.27671232876712326, 0.2336182336182336, 0.3096590909090909, 0.29518072289156627, 0.2985507246376812, 0.26436781609195403, 0.22686567164179106, 0.28106508875739644, 0.27596439169139464, 0.32628398791540786, 0.2979942693409742, 0.3314917127071823, 0.26330532212885155, 0.27485380116959063, 0.3023255813953488, 0.2874617737003058, 0.28285714285714286, 0.2606060606060606, 0.2857142857142857, 0.2898089171974522, 0.3192090395480226, 0.2849462365591398, 0.3008130081300813, 0.25, 0.30985915492957744, 0.2727272727272727, 0.3003003003003003, 0.3039772727272727, 0.28405797101449276, 0.301994301994302, 0.3090909090909091, 0.2924791086350975, 0.2796610169491525, 0.3003003003003003, 0.26900584795321636, 0.3076923076923077, 0.2789317507418398, 0.2680722891566265, 0.34472934472934474, 0.2597402597402597, 0.27906976744186046, 0.2691292875989446, 0.2915451895043732, 0.2912912912912913, 0.2747875354107649, 0.28955223880597014, 0.30578512396694213, 0.29745042492917845, 0.2696629213483146, 0.28169014084507044, 0.3009118541033435, 0.24068767908309455, 0.2823529411764706, 0.2869318181818182, 0.234375, 0.3136094674556213, 0.2924791086350975, 0.282798833819242, 0.27595628415300544, 0.2857142857142857, 0.28923076923076924,
|
||||
0.26666666666666666, 0.25696594427244585, 0.311614730878187, 0.28901734104046245, 0.29941860465116277, 0.28939828080229224, 0.2569060773480663, 0.2727272727272727, 0.2719546742209632, 0.28615384615384615, 0.2848297213622291, 0.3072289156626506, 0.294478527607362, 0.3129973474801061, 0.26506024096385544, 0.28653295128939826, 0.2994011976047904, 0.2727272727272727, 0.289544235924933, 0.3076923076923077, 0.24068767908309455, 0.2917933130699088, 0.2303206997084548, 0.2979942693409742, 0.2857142857142857, 0.27927927927927926, 0.2975206611570248, 0.273224043715847, 0.3159420289855073, 0.29393939393939394, 0.24932249322493225, 0.24719101123595505, 0.2927536231884058, 0.23006134969325154, 0.3039772727272727, 0.24929971988795518, 0.28901734104046245, 0.3008356545961003, 0.26392961876832843, 0.2877094972067039, 0.2832369942196532, 0.28169014084507044, 0.26595744680851063, 0.3047091412742382, 0.288135593220339, 0.2869318181818182, 0.2631578947368421, 0.24778761061946902, 0.28211586901763225, 0.2884097035040431, 0.29526462395543174, 0.2724358974358974, 0.2636103151862464, 0.3192771084337349, 0.2932551319648094, 0.2744479495268139, 0.3, 0.2631578947368421, 0.3016759776536313, 0.2716417910447761, 0.28611898016997167, 0.2777777777777778, 0.3047337278106509, 0.2704225352112676,
|
||||
0.29829545454545453, 0.3, 0.27953890489913547, 0.2845528455284553, 0.263768115942029, 0.30446927374301674, 0.33994334277620397, 0.2832369942196532)
|
||||
n_4_knn = c(0.08875739644970414, 0.125, 0.10863509749303621, 0.11411411411411411, 0.0891089108910891, 0.125, 0.09941520467836257, 0.08602150537634409, 0.1111111111111111, 0.10818713450292397, 0.11497326203208556, 0.10951008645533142, 0.09593023255813954, 0.10555555555555556, 0.11285266457680251, 0.08659217877094973, 0.08832807570977919, 0.0847953216374269, 0.0764872521246459, 0.08875739644970414, 0.11209439528023599, 0.09348441926345609, 0.09198813056379822, 0.0943952802359882, 0.1151685393258427, 0.08504398826979472, 0.11209439528023599, 0.10285714285714286, 0.11331444759206799, 0.09523809523809523, 0.09597523219814241, 0.10919540229885058, 0.1111111111111111, 0.10982658959537572, 0.13573407202216067, 0.1238390092879257, 0.10285714285714286, 0.10493827160493827, 0.0955223880597015, 0.09239130434782608, 0.08504398826979472, 0.11011904761904762, 0.09523809523809523, 0.10443037974683544, 0.10695187165775401, 0.10941475826972011, 0.07417582417582418, 0.11053984575835475, 0.07344632768361582, 0.10249307479224377, 0.07865168539325842, 0.10461538461538461, 0.10084033613445378, 0.093841642228739, 0.060240963855421686, 0.07204610951008646, 0.09722222222222222, 0.08923076923076922, 0.10140845070422536, 0.11377245508982035, 0.09667673716012085, 0.0963855421686747, 0.12173913043478261,
|
||||
0.09836065573770492, 0.10846560846560846, 0.1012987012987013, 0.09141274238227147, 0.10684931506849316, 0.13105413105413105, 0.09090909090909091, 0.1144578313253012, 0.10144927536231885, 0.10057471264367816, 0.08059701492537313, 0.10650887573964497, 0.06231454005934718, 0.09667673716012085, 0.11174785100286533, 0.12430939226519337, 0.10364145658263306, 0.11403508771929824, 0.13372093023255813, 0.12844036697247707, 0.1, 0.09696969696969697, 0.0972644376899696, 0.11464968152866242, 0.12429378531073447, 0.0967741935483871, 0.10298102981029811, 0.08870967741935484, 0.11267605633802817, 0.10064935064935066, 0.09009009009009009, 0.11079545454545454, 0.11304347826086956, 0.1282051282051282, 0.11515151515151516, 0.10863509749303621, 0.1016949152542373, 0.13213213213213212, 0.08187134502923976, 0.11396011396011396, 0.12462908011869436, 0.10843373493975904, 0.1339031339031339, 0.1038961038961039, 0.12790697674418605, 0.10554089709762533, 0.0728862973760933, 0.11411411411411411, 0.08498583569405099, 0.11641791044776119, 0.08539944903581267, 0.0708215297450425, 0.12359550561797752, 0.12394366197183099, 0.0851063829787234, 0.09169054441260745, 0.09705882352941177, 0.11647727272727272, 0.115625, 0.11242603550295859, 0.10863509749303621, 0.08454810495626822, 0.09289617486338798,
|
||||
0.11607142857142858, 0.07384615384615385, 0.10434782608695652, 0.1021671826625387, 0.11331444759206799, 0.08092485549132948, 0.11337209302325581, 0.11174785100286533, 0.11049723756906077, 0.09090909090909091, 0.12464589235127478, 0.08615384615384615, 0.08668730650154799, 0.10240963855421686, 0.09815950920245399, 0.08753315649867374, 0.11144578313253012, 0.10888252148997135, 0.11377245508982035, 0.11285266457680251, 0.08579088471849866, 0.12179487179487179, 0.05157593123209169, 0.0911854103343465, 0.09620991253644315, 0.10888252148997135, 0.09714285714285714, 0.13213213213213212, 0.12672176308539945, 0.11475409836065574, 0.11884057971014493, 0.11515151515151516, 0.08672086720867209, 0.07303370786516854, 0.0927536231884058, 0.09815950920245399, 0.08806818181818182, 0.09523809523809523, 0.10982658959537572, 0.10027855153203342, 0.093841642228739, 0.12290502793296089, 0.10982658959537572, 0.10704225352112676, 0.10106382978723404, 0.1329639889196676, 0.1016949152542373, 0.11079545454545454, 0.09649122807017543, 0.0855457227138643, 0.10831234256926953, 0.09164420485175202, 0.08913649025069638, 0.08653846153846154, 0.08595988538681948, 0.09939759036144578, 0.10557184750733138, 0.0914826498422713, 0.08611111111111111, 0.0847953216374269, 0.12569832402234637, 0.09253731343283582,
|
||||
0.09915014164305949, 0.10526315789473684, 0.09171597633136094, 0.09577464788732394, 0.11931818181818182, 0.11515151515151516, 0.12968299711815562, 0.0948509485094851, 0.11304347826086956, 0.10614525139664804, 0.11048158640226628, 0.10115606936416185)
|
||||
conf_n_4_dec_96 = 0.002976649040496302
|
||||
conf_n_4_knn_96 = 0.002109801013466079
|
||||
|
||||
|
||||
n_5_dec = c(0.2455621301775148, 0.325, 0.28969359331476324, 0.2882882882882883, 0.30363036303630364, 0.3096590909090909, 0.3391812865497076, 0.3172043010752688, 0.28184281842818426, 0.30116959064327486, 0.2967914438502674, 0.2737752161383285, 0.29069767441860467, 0.30277777777777776, 0.2852664576802508, 0.2681564245810056, 0.24921135646687698, 0.2777777777777778, 0.24362606232294617, 0.2781065088757396, 0.30973451327433627, 0.3087818696883853, 0.2818991097922849, 0.2743362831858407, 0.29213483146067415, 0.28152492668621704, 0.2743362831858407, 0.32571428571428573, 0.3002832861189802, 0.30793650793650795, 0.3188854489164087, 0.3074712643678161, 0.3183183183183183, 0.28034682080924855, 0.2853185595567867, 0.3188854489164087, 0.2571428571428571, 0.2716049382716049, 0.2716417910447761, 0.32065217391304346, 0.3020527859237537, 0.27380952380952384, 0.28869047619047616, 0.31962025316455694, 0.3074866310160428, 0.2926208651399491, 0.3076923076923077, 0.29048843187660667, 0.23728813559322035, 0.2520775623268698, 0.26685393258426965, 0.28, 0.3333333333333333, 0.28152492668621704, 0.27710843373493976, 0.2622478386167147, 0.28055555555555556, 0.28615384615384615, 0.27887323943661974, 0.2844311377245509, 0.29607250755287007, 0.28012048192771083, 0.2898550724637681, 0.29508196721311475,
|
||||
0.25925925925925924, 0.2649350649350649, 0.3047091412742382, 0.28493150684931506, 0.23931623931623933, 0.3096590909090909, 0.29518072289156627, 0.2985507246376812, 0.26436781609195403, 0.2417910447761194, 0.28994082840236685, 0.27596439169139464, 0.338368580060423, 0.3037249283667622, 0.3370165745856354, 0.26330532212885155, 0.2719298245614035, 0.3023255813953488, 0.29357798165137616, 0.28285714285714286, 0.2636363636363636, 0.2917933130699088, 0.29936305732484075, 0.3248587570621469, 0.28763440860215056, 0.3062330623306233, 0.25, 0.30985915492957744, 0.2727272727272727, 0.3033033033033033, 0.3068181818181818, 0.2927536231884058, 0.3076923076923077, 0.31212121212121213, 0.298050139275766, 0.2824858757062147, 0.3033033033033033, 0.2719298245614035, 0.31054131054131057, 0.2789317507418398, 0.2740963855421687, 0.3475783475783476, 0.2649350649350649, 0.28488372093023256, 0.27440633245382584, 0.2915451895043732, 0.2912912912912913, 0.2776203966005666, 0.29850746268656714, 0.3085399449035813, 0.29745042492917845, 0.27247191011235955, 0.29014084507042254, 0.3009118541033435, 0.24641833810888253, 0.29411764705882354, 0.29545454545454547, 0.246875, 0.3224852071005917, 0.3008356545961003, 0.27988338192419826, 0.2814207650273224, 0.28869047619047616, 0.2923076923076923,
|
||||
0.2753623188405797, 0.25696594427244585, 0.31728045325779036, 0.29190751445086704, 0.3023255813953488, 0.2922636103151863, 0.26243093922651933, 0.2755681818181818, 0.2719546742209632, 0.28615384615384615, 0.29411764705882354, 0.31626506024096385, 0.29754601226993865, 0.3183023872679045, 0.2710843373493976, 0.2836676217765043, 0.3083832335329341, 0.27586206896551724, 0.289544235924933, 0.3108974358974359, 0.25501432664756446, 0.2948328267477204, 0.239067055393586, 0.2979942693409742, 0.2857142857142857, 0.27627627627627627, 0.3002754820936639, 0.27595628415300544, 0.3159420289855073, 0.29393939393939394, 0.25203252032520324, 0.24719101123595505, 0.2927536231884058, 0.2331288343558282, 0.3039772727272727, 0.2549019607843137, 0.28901734104046245, 0.30919220055710306, 0.2668621700879765, 0.29329608938547486, 0.2861271676300578, 0.29014084507042254, 0.2712765957446808, 0.3074792243767313, 0.2937853107344633, 0.29261363636363635, 0.2719298245614035, 0.25663716814159293, 0.28211586901763225, 0.29110512129380056, 0.298050139275766, 0.2724358974358974, 0.2636103151862464, 0.3253012048192771, 0.2932551319648094, 0.2807570977917981, 0.3, 0.2573099415204678, 0.3016759776536313, 0.28059701492537314, 0.29461756373937675, 0.2807017543859649, 0.3076923076923077, 0.27887323943661974,
|
||||
0.29829545454545453, 0.3, 0.2881844380403458, 0.2845528455284553, 0.263768115942029, 0.3100558659217877, 0.33994334277620397, 0.29190751445086704)
|
||||
n_5_knn = c(0.10059171597633136, 0.1111111111111111, 0.10306406685236769, 0.11411411411411411, 0.10231023102310231, 0.11363636363636363, 0.09064327485380116, 0.08333333333333333, 0.10298102981029811, 0.09941520467836257, 0.11229946524064172, 0.10951008645533142, 0.09302325581395349, 0.08888888888888889, 0.109717868338558, 0.09497206703910614, 0.08832807570977919, 0.08771929824561403, 0.0821529745042493, 0.09467455621301775, 0.10914454277286136, 0.09915014164305949, 0.08902077151335312, 0.0855457227138643, 0.10674157303370786, 0.09970674486803519, 0.12094395280235988, 0.10857142857142857, 0.1274787535410765, 0.10793650793650794, 0.11145510835913312, 0.10344827586206896, 0.11411411411411411, 0.10404624277456648, 0.1329639889196676, 0.11764705882352941, 0.08285714285714285, 0.09259259259259259, 0.10746268656716418, 0.09239130434782608, 0.07624633431085044, 0.11011904761904762, 0.12202380952380952, 0.10759493670886076, 0.11764705882352941, 0.10687022900763359, 0.1043956043956044, 0.09768637532133675, 0.07062146892655367, 0.09141274238227147, 0.07865168539325842, 0.09846153846153846, 0.10084033613445378, 0.09090909090909091, 0.09036144578313253, 0.08357348703170028, 0.09722222222222222, 0.08923076923076922, 0.09859154929577464, 0.11676646706586827, 0.10574018126888217,
|
||||
0.09939759036144578, 0.11594202898550725, 0.11748633879781421, 0.10317460317460317, 0.1012987012987013, 0.09695290858725762, 0.10136986301369863, 0.1339031339031339, 0.09943181818181818, 0.1144578313253012, 0.10434782608695652, 0.11206896551724138, 0.07462686567164178, 0.11538461538461539, 0.09792284866468842, 0.09969788519637462, 0.10601719197707736, 0.12430939226519337, 0.11204481792717087, 0.11988304093567251, 0.14244186046511628, 0.11009174311926606, 0.09142857142857143, 0.1, 0.1033434650455927, 0.10509554140127389, 0.13559322033898305, 0.0967741935483871, 0.08672086720867209, 0.07526881720430108, 0.10985915492957747, 0.10714285714285714, 0.11411411411411411, 0.10795454545454546, 0.11594202898550725, 0.1225071225071225, 0.11515151515151516, 0.11420612813370473, 0.09322033898305085, 0.11411411411411411, 0.08771929824561403, 0.1111111111111111, 0.12166172106824925, 0.11144578313253012, 0.1452991452991453, 0.10649350649350649, 0.11918604651162791, 0.09234828496042216, 0.07580174927113703, 0.12612612612612611, 0.0906515580736544, 0.12835820895522387, 0.09641873278236915, 0.09348441926345609, 0.11797752808988764, 0.11267605633802817, 0.0911854103343465, 0.08882521489971347, 0.09117647058823529, 0.09659090909090909, 0.096875, 0.1390532544378698, 0.11142061281337047,
|
||||
0.10204081632653061, 0.07650273224043716, 0.13690476190476192, 0.09538461538461539, 0.10144927536231885, 0.11764705882352941, 0.11614730878186968, 0.08092485549132948, 0.10174418604651163, 0.10888252148997135, 0.10497237569060773, 0.09375, 0.09915014164305949, 0.09230769230769231, 0.09287925696594428, 0.10240963855421686, 0.0950920245398773, 0.08753315649867374, 0.10843373493975904, 0.09169054441260745, 0.09281437125748503, 0.10344827586206896, 0.10455764075067024, 0.10897435897435898, 0.07449856733524356, 0.0911854103343465, 0.08746355685131195, 0.11174785100286533, 0.09428571428571429, 0.13213213213213212, 0.1349862258953168, 0.11748633879781421, 0.11014492753623188, 0.12727272727272726, 0.08672086720867209, 0.09269662921348315, 0.09855072463768116, 0.09815950920245399, 0.09375, 0.11204481792717087, 0.12138728323699421, 0.11142061281337047, 0.07917888563049853, 0.12849162011173185, 0.11271676300578035, 0.10422535211267606, 0.11702127659574468, 0.11634349030470914, 0.10734463276836158, 0.10227272727272728, 0.08771929824561403, 0.09144542772861357, 0.11083123425692695, 0.10512129380053908, 0.08356545961002786, 0.09935897435897435, 0.10601719197707736, 0.0963855421686747, 0.10850439882697947, 0.07570977917981073, 0.09444444444444444, 0.08187134502923976, 0.13687150837988826,
|
||||
0.08358208955223881, 0.10764872521246459, 0.12280701754385964, 0.09467455621301775, 0.10985915492957747, 0.10511363636363637, 0.13333333333333333, 0.10951008645533142, 0.1111111111111111, 0.11304347826086956, 0.10335195530726257, 0.09348441926345609, 0.1069364161849711)
|
||||
conf_n_5_dec_96 = 0.0029874294302745237
|
||||
conf_n_5_knn_96 = 0.002007543218364148
|
||||
|
||||
plotData(n_5_dec, confidence_95(n_5_dec))
|
||||
|
||||
|
||||
|
||||
best_1000_16 = c(0.21491839289510356, 0.17899237073954224, 0.19290455157427308, 0.1894324113659447, 0.20551763233105794, 0.1948886316933179, 0.22927935375676123, 0.21276897276613838, 0.18525167111510027, 0.21331223279873396, 0.20365165221909914, 0.18577131114627868, 0.1673004700380282, 0.23079103384746202, 0.1972742518364551, 0.17523679051420743, 0.15936414956184897, 0.1690955901457354, 0.1910149514608971, 0.1672296100337766, 0.18435411106124666, 0.20688759241325555, 0.16911921014715262, 0.16515104990906299, 0.1934950516097031, 0.17788223067293385)
|
||||
best_6000_18 = c(0.14931569220880092, 0.1620376570158288, 0.16991188365428395, 0.17733079786806652, 0.14291453517958058, 0.17245627661568952, 0.19948040817419718, 0.17382221388970726, 0.15834159145083965, 0.17765219487371775, 0.1760452098454616, 0.16107346599887512, 0.20917588451134264, 0.19107051985965665, 0.14679808233119962, 0.18201783753381365, 0.17575059592361464, 0.16131451375311354, 0.17250984278329806, 0.18019658783512332, 0.15791306210997133, 0.1728312397889493, 0.19621287195007633, 0.1756166805045933, 0.17044754533036935, 0.189115354741945)
|
||||
best_11000_16 = c(0.13653090886600489, 0.18938058570677552, 0.14812753192936884, 0.1638989392955438, 0.15712651142653924, 0.20338930636731917, 0.17725824906453908, 0.21068744781519622, 0.1601261712589294, 0.17803135726876335, 0.15833256022512912, 0.1796394223335498, 0.14636484522373752, 0.14481862881528898, 0.19330797538423478, 0.17088783746173114, 0.14184989331106782, 0.1818350496335467, 0.1707332158208863, 0.18387605529269876, 0.17243405387017968, 0.17305254043355908, 0.16154869035470204, 0.15239508921668676, 0.1840306769335436, 0.18087639546030862)
|
||||
best_16000_20 = c(0.1416029557010645, 0.15151626001390056, 0.15385740937191353, 0.13501847313165308, 0.18169513845703625, 0.16044189194132494, 0.1501262025825804, 0.16157588616161248, 0.15477192083988733, 0.16658740900610894, 0.17280608698833083, 0.14555364524271133, 0.17565936276840913, 0.14533416249039763, 0.19197424735706187, 0.18048798331931082, 0.16245381717086732, 0.1575520357025277, 0.17185499506163807, 0.1677579836851154, 0.16947726524490617, 0.16581921937301095, 0.1848044774481472, 0.15853970808793943, 0.23898013681091562, 0.18092694882393826)
|
||||
best_21000_17 = c(0.1771500201459462, 0.15181089671844922, 0.1661816716658459, 0.15579531718673054, 0.16721135335989615, 0.15163182164122307, 0.155750548417424, 0.19819134172001612, 0.18923758785870975, 0.163495545507454, 0.1609437256569817, 0.17652325737565475, 0.1410663920848816, 0.16756950351434838, 0.1440658996284192, 0.15100505887093163, 0.16698750951336347, 0.2017280744952321, 0.17173299905985584, 0.14326006178090164, 0.2087567712763576, 0.15427317903030846, 0.15722791780453954, 0.15875005596096164, 0.16721135335989615, 0.20248914357344316)
|
||||
best_26000_15 = c(0.1616196573801696, 0.15515948549345332, 0.16663782661360096, 0.1576397300571033, 0.19905404625944512, 0.16127357674338122, 0.1870565841841149, 0.16300397992732307, 0.18359577781623118, 0.15925477302878238, 0.1833650573917056, 0.17990425102382188, 0.2006690892311242, 0.14702659052892658, 0.15371748284016842, 0.1689450308588568, 0.1700986329814847, 0.17557824306396724, 0.15221780008075214, 0.20113053008017534, 0.18273057622426025, 0.15590932687316145, 0.15965853377170214, 0.148987714137394, 0.13900905577666262, 0.16559958470323585)
|
||||
best_31000_12 = c(0.1403906946583448, 0.18910594147685822, 0.14744265218448568, 0.15433249574450839, 0.1843235794763719, 0.20094026100348544, 0.17524519737375374, 0.160249655507822, 0.16503201750830834, 0.15400826781227203, 0.15465672367674474, 0.16689632811866742, 0.17727162195023102, 0.14979330469319932, 0.18359406662884006, 0.14193077733646753, 0.1680311258814947, 0.15352192591391747, 0.19648212693523548, 0.15741266110075383, 0.16568047337278108, 0.14638891140471752, 0.22468995703979897, 0.13812109913269027, 0.2124503525978763, 0.1610602253384129)
|
||||
best_36000_8 = c(0.17636636227340874, 0.1418836036527191, 0.16069238108218617, 0.16355458634319203, 0.14883467357230476, 0.13397846531279814, 0.16164644950252147, 0.15428649311707782, 0.16587160964972059, 0.21602834946163282, 0.16491754122938532, 0.1450183998909636, 0.15455908409431648, 0.1511516968788333, 0.14610876379991822, 0.16014719912770886, 0.16246422243423742, 0.17091454272863568, 0.19163145699877335, 0.15047021943573669, 0.14297396756167371, 0.1561946299577484, 0.19735586752078507, 0.16559901867248195, 0.19912770887283632, 0.22884012539184953)
|
||||
best_41000_12 = c(0.1844244758237056, 0.1703038083012409, 0.13564398801882754, 0.1621737270004279, 0.19469405220367994, 0.20068463842533163, 0.16645271715875054, 0.17244330338040223, 0.2032520325203252, 0.15917843388960207, 0.13307659392383397, 0.15960633290543433, 0.16859221223791185, 0.20710312366281558, 0.19811724433033803, 0.17629439452289258, 0.1514762516046213, 0.13222079589216945, 0.19554985023534446, 0.16987590928540863, 0.19383825417201542, 0.14548566538296961, 0.17244330338040223, 0.15233204963628583, 0.15832263585793752, 0.13093709884467267)
|
||||
|
||||
|
||||
best_36000_8_max = c(0.1485620825950661, 0.19667439007768842, 0.18154559084094316, 0.1619190404797601, 0.17936486302303395, 0.18727000136295488, 0.2164372359274908, 0.20607877879242198, 0.16587160964972059, 0.2149379855526782, 0.19531143519149516, 0.1617827449911408, 0.19408477579392122, 0.14106583072100312, 0.14610876379991822, 0.1863159329426196, 0.19871882240697833, 0.22175275998364455, 0.1485620825950661, 0.16982417881968107, 0.22884012539184953, 0.1805915224206079, 0.18140929535232383, 0.17064195175139704, 0.17854709009131797, 0.1939484803053019, 0.1959929126345918, 0.2175275998364454, 0.20785062014447322, 0.1959929126345918, 0.16519013220662396, 0.20280768706555813, 0.16273681341147608, 0.1537413111626005, 0.17854709009131797, 0.16014719912770886, 0.17786561264822134, 0.17936486302303395, 0.19367588932806323, 0.18822406978329018, 0.18290854572713644, 0.19067738857843805, 0.16519013220662396, 0.20198991413384218, 0.21657353141611013, 0.1403843532779065, 0.20321657353141612, 0.16123756303666348, 0.14351914951615102, 0.18495297805642633, 0.18958702466948343, 0.1874062968515742, 0.15687610740084504, 0.1770478397165054, 0.16887011039934577, 0.19830993594112034, 0.17500340738721548, 0.16041979010494753, 0.1801826359547499, 0.1838626141474717, 0.15496797056017445, 0.1705056562627777, 0.16764345100177183, 0.23006678478942347, 0.16505383671800464, 0.1628731089000954, 0.1469265367316342, 0.2277497614828949, 0.1679160419790105, 0.16001090363908954, 0.16559901867248195, 0.15905683521875427, 0.16151015401390215, 0.14392803598200898, 0.18754259234019355, 0.157693880332561, 0.17772931715960202, 0.19735586752078507, 0.20335286902003544, 0.16055608559356685, 0.15946572168461223, 0.1786833855799373, 0.17323156603516424, 0.16069238108218617, 0.1634182908545727, 0.14106583072100312, 0.19585661714597247, 0.1898596156467221, 0.17636636227340874, 0.18876925173776749, 0.14842578710644677, 0.1536050156739812, 0.15946572168461223, 0.19122257053291536, 0.14828949161782745, 0.18999591113534142, 0.18645222843123893, 0.1939484803053019, 0.1705056562627777, 0.17364045250102222, 0.17282267956930625)
|
||||
confidence_99(best_36000_8_max)
|
||||
plotData(best_36000_8_max, confidence_99(best_36000_8))
|
||||
|
||||
df <- data.frame(check.names = FALSE, "1000 | 16" = best_1000_16, "6000 | 18" = best_6000_18, "11000 | 16" = best_11000_16, "16000 | 20" = best_16000_20, "21000 | 17" = best_21000_17, "26000 | 15" = best_26000_15, "31000 | 12" = best_31000_12, "36000 | 8" = best_36000_8, "41000 | 12" = best_41000_12)
|
||||
|
||||
boxplot(df, main = "Beste Anzahl Epochen zur Anzahl der Trainings Daten", col = c("gray"), xlab=c("Anzahl Vektoren | Anzahl Epochen"), ylab="Fehlerrate")
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
library(boot)
|
||||
|
||||
# Your data frame
|
||||
df <- data.frame(check.names = FALSE,
|
||||
"1000 | 16" = best_1000_16,
|
||||
"6000 | 18" = best_6000_18,
|
||||
"11000 | 16" = best_11000_16,
|
||||
"16000 | 20" = best_16000_20,
|
||||
"21000 | 17" = best_21000_17,
|
||||
"26000 | 15" = best_26000_15,
|
||||
"31000 | 12" = best_31000_12,
|
||||
"36000 | 8" = best_36000_8,
|
||||
"41000 | 12" = best_41000_12)
|
||||
|
||||
|
||||
max(df[8])-min(df[8])
|
||||
|
||||
# Function to compute the confidence interval
|
||||
ci_function <- function(x) {
|
||||
return(boot.ci(boot(data = x, statistic = function(x, i) mean(x[i]), R = 1000), type = "bca")$bca[4:5])
|
||||
}
|
||||
|
||||
conf_int = apply(best_36000_8_max, 2, ci_function)
|
||||
|
||||
# Calculate 95% confidence intervals for each column
|
||||
conf_intervals <- apply(df, 2, ci_function)
|
||||
|
||||
ci_lower <- conf_intervals[[i]][1]
|
||||
ci_upper <- conf_intervals[[i]][2]
|
||||
# Plot the boxplot
|
||||
boxplot(df, main = "Beste Epoche zu Anzahl der Trainings Daten", col = "gray",
|
||||
xlab = "Anzahl Vektoren | Anzahl Epochen", ylab = "Fehlerrate")
|
||||
|
||||
# Add confidence interval lines to the plot
|
||||
for (i in 1:ncol(df)) {
|
||||
# Get the boxplot coordinates
|
||||
box_stats <- boxplot(df[, i], plot = FALSE)$stats
|
||||
# Confidence interval
|
||||
ci_lower <- conf_intervals[1, i] # Extract lower bound for the i-th column
|
||||
ci_upper <- conf_intervals[2, i] # Extract upper bound for the i-th column
|
||||
|
||||
# Draw the lines on top of each box
|
||||
segments(x0 = i - 0.2, y0 = ci_lower, x1 = i + 0.2, y1 = ci_lower, col = "blue", lwd = 2)
|
||||
segments(x0 = i - 0.2, y0 = ci_upper, x1 = i + 0.2, y1 = ci_upper, col = "red", lwd = 2)
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
n_6_dec = c(0.2514792899408284, 0.3277777777777778, 0.2924791086350975, 0.2882882882882883, 0.30363036303630364, 0.3153409090909091, 0.34210526315789475, 0.31989247311827956, 0.2899728997289973, 0.30701754385964913, 0.30213903743315507, 0.276657060518732, 0.2936046511627907, 0.30277777777777776, 0.2946708463949843, 0.26536312849162014, 0.25236593059936907, 0.2807017543859649, 0.24645892351274787, 0.28106508875739644, 0.30973451327433627, 0.311614730878187, 0.2818991097922849, 0.2743362831858407, 0.2949438202247191, 0.28152492668621704, 0.27728613569321536, 0.32571428571428573, 0.3031161473087819, 0.30793650793650795, 0.3281733746130031, 0.3103448275862069, 0.3213213213213213, 0.2832369942196532, 0.2853185595567867, 0.3157894736842105, 0.2571428571428571, 0.2777777777777778, 0.2746268656716418, 0.32065217391304346, 0.30498533724340177, 0.2767857142857143, 0.2916666666666667, 0.3227848101265823, 0.31016042780748665, 0.2926208651399491, 0.30494505494505497, 0.29562982005141386, 0.23728813559322035, 0.25761772853185594, 0.2696629213483146, 0.28, 0.3333333333333333, 0.2873900293255132, 0.28012048192771083, 0.26512968299711814, 0.28888888888888886, 0.28615384615384615, 0.27887323943661974, 0.2844311377245509, 0.29607250755287007, 0.28012048192771083, 0.2927536231884058, 0.29508196721311475,
|
||||
0.25925925925925924, 0.2701298701298701, 0.31301939058171746, 0.2876712328767123, 0.23931623931623933, 0.3096590909090909, 0.29819277108433734, 0.2985507246376812, 0.26436781609195403, 0.24477611940298508, 0.29289940828402367, 0.27596439169139464, 0.33534743202416917, 0.30659025787965616, 0.3342541436464088, 0.2661064425770308, 0.2777777777777778, 0.30523255813953487, 0.290519877675841, 0.28285714285714286, 0.26666666666666666, 0.2948328267477204, 0.2961783439490446, 0.327683615819209, 0.2903225806451613, 0.3089430894308943, 0.2553763440860215, 0.30985915492957744, 0.2824675324675325, 0.3033033033033033, 0.3125, 0.2985507246376812, 0.3076923076923077, 0.31212121212121213, 0.298050139275766, 0.2853107344632768, 0.3123123123123123, 0.2807017543859649, 0.3162393162393162, 0.2789317507418398, 0.2740963855421687, 0.3475783475783476, 0.2649350649350649, 0.29651162790697677, 0.27440633245382584, 0.2944606413994169, 0.2912912912912913, 0.2804532577903683, 0.29850746268656714, 0.31129476584022037, 0.3002832861189802, 0.27247191011235955, 0.29014084507042254, 0.3100303951367781, 0.24641833810888253, 0.29411764705882354, 0.29545454545454547, 0.24375, 0.3224852071005917, 0.30362116991643456, 0.27988338192419826, 0.2814207650273224, 0.28869047619047616, 0.2923076923076923, 0.2811594202898551,
|
||||
0.25696594427244585, 0.31444759206798867, 0.2976878612716763, 0.30523255813953487, 0.2922636103151863, 0.26243093922651933, 0.28125, 0.2747875354107649, 0.28923076923076924, 0.29411764705882354, 0.3132530120481928, 0.30368098159509205, 0.3129973474801061, 0.2710843373493976, 0.28653295128939826, 0.31137724550898205, 0.28213166144200624, 0.289544235924933, 0.3173076923076923, 0.2521489971346705, 0.2978723404255319, 0.24489795918367346, 0.3037249283667622, 0.2914285714285714, 0.2822822822822823, 0.3002754820936639, 0.27595628415300544, 0.32463768115942027, 0.29393939393939394, 0.25203252032520324, 0.2443820224719101, 0.2927536231884058, 0.2331288343558282, 0.3125, 0.25770308123249297, 0.28901734104046245, 0.30919220055710306, 0.2697947214076246, 0.29608938547486036, 0.28901734104046245, 0.30422535211267604, 0.27393617021276595, 0.31024930747922436, 0.2966101694915254, 0.29545454545454547, 0.2719298245614035, 0.25663716814159293, 0.28211586901763225, 0.29380053908355797, 0.298050139275766, 0.2692307692307692, 0.2636103151862464, 0.32831325301204817, 0.2961876832844575, 0.2744479495268139, 0.3, 0.260233918128655, 0.30726256983240224, 0.28059701492537314, 0.29461756373937675, 0.28362573099415206, 0.3136094674556213, 0.28169014084507044, 0.29829545454545453, 0.30303030303030304, 0.2910662824207493,
|
||||
0.2872628726287263, 0.26666666666666666, 0.3100558659217877, 0.33994334277620397, 0.29190751445086704)
|
||||
n_6_knn = c(0.10355029585798817, 0.1111111111111111, 0.09192200557103064, 0.11711711711711711, 0.09570957095709572, 0.11647727272727272, 0.10526315789473684, 0.10752688172043011, 0.10569105691056911, 0.1023391812865497, 0.12032085561497326, 0.08357348703170028, 0.08430232558139535, 0.09722222222222222, 0.11598746081504702, 0.08659217877094973, 0.0914826498422713, 0.09064327485380116, 0.06515580736543909, 0.08875739644970414, 0.11504424778761062, 0.09631728045325778, 0.08011869436201781, 0.0855457227138643, 0.1151685393258427, 0.10263929618768329, 0.10029498525073746, 0.10571428571428572, 0.12181303116147309, 0.10793650793650794, 0.11145510835913312, 0.09482758620689655, 0.12912912912912913, 0.1069364161849711, 0.13573407202216067, 0.12074303405572756, 0.09142857142857143, 0.10493827160493827, 0.1044776119402985, 0.10326086956521739, 0.07917888563049853, 0.10119047619047619, 0.11011904761904762, 0.11075949367088607, 0.11229946524064172, 0.11195928753180662, 0.08791208791208792, 0.10539845758354756, 0.07344632768361582, 0.10249307479224377, 0.0898876404494382, 0.09230769230769231, 0.10364145658263306, 0.09970674486803519, 0.07530120481927711, 0.07492795389048991, 0.1, 0.09230769230769231, 0.11830985915492957, 0.11077844311377245, 0.09969788519637462, 0.10542168674698796, 0.1072463768115942, 0.10655737704918032,
|
||||
0.11375661375661375, 0.1038961038961039, 0.09418282548476455, 0.0958904109589041, 0.09971509971509972, 0.08806818181818182, 0.11144578313253012, 0.0927536231884058, 0.10344827586206896, 0.07761194029850746, 0.10355029585798817, 0.10089020771513353, 0.09063444108761329, 0.09455587392550144, 0.1270718232044199, 0.10084033613445378, 0.11988304093567251, 0.13662790697674418, 0.11314984709480122, 0.08285714285714285, 0.10303030303030303, 0.1033434650455927, 0.12101910828025478, 0.10734463276836158, 0.0967741935483871, 0.0921409214092141, 0.07795698924731183, 0.10704225352112676, 0.09415584415584416, 0.10510510510510511, 0.10227272727272728, 0.11594202898550725, 0.1282051282051282, 0.11515151515151516, 0.10584958217270195, 0.09887005649717515, 0.12612612612612611, 0.09064327485380116, 0.12535612535612536, 0.12759643916913946, 0.1144578313253012, 0.13105413105413105, 0.11428571428571428, 0.13372093023255813, 0.0870712401055409, 0.07580174927113703, 0.10510510510510511, 0.08498583569405099, 0.1253731343283582, 0.09917355371900827, 0.0821529745042493, 0.10674157303370786, 0.09577464788732394, 0.0911854103343465, 0.09169054441260745, 0.08823529411764706, 0.13352272727272727, 0.109375, 0.13609467455621302, 0.09192200557103064, 0.09620991253644315, 0.08469945355191257, 0.13392857142857142, 0.08615384615384615,
|
||||
0.09855072463768116, 0.10835913312693499, 0.12464589235127478, 0.07225433526011561, 0.11627906976744186, 0.10028653295128939, 0.10497237569060773, 0.10511363636363637, 0.11614730878186968, 0.08307692307692308, 0.08978328173374613, 0.12048192771084337, 0.08282208588957055, 0.09283819628647215, 0.11144578313253012, 0.08882521489971347, 0.11377245508982035, 0.10658307210031348, 0.08847184986595175, 0.125, 0.05730659025787966, 0.0668693009118541, 0.09037900874635568, 0.10601719197707736, 0.09714285714285714, 0.12312312312312312, 0.11019283746556474, 0.10655737704918032, 0.09855072463768116, 0.11515151515151516, 0.0921409214092141, 0.08426966292134831, 0.08985507246376812, 0.09815950920245399, 0.09375, 0.10364145658263306, 0.12138728323699421, 0.09749303621169916, 0.08797653958944282, 0.12290502793296089, 0.11271676300578035, 0.10704225352112676, 0.09840425531914894, 0.13019390581717452, 0.096045197740113, 0.10795454545454546, 0.07602339181286549, 0.08849557522123894, 0.10579345088161209, 0.0889487870619946, 0.08356545961002786, 0.09294871794871795, 0.08882521489971347, 0.09036144578313253, 0.10850439882697947, 0.0694006309148265, 0.09166666666666666, 0.07309941520467836, 0.1424581005586592, 0.08955223880597014, 0.11048158640226628, 0.12573099415204678, 0.09763313609467456, 0.10704225352112676, 0.11647727272727272,
|
||||
0.11212121212121212, 0.12968299711815562, 0.08130081300813008, 0.11594202898550725, 0.10614525139664804, 0.11048158640226628, 0.10115606936416185)
|
||||
|
||||
conf_n_6_dec_96 = 0.0030064961079952846
|
||||
conf_n_6_knn_96 = 0.0021525526583709956
|
||||
|
||||
plotData(n_6_dec, conf_n_6_dec_96)
|
||||
|
||||
solved_400 = c (0.2956424528961036, 0.2632694412744253, 0.31322635489205114, 0.3497449751962177, 0.2596827910659804, 0.2587744835456599, 0.25933344201970326, 0.24915573980483033, 0.2347392691617952, 0.2978549968558586, 0.2584251344993828, 0.23150196799962736, 0.24608146819759183, 0.2079325523441321, 0.24093439224910915, 0.268859026014859, 0.2681370379858863, 0.20313482544192654, 0.23064024035214384, 0.2624542934997787, 0.19097747863148334, 0.2628502224188928, 0.2563057502853017, 0.1760253394508233, 0.23902461746279433, 0.21433728485921233, 0.20921349884714815, 0.2363928546475068, 0.2386053986072618, 0.22321075063465076, 0.24282087709900552, 0.24053846332999512, 0.21263711950066377, 0.2050213102918229, 0.1990357966322752, 0.21089037426927826, 0.2298949623867527, 0.20022358338961735, 0.1991988261872045, 0.23203763653725226, 0.35305214616764097, 0.19433122947574352, 0.22768241842699768, 0.27770920185387893, 0.2189486922700701, 0.19975778466124788, 0.24789808323823276, 0.21589771059925006, 0.24787479330181428, 0.21892540233365163, 0.19635745394415074, 0.21501269301534806, 0.1968465426089387, 0.214616764096234, 0.18895125416307612, 0.20627896685842048, 0.24030556396581038, 0.2733539837436244, 0.2445909122668095, 0.20846822088175698, 0.22430537764631903, 0.2487365209492978, 0.19509979737755315, 0.22924284416703541, 0.26289680229172974, 0.24524303048652676, 0.23117590888976874, 0.1830821901856208, 0.29717958869972283, 0.26792742855812, 0.28667582737499125, 0.2120781610266204, 0.24489368144024967, 0.26124321680601814, 0.20383352353448075, 0.21829657405035285, 0.2760789063045858, 0.21601416028134243, 0.20551039895661086, 0.26287351235531126, 0.21096024407853367, 0.2774530125532757, 0.21452360435056012, 0.18305890024920232, 0.23317884342175746, 0.2775461722989496, 0.2802012250506556, 0.27207303724060833, 0.2766145748422107, 0.2483871719030207, 0.33810000698698095, 0.17052891445606352, 0.21291659873768545, 0.24147006078673405, 0.3149032303141812, 0.19766169038358525, 0.2685795467778373, 0.26897547569695135, 0.23951370612758227, 0.18885809441740223)
|
||||
solved_800 = c(0.16308155253073794, 0.1893175353221901, 0.19533582528151963, 0.26496932082657454, 0.16862966358699485, 0.17951430519312597, 0.22801325904506664, 0.20274114300491336, 0.2585748877447869, 0.22937677786397725, 0.2419540635211698, 0.22232409431788797, 0.19260878764369843, 0.1916684298375532, 0.20544467169758093, 0.23760490866774808, 0.22672026706161694, 0.2333732985400945, 0.15809765615816818, 0.31363283729459057, 0.24990008698309707, 0.1955474057879023, 0.19336107388861462, 0.1887063027481957, 0.1878834896678186, 0.17046336130897807, 0.19260878764369843, 0.1955474057879023, 0.19075158097656159, 0.21329665937889367, 0.1594141570867715, 0.2123327926275948, 0.17652866915861484, 0.19444248536568165, 0.2742553541622587, 0.24082563415379551, 0.2605261301925383, 0.2242518278204857, 0.18280555751463431, 0.22806027693537392, 0.16308155253073794, 0.2023885088276089, 0.20121306156992735, 0.21870371676422878, 0.18200625337941087, 0.17878552789336344, 0.2136257846110445, 0.19126877776994147, 0.22787220537414485, 0.19742812140019278, 0.21592966123610033, 0.20835978089663118, 0.24115475938594635, 0.23511296048146318, 0.24388179702376755, 0.23320873592401908, 0.24421092225591837, 0.2219714601405835, 0.21821002891600255, 0.20003761431224582, 0.22340550579495497, 0.22100759338928463, 0.2485600771093401, 0.18663751557467617, 0.2798034652185156, 0.19763970190657545, 0.22427533676563932, 0.34875520135411525, 0.20281166984037427, 0.19604109363612854, 0.3564191174741989, 0.19183299245362861, 0.17803324164844722, 0.20050779321531842, 0.2556597785457366, 0.1952417895009051, 0.22535674824270635, 0.20847732562239932, 0.22650868655523426, 0.24322354655946588, 0.2108987469732233, 0.16848860991607306, 0.23654700613583468, 0.26572160707149073, 0.21381385617227355, 0.2009309542280838, 0.32705644497731384, 0.3043232950137527, 0.2509814984601641, 0.2525095798951501, 0.2132496414885864, 0.1994969085737123, 0.2216658438535863, 0.18988175000587723, 0.30707384159672757, 0.28727930977737026, 0.19928532806732963, 0.2248630603944801, 0.2499235959282507, 0.2752192209135576)
|
||||
solved_1200 = c(0.1910909651849918, 0.2005600778413271, 0.1853715262121176, 0.2623584972826732, 0.21793198376723544, 0.19336924792937324, 0.19569499489759593, 0.17566509243657594, 0.22426845765004627, 0.29124047749009185, 0.3265538600280039, 0.16142582528419205, 0.16261243088022403, 0.2944443125993782, 0.18034031848494197, 0.24676649975081283, 0.25863255571113275, 0.3180814960723355, 0.21627073593279067, 0.19004675226048365, 0.19645442247905642, 0.18719889883000687, 0.16512803474381185, 0.1899518238128011, 0.17988940835844983, 0.17659064480148087, 0.17333934546835322, 0.16344305479744642, 0.24249471960509766, 0.1994209364691364, 0.1687353157557491, 0.17801457151671926, 0.2028858248095498, 0.22246481714407765, 0.2128295797042979, 0.2012720411989463, 0.19265728457175404, 0.1988988300068823, 0.18069630016375157, 0.21776585898379097, 0.19479317464461163, 0.23758217243752522, 0.22115955098844245, 0.19654935092673897, 0.23784322566865226, 0.21437216697913947, 0.22317678050169684, 0.1890500035598168, 0.15817452595106438, 0.21603341481358426, 0.19026034126776942, 0.1754040392054489, 0.22882502313880912, 0.1618055390749223, 0.26406720934095923, 0.1878159337399435, 0.1618055390749223, 0.21937964259439446, 0.17051522414979708, 0.2065880342691696, 0.24467807390179652, 0.23487671167857227, 0.1546147091629684, 0.2097444051546147, 0.2561169518475449, 0.19325058736977005, 0.24966181740513088, 0.24835655124949568, 0.18487315186178419, 0.18193036998362483, 0.1882905759783563, 0.21363647150959963, 0.16311080523055746, 0.24140304245674823, 0.20898497757315423, 0.21197522367515484, 0.20269596791418468, 0.2391959560481287, 0.21161924199634524, 0.22139687210764886, 0.20105845219166055, 0.1646771246173197, 0.2345919263355246, 0.2162944680447113, 0.19500676365189737, 0.2028858248095498, 0.20369271661485155, 0.24467807390179652, 0.2888909984099485, 0.17357666658755963, 0.2520112964852742, 0.19049766238697582, 0.2298929681752379, 0.22837411301231697, 0.2090324417969955, 0.25471675724422715, 0.16524669530341504, 0.22566865225336402, 0.1776111256140684, 0.3291406602273536)
|
||||
|
||||
|
||||
|
||||
data = read.csv("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep=";", header=FALSE)
|
||||
unname(as.vector(data[1,4:28]))
|
||||
data[2,4:28]
|
||||
first_row <- data[1, ]
|
||||
|
||||
data <- read.csv("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep=";", header=FALSE)
|
||||
|
||||
# Convert each row of the data frame into a list, creating a list of lists
|
||||
list_of_lists <- apply(data, 1, function(row) as.list(row))
|
||||
|
||||
# Print the result
|
||||
print(list_of_lists)
|
||||
|
||||
# Convert all columns after the 3rd column into a list
|
||||
values_vector <- unname(first_row[4:ncol(first_row)])
|
||||
plot(as.vector(values_vector))
|
||||
unname(as.vector(values_list))
|
||||
data <- read.delim("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep = ";", stringsAsFactors = FALSE)
|
||||
data$epochs_results <- gsub("\\[|\\]", "", data$epochs_results)
|
||||
data$epochs_results <- lapply(strsplit(data$epochs_results, ", "), as.numeric)
|
||||
epochs_vector <- unlist(data$epochs_results)
|
||||
print(epochs_vector)
|
||||
|
||||
|
||||
# Read the data
|
||||
data <- read.delim("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep = ";", stringsAsFactors = FALSE)
|
||||
|
||||
# Remove square brackets
|
||||
data$epochs_results <- gsub("\\[|\\]", "", data$epochs_results)
|
||||
|
||||
# Split 'epochs_results' into a list
|
||||
epochs_list <- strsplit(data$epochs_results, ", ")
|
||||
|
||||
# Create a new dataframe with one row per value
|
||||
expanded_data <- data.frame(
|
||||
num_vectors = rep(data$num_vectors, sapply(epochs_list, length)),
|
||||
num_epochs = rep(data$num_epochs, sapply(epochs_list, length)),
|
||||
epochs_results = as.numeric(unlist(epochs_list))
|
||||
)
|
||||
|
||||
# View the resulting dataframe
|
||||
print(expanded_data)
|
||||
|
||||
strsplit(data$epochs_results, ", ")
|
||||
|
||||
|
||||
data$epochs_results <- list(as.numeric(unlist(strsplit(data$epochs_results, ", "))))
|
||||
|
||||
# View the resulting dataframe
|
||||
print(data)
|
||||
print(data[3,]$epochs_results)
|
||||
plot(x=1:400,y=data[3,]$epochs_results)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
data <- read.delim("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep = ";", stringsAsFactors = FALSE)
|
||||
|
||||
# Remove square brackets from 'epochs_results'
|
||||
data$epochs_results <- gsub("\\[|\\]", "", data$epochs_results)
|
||||
|
||||
# Convert 'epochs_results' into a list of numeric vectors
|
||||
data$epochs_results <- lapply(strsplit(data$epochs_results, ", "), as.numeric)
|
||||
|
||||
# Print the resulting dataframe
|
||||
print(data)
|
||||
|
||||
# Access the vector at a specific row (e.g., row 1)
|
||||
print(data[1, ]$epochs_results)
|
||||
plot(as.vector(data[1, ]$epochs_results))
|
||||
as.vector(data[1, ]$epochs_results)
|
||||
|
||||
vec = c(0.30193447811606866, 0.25951295557077736, 0.31339017880341075, 0.23008243380494603, 0.29165977749958666, 0.2840777570446654, 0.24583697475021848, 0.26036327562179656, 0.285683917141035, 0.31414601884876114, 0.266906016014361, 0.22750785365047121, 0.3350024801001488, 0.2809126768547606, 0.2556865153411909, 0.40175260410515623, 0.20821031249261876, 0.21442237286534238, 0.2447268346836101, 0.26026879561612776, 0.24222311453338688, 0.1898575713914543, 0.30193447811606866, 0.25448189526891374, 0.2895339773720386, 0.27387391643243497)
|
||||
plot(vec)
|
||||
|
||||
data <- read.table(file="/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep = ";", header = TRUE, stringsAsFactors = FALSE)
|
||||
epochs_results <- as.numeric(unlist(strsplit(data$epochs_results[3], ",\\s*")))
|
||||
epochs_results
|
||||
|
||||
|
||||
|
||||
|
||||
data <- read.csv("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep=";", header=FALSE)
|
||||
|
||||
# Convert each row into a vector and store it in a list (without column names)
|
||||
list_of_vectors <- apply(data, 1, function(row) unname(row))
|
||||
|
||||
# Print the result
|
||||
print(list_of_vectors)
|
||||
list_of_vectors[2, ]
|
||||
|
||||
|
||||
|
||||
library(ggplot2)
|
||||
library(tidyr)
|
||||
library(dplyr)
|
||||
|
||||
# Define the data as a string to simulate reading from a CSV
|
||||
data_string <- "
|
||||
num_vectors,num_epochs,test_0,test_1,test_2,test_3,test_4,test_5,test_6,test_7,test_8,test_9,test_10,test_11,test_12,test_13,test_14,test_15,test_16,test_17,test_18,test_19,test_20,test_21,test_22,test_23,test_24
|
||||
1000,1,0.30193447811606866,0.25951295557077736,0.31339017880341075,0.23008243380494603,0.29165977749958666,0.2840777570446654,0.24583697475021848,0.26036327562179656,0.285683917141035,0.31414601884876114,0.266906016014361,0.22750785365047121,0.3350024801001488,0.2809126768547606,0.2556865153411909,0.40175260410515623,0.20821031249261876,0.21442237286534238,0.2447268346836101,0.26026879561612776,0.24222311453338688,0.1898575713914543,0.30193447811606866,0.25448189526891374,0.2895339773720386,0.27387391643243497
|
||||
1000,2,0.2209414932564896,0.36660604199636254,0.23563313413798806,0.2265866735952004,0.24616765477005928,0.20395871223752274,0.2975411578524695,0.2214847532890852,0.1979828518789711,0.21742211304532677,0.20563573233814395,0.20582469234948153,0.2249568934974136,0.24465597467935848,0.2614261756855705,0.2216264732975884,0.26570139594208375,0.21749297304957838,0.21444599286675958,0.27375581642534896,0.1963530717811843,0.282140916928455,0.2732597963955878,0.2587571155254269,0.3032808181968491,0.20995819259749154
|
||||
1000,3,0.268677516120651,0.19373125162387508,0.21676075300564518,0.2733778964026738,0.2776058766563526,0.26501641590098496,0.2244844934690696,0.19817181189030872,0.4736282684176961,0.26903181614190896,0.17575643054538584,0.20412405224744312,0.2223114533386872,0.26230011573800693,0.2740156364409382,0.21952429317145758,0.23839667430380046,0.3386163403169804,0.2676382360582942,0.3033044381982663,0.21876845312610718,0.2935257576115455,0.22564187353851242,0.2999267779956067,0.1706308902378534,0.21763469305808159
|
||||
1000,4,0.2629614757776885,0.20771429246285755,0.20464369227862153,0.20776153246569196,0.2742754564565274,0.28346363700781824,0.26178047570682855,0.1676547700592862,0.20570659234239555,0.1921959515317571,0.19850249191014951,0.23943595436615725,0.3096582185794931,0.1970616718237003,0.2504192550251553,0.3046980182818811,0.1967309918038595,0.18704679122280748,0.17743345064600705,0.220634433238066,0.220043933202636,0.26643361598601695,0.2805347568320854,0.26345749580744976,0.2228310933698656,0.20908425254505517
|
||||
"
|
||||
# Read data from the string (simulating reading from a CSV)
|
||||
data <- read.csv("/Users/denysseredenko/StreetsignRecognition/src/test.csv", sep=";")
|
||||
|
||||
# Gather the data into long format for plotting
|
||||
data_long <- data %>%
|
||||
gather(key = "test", value = "value", starts_with("test"))
|
||||
|
||||
# Plot using ggplot2
|
||||
ggplot(data_long, aes(x=num_vectors, y = mean(value), color = test, group = test)) +
|
||||
geom_line() +
|
||||
geom_point() +
|
||||
theme_minimal() +
|
||||
labs(title = "Test Values Over Epochs", x = "Epoch", y = "Test Value") +
|
||||
theme(axis.text.x = element_text(angle = 45, hjust = 1)) +
|
||||
theme(legend.title = element_blank())
|
||||
|
||||
|
||||
d = c(0.30193447811606866, 0.25951295557077736, 0.31339017880341075, 0.23008243380494603, 0.29165977749958666, 0.2840777570446654, 0.24583697475021848, 0.26036327562179656, 0.285683917141035, 0.31414601884876114, 0.266906016014361, 0.22750785365047121, 0.3350024801001488, 0.2809126768547606, 0.2556865153411909, 0.40175260410515623, 0.20821031249261876, 0.21442237286534238, 0.2447268346836101, 0.26026879561612776, 0.24222311453338688, 0.1898575713914543, 0.30193447811606866, 0.25448189526891374, 0.2895339773720386, 0.27387391643243497)
|
||||
d2 = c (0.2209414932564896, 0.36660604199636254, 0.23563313413798806, 0.2265866735952004, 0.24616765477005928, 0.20395871223752274, 0.2975411578524695, 0.2214847532890852, 0.1979828518789711, 0.21742211304532677, 0.20563573233814395, 0.20582469234948153, 0.2249568934974136, 0.24465597467935848, 0.2614261756855705, 0.2216264732975884, 0.26570139594208375, 0.21749297304957838, 0.21444599286675958, 0.27375581642534896, 0.1963530717811843, 0.282140916928455, 0.2732597963955878, 0.2587571155254269, 0.3032808181968491, 0.20995819259749154)
|
||||
ggplot(d, aes(y = Gewicht)) + geom_boxplot()
|
||||
|
||||
df <- data.frame(Vector1 = d, Vector2=d2)
|
||||
|
||||
# Create a boxplot
|
||||
boxplot(df, main = "Boxplot of Vectors", col = c("red", "green", "blue"))
|
||||
@@ -102,7 +102,7 @@ class NeuralNetwork:
|
||||
# pass
|
||||
|
||||
def update_weights(self, neuorns: MutableSequence[Neuron], x: FeatureVector, expected: Concept, computed: Concept) -> Concept:
|
||||
learn_rate = 1
|
||||
learn_rate = 0.5
|
||||
x.get_vector().append(1)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user