From 79c1efcbb864d870a7a27f2e3a9a109a52d32091 Mon Sep 17 00:00:00 2001 From: Administrator <794757862@qq.com> Date: Sun, 22 Mar 2020 11:53:43 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B0=86=E9=BB=98=E8=AE=A4=E6=9C=9F=E6=9C=9B?= =?UTF-8?q?=E7=9F=A9=E9=98=B5=E7=9A=84=E9=97=B4=E9=9A=94=E5=8F=98=E6=88=90?= =?UTF-8?q?5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wlld/imageRecognition/TempleConfig.java | 6 +- src/test/java/coverTest/FoodTest.java | 95 +++++++++++-------- src/test/java/org/wlld/ModelData.java | 17 ++-- 3 files changed, 67 insertions(+), 51 deletions(-) diff --git a/src/main/java/org/wlld/imageRecognition/TempleConfig.java b/src/main/java/org/wlld/imageRecognition/TempleConfig.java index 147e5eb..ee6bf71 100644 --- a/src/main/java/org/wlld/imageRecognition/TempleConfig.java +++ b/src/main/java/org/wlld/imageRecognition/TempleConfig.java @@ -54,11 +54,15 @@ public class TempleConfig { private boolean isShowLog = false; private ActiveFunction activeFunction = new Tanh(); private double studyPoint = 0; - private double matrixWidth = 1;//期望矩阵间隔 + private double matrixWidth = 5;//期望矩阵间隔 private int rzType = RZ.NOT_RZ;//正则化类型,默认不进行正则化 private double lParam = 0;//正则参数 private int hiddenNerveNub = 9;//隐层神经元个数 + public void setHiddenNerveNub(int hiddenNerveNub) {//设置隐层宽度 + this.hiddenNerveNub = hiddenNerveNub; + } + public void setRzType(int rzType) {//设置正则化函数 this.rzType = rzType; } diff --git a/src/test/java/coverTest/FoodTest.java b/src/test/java/coverTest/FoodTest.java index 3e7a95a..76c9c0a 100644 --- a/src/test/java/coverTest/FoodTest.java +++ b/src/test/java/coverTest/FoodTest.java @@ -4,6 +4,7 @@ import com.alibaba.fastjson.JSON; import org.wlld.MatrixTools.Matrix; import org.wlld.ModelData; import org.wlld.config.Classifier; +import org.wlld.config.RZ; import org.wlld.config.StudyPattern; import org.wlld.imageRecognition.Operation; import org.wlld.imageRecognition.Picture; @@ -21,45 +22,60 @@ public class FoodTest { public static void food() throws Exception { Picture picture = new Picture(); - TempleConfig templeConfig = new TempleConfig(false, true); + TempleConfig templeConfig = new TempleConfig(); templeConfig.setClassifier(Classifier.DNN); + //templeConfig.setMatrixWidth(10); templeConfig.isShowLog(true); + templeConfig.setRzType(RZ.L2); + //templeConfig.setDeep(1); + //templeConfig.setStudyPoint(0.05); + // templeConfig.setHiddenNerveNub(6); + templeConfig.setlParam(0.015);//0.015 templeConfig.init(StudyPattern.Accuracy_Pattern, true, 640, 640, 4); -// ModelParameter modelParameter2 = JSON.parseObject(ModelData.DATA3, ModelParameter.class); -// templeConfig.insertModel(modelParameter2); + ModelParameter modelParameter2 = JSON.parseObject(ModelData.DATA3, ModelParameter.class); + templeConfig.insertModel(modelParameter2); Operation operation = new Operation(templeConfig); + + // 一阶段 - for (int j = 0; j < 1; j++) { - for (int i = 1; i < 1500; i++) {//一阶段 - System.out.println("study1===================" + i); - //读取本地URL地址图片,并转化成矩阵 - Matrix a = picture.getImageMatrixByLocal("D:\\share\\picture/a" + i + ".jpg"); - Matrix b = picture.getImageMatrixByLocal("D:\\share\\picture/b" + i + ".jpg"); - Matrix c = picture.getImageMatrixByLocal("D:\\share\\picture/c" + i + ".jpg"); - Matrix d = picture.getImageMatrixByLocal("D:\\share\\picture/d" + i + ".jpg"); - //将图像矩阵和标注加入进行学习,Accuracy_Pattern 模式 进行第二次学习 - //第二次学习的时候,第三个参数必须是 true - operation.learning(a, 1, false); - operation.learning(b, 2, false); - operation.learning(c, 3, false); - operation.learning(d, 4, false); - } - } +// for (int j = 0; j < 1; j++) { +// for (int i = 1; i < 1500; i++) {//一阶段 +// System.out.println("study1===================" + i); +// //读取本地URL地址图片,并转化成矩阵 +// Matrix a = picture.getImageMatrixByLocal("D:\\share\\picture/a" + i + ".jpg"); +// Matrix b = picture.getImageMatrixByLocal("D:\\share\\picture/b" + i + ".jpg"); +// Matrix c = picture.getImageMatrixByLocal("D:\\share\\picture/c" + i + ".jpg"); +// Matrix d = picture.getImageMatrixByLocal("D:\\share\\picture/d" + i + ".jpg"); +// //将图像矩阵和标注加入进行学习,Accuracy_Pattern 模式 进行第二次学习 +// //第二次学习的时候,第三个参数必须是 true +// operation.learning(a, 1, false); +// operation.learning(b, 2, false); +// operation.learning(c, 3, false); +// operation.learning(d, 4, false); +// } +// } +// +// //二阶段 +// for (int i = 1; i < 1500; i++) { +// System.out.println("avg==" + i); +// Matrix a = picture.getImageMatrixByLocal("D:\\share\\picture/a" + i + ".jpg"); +// Matrix b = picture.getImageMatrixByLocal("D:\\share\\picture/b" + i + ".jpg"); +// Matrix c = picture.getImageMatrixByLocal("D:\\share\\picture/c" + i + ".jpg"); +// Matrix d = picture.getImageMatrixByLocal("D:\\share\\picture/d" + i + ".jpg"); +// operation.normalization(a, templeConfig.getConvolutionNerveManager()); +// operation.normalization(b, templeConfig.getConvolutionNerveManager()); +// operation.normalization(c, templeConfig.getConvolutionNerveManager()); +// operation.normalization(d, templeConfig.getConvolutionNerveManager()); +// } +// templeConfig.getNormalization().avg(); +// templeConfig.finishStudy();//结束学习 +// ModelParameter modelParameter = templeConfig.getModel(); +// String model = JSON.toJSONString(modelParameter); +// System.out.println(model); +// System.out.println("AAAAAAAAAAAAAAAAAAAAAAAAAAAAA"); - //二阶段 - for (int i = 1; i < 1500; i++) { - System.out.println("avg==" + i); - Matrix a = picture.getImageMatrixByLocal("D:\\share\\picture/a" + i + ".jpg"); - Matrix b = picture.getImageMatrixByLocal("D:\\share\\picture/b" + i + ".jpg"); - Matrix c = picture.getImageMatrixByLocal("D:\\share\\picture/c" + i + ".jpg"); - Matrix d = picture.getImageMatrixByLocal("D:\\share\\picture/d" + i + ".jpg"); - operation.normalization(a, templeConfig.getConvolutionNerveManager()); - operation.normalization(b, templeConfig.getConvolutionNerveManager()); - operation.normalization(c, templeConfig.getConvolutionNerveManager()); - operation.normalization(d, templeConfig.getConvolutionNerveManager()); - } - templeConfig.getNormalization().avg(); - for (int j = 0; j < 1; j++) { + + for (int j = 0; j < 2; j++) { for (int i = 1; i < 1500; i++) { System.out.println("j==" + j + ",study2==================" + i); //读取本地URL地址图片,并转化成矩阵 @@ -77,15 +93,6 @@ public class FoodTest { } templeConfig.finishStudy();//结束学习 - ModelParameter modelParameter = templeConfig.getModel(); - String model = JSON.toJSONString(modelParameter); - System.out.println(model); -// ModelParameter modelParameter2 = JSON.parseObject(model, ModelParameter.class); -// TempleConfig templeConfig2 = new TempleConfig(false); -// templeConfig2.init(StudyPattern.Accuracy_Pattern, true, 1000, 1000, 2); -// templeConfig2.insertModel(modelParameter2); - - // Operation operation2 = new Operation(templeConfig2); int wrong = 0; int allNub = 0; for (int i = 1500; i <= 1600; i++) { @@ -124,7 +131,11 @@ public class FoodTest { } double wrongPoint = ArithUtil.div(wrong, allNub); System.out.println("错误率1:" + (wrongPoint * 100) + "%"); + ModelParameter modelParameter = templeConfig.getModel(); + String model = JSON.toJSONString(modelParameter); + System.out.println(model); } + public static void test1() throws Exception {//覆盖率计算 Picture picture = new Picture(); TempleConfig templeConfig = new TempleConfig(false, true); diff --git a/src/test/java/org/wlld/ModelData.java b/src/test/java/org/wlld/ModelData.java index 6bd56f0..5d18d48 100644 --- a/src/test/java/org/wlld/ModelData.java +++ b/src/test/java/org/wlld/ModelData.java @@ -6,15 +6,16 @@ package org.wlld; * @date 9:49 上午 2020/1/31 */ public class ModelData { - //测试tanh - public static final String DATA = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:2.781391794071351,2:-0.7093530632219361,3:1.8907939664410403,4:-1.6968930572099914},\"threshold\":-3.286332236515297},{\"dendrites\":{1:0.3027122640649978,2:0.39134936751079513,3:2.4932609207910654,4:3.155411993570755},\"threshold\":-3.4318979471888365},{\"dendrites\":{1:2.4910959214908486,2:-0.5059883585189446,3:1.3848025398524917,4:-1.1097035967064466},\"threshold\":-3.7883826431751975},{\"dendrites\":{1:4.21079808578704,2:-1.5052118694717191,3:1.4344023570142548,4:-2.711764750141483},\"threshold\":-4.5040491753368395},{\"dendrites\":{1:-1.6488332910119838,2:-0.40570845146367146,3:2.170233159716623,4:3.3910347444541267},\"threshold\":-1.241166373815586},{\"dendrites\":{1:3.0329258663540695,2:3.7084662657437883,3:1.5496593946369985,4:2.100412620950156},\"threshold\":0.3054625471271423},{\"dendrites\":{1:1.0495269821180226,2:2.3439222184317736,3:1.5582106334793366,4:2.6321258335239},\"threshold\":1.2975490370745395},{\"dendrites\":{1:2.7233237417345313,2:0.8842354301070787,3:1.702225539133554,4:0.38596825997686396},\"threshold\":-2.223901319415502},{\"dendrites\":{1:-5.6245362452147285,2:-0.7027605071804142,3:1.68335290391799,4:4.726227599898234},\"threshold\":0.5551529159127662}],[{\"dendrites\":{1:1.519771618888756,2:1.1124062739916838,3:1.271723251595258,4:2.2293237158615677,5:0.47102223930531784,6:-0.2179951970616229,7:-0.17221503715206277,8:0.921863512338338,9:-0.825695204378474},\"threshold\":-1.0402466016600722},{\"dendrites\":{1:-0.18554707607768567,2:0.06623648044100013,3:-0.36868032642431303,4:-0.1438220624396441,5:1.771748901001139,6:-2.9437373468448307,7:-0.8000487969534527,8:-0.5247007992850695,9:2.4308313369006678},\"threshold\":0.8879636378001202},{\"dendrites\":{1:1.8694939694529575,2:0.9933842541092538,3:1.8105386356974593,4:2.048005359560365,5:-0.015399682561307923,6:0.6473284981803706,7:-0.16381705467280955,8:0.9002876068821752,9:-0.9154481705448976},\"threshold\":-0.3821570912491198},{\"dendrites\":{1:-0.3003903740269924,2:-0.10756565490505092,3:-0.4368305328404506,4:-0.11676222989227245,5:1.6179601063559292,6:2.0463013865449105,7:1.9329311344092193,8:-0.03784712861869709,9:-0.6648753642127366},\"threshold\":1.2762611214809643},{\"dendrites\":{1:0.3663310032675561,2:0.3234367549482032,3:0.7462463098546954,4:0.49047192148057395,5:2.324145726576901,6:-0.4886542094108692,7:1.2876032501732315,8:0.5048940973589067,9:0.9828772256469841},\"threshold\":-0.017032490001362786},{\"dendrites\":{1:1.3774265844211173,2:0.8007000108988003,3:1.0170984685039495,4:1.7004034556641487,5:0.16681106574762158,6:-2.11360259437321,7:-1.5673819859527398,8:0.507697679573002,9:-0.15813645964340345},\"threshold\":-1.1696558176351128},{\"dendrites\":{1:1.6189129907322557,2:0.9238530697309115,3:1.6847823636420038,4:1.3279475474789944,5:0.2779652545963602,6:0.6748766725411901,7:0.28012488954774956,8:1.2950235265790784,9:0.2792930585044396},\"threshold\":-0.8649997016631853},{\"dendrites\":{1:1.4161233330681369,2:3.2496796113193,3:1.3154466005681649,4:0.7763615526941341,5:0.7594406653279092,6:1.202540794188747,7:0.702769042851161,8:1.2393847184304099,9:1.3558206873454224},\"threshold\":-0.022512688298196665},{\"dendrites\":{1:1.7235370663168648,2:0.9283633956515794,3:1.7358418994360105,4:2.1277110545788447,5:0.06136621876833813,6:1.4541112715492022,7:-0.06486799734940663,8:1.6550774684594396,9:-1.2556174581424993},\"threshold\":-0.8391041383835913}]],\"dnnAvg\":13.3918449779,\"dymNerveStudies\":[{\"list\":[0.3802997191178773,0.8462333264133151,0.3036497890525801,0.6689386465632953,0.9735321423105247,0.03171032455330913,0.9373462916780746,0.09813374876375669,0.6301581389749229],\"threshold\":0.243375767137266},{\"list\":[0.9579864516034587,0.7453204963742909,0.7675279083214079,0.2685283704775936,0.31624489126212485,0.9682768574597324,0.15839748326211833,0.5087439869677978,0.22284068544420677],\"threshold\":-0.0315607192208512},{\"list\":[0.9687831229099197,0.7995117245095982,0.7410761863500637,0.008883753739061362,0.0805261621628518,0.11774125943169367,0.7439291424182288,0.5137881818731225,0.14108782484639681],\"threshold\":-1.655850111381332},{\"list\":[0.8553625742144583,0.6115443829670403,0.4093248404029084,0.9708407229452056,0.3928292015441476,0.5118514829956673,0.2992546905182132,0.7632147750608906,0.7862704478937678],\"threshold\":-2.865071941977669}],\"dymOutNerveStudy\":{\"list\":[0.79718819165002,0.23004903884236327,0.46247637217453164,0.3111780421847602,0.1360181231469869,0.954646485791314,0.2256813071526178,0.13556759374345917,0.9881114501705892],\"threshold\":-5.486450691799499},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:0.24719483591031757,2:1.582482543318821,3:0.4632772158998749,4:-0.34080584677363435,5:0.3521224452784588,6:0.9768588456643061,7:0.11258147505372787,8:-0.004733570495282393,9:-0.030087603969750926},\"threshold\":0.18896603266821094},{\"dendrites\":{1:-0.17343165123018459,2:-0.05818193317664359,3:0.5502587580056034,4:-0.06517833739445403,5:-0.8566302369079205,6:-0.08070339079647386,7:0.1744431065662923,8:0.9339665808805032,9:0.200003109805919},\"threshold\":0.7425452049050345},{\"dendrites\":{1:0.739741644307183,2:-0.20090984199829084,3:0.360363860197997,4:1.5036024150490206,5:0.2042385128171256,6:0.12117043070759996,7:0.026267767092597257,8:-0.0023424175767590254,9:0.4907785937995306},\"threshold\":0.23645034514426372},{\"dendrites\":{1:0.22965056581533969,2:0.07238391508994617,3:0.5587683960025985,4:0.0735613710852295,5:-0.07195034183549189,6:0.6199294576447174,7:-0.3472500068405079,8:-1.1228183115323178,9:0.41966879063765256},\"threshold\":0.28189448900814945}]}"; - // 2 3000 5 - public static final String DATA2 = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:0.12485417183242148,2:0.2693314713406803,3:0.26519759819414324,4:0.3733550683222323,5:0.6017137271775665,6:0.6287128300768373,7:0.5586253743321579,8:0.6580660952538927,9:0.19467302450828847,10:0.4347560638636916,11:0.6323475606613133,12:0.5917341208621643,13:0.2278902624663791,14:0.04114255428135316,15:0.9811173945047637,16:0.8857864059469929},\"threshold\":1.1259859159502748},{\"dendrites\":{1:0.3409814235153208,2:0.49434780901745484,3:0.5772881442303087,4:0.30394993446890617,5:0.12613969430338848,6:0.7151985147809771,7:0.24928165527471174,8:0.17396645920226206,9:0.024519902129253673,10:0.6074753867742835,11:1.081170437922101,12:0.7073912422713351,13:0.8675077262306066,14:0.8626871371125591,15:0.27372175341956506,16:0.7216871434345027},\"threshold\":1.1040876010913154},{\"dendrites\":{1:0.166182642622306,2:0.780076553988044,3:-0.00983711889627569,4:0.3243195966652157,5:0.35939329830823835,6:0.06456700814244459,7:0.6427635911028485,8:0.779096119253834,9:-0.03013046595571772,10:0.750411854268885,11:0.9323656042718661,12:0.11665684513811314,13:0.6652967958807359,14:0.3845323176734108,15:0.9994537953183966,16:0.687266026029427},\"threshold\":0.15969200570914094},{\"dendrites\":{1:0.9309009489915174,2:0.1195921872303166,3:0.31760835480329264,4:0.2327891218282906,5:0.03543329010271459,6:0.21773484101142962,7:0.9512298054298027,8:0.5519251698675709,9:-0.09726537729209675,10:0.9250260604610594,11:1.1306208530086896,12:0.2429412663415732,13:0.5875067676581073,14:0.20812425364781006,15:0.7839415435299455,16:0.44830460512541437},\"threshold\":0.5443549105653591},{\"dendrites\":{1:0.7986429257948151,2:0.16665267161758926,3:0.3007313394971051,4:0.8113181749911056,5:0.266610737734331,6:0.5603523059750696,7:0.6955112850403667,8:0.772691535264876,9:-0.012933085175800583,10:0.8339403319822001,11:0.5235965022950538,12:0.9250833747823862,13:0.9495487909116774,14:0.9845358194418912,15:0.5040331698085613,16:0.8276749356575563},\"threshold\":0.22710782395651408},{\"dendrites\":{1:0.902060806665231,2:0.2864023420953194,3:-0.1549569406985914,4:0.5583221279688484,5:0.07297786114360912,6:0.48765169812407133,7:0.7263689329458398,8:0.04317768737153216,9:0.12959815077770254,10:0.5040742861461727,11:0.641561216515682,12:0.652794663323882,13:0.23519612826647218,14:0.1836147907788227,15:0.9829913917334306,16:0.9304873904934201},\"threshold\":0.19132633777894864},{\"dendrites\":{1:0.5405476117937533,2:0.07895954873360789,3:-0.04993231190543553,4:0.917573697656973,5:0.0374658081841916,6:0.5597523708254746,7:0.4525776677368508,8:0.14605598562282252,9:0.7346831581703688,10:0.6542562959845876,11:0.3758088721642282,12:0.4072553785189089,13:0.923509193072847,14:0.9605924114522448,15:0.3134260753873115,16:0.14303906480395046},\"threshold\":0.8945348627697984},{\"dendrites\":{1:0.3130537249374775,2:0.07764303420503924,3:0.38748089516329226,4:0.1439215733412097,5:0.19505223221030843,6:0.6991252803627365,7:0.6573021360951571,8:0.6547637303005129,9:-0.07126013674262784,10:0.275486139590227,11:0.9004801322104088,12:0.9775868128346611,13:0.8629026006592977,14:0.562853066060633,15:0.7870606204213427,16:0.8434335064466765},\"threshold\":0.6857427158757302},{\"dendrites\":{1:0.7961793747988476,2:0.21952025248667342,3:0.23728643867055166,4:0.4949116662272057,5:0.6219486392744507,6:0.2332781931104381,7:0.30350529828216577,8:0.27694332134171307,9:-0.1029677996344286,10:0.4710229018871017,11:0.9219430139924784,12:0.9288527518937225,13:0.6991108357014844,14:0.35955010561052836,15:0.31143007932705213,16:0.5906806864596325},\"threshold\":0.9102880451601967}],[{\"dendrites\":{1:0.8280967781763249,2:0.6272599540534387,3:0.6036359038535414,4:0.4166345440676817,5:0.32637964225071137,6:0.05743437246224084,7:0.5213733502049217,8:0.5591052367715301,9:0.17248948199976322},\"threshold\":0.8172845524602762},{\"dendrites\":{1:0.431486151080126,2:0.6048131930925051,3:0.5953680054344688,4:0.8138030365801778,5:0.35024916492836233,6:0.778327622841448,7:0.4415368320347566,8:0.9060199783257531,9:0.042046118746363534},\"threshold\":0.6441215311752696},{\"dendrites\":{1:0.5138539789160997,2:0.8685624628819946,3:0.626539581622421,4:0.5178128230300406,5:0.7968149949417856,6:0.1976806468289684,7:0.6930101821675226,8:0.9686228194863526,9:0.2866428012424087},\"threshold\":0.13358066516105271},{\"dendrites\":{1:0.15627753729409746,2:0.2932177303565192,3:0.564411059046445,4:0.616026210397885,5:0.0414422390878646,6:0.5656641369630686,7:0.8234585897672031,8:0.5214718697006409,9:0.647426583463449},\"threshold\":0.9304331230023964},{\"dendrites\":{1:0.6465854364108188,2:0.3784846707295579,3:0.46793583557458157,4:0.4187880449651361,5:0.5265174029771663,6:0.7942186766342284,7:0.24741891346775463,8:0.3541903753188547,9:0.14595055903909335},\"threshold\":0.23249130287742434},{\"dendrites\":{1:0.14265589503280096,2:0.8297323585454489,3:0.5034880525416884,4:0.8482377871031016,5:0.8174079400887999,6:0.08044604521669356,7:0.37407517973157023,8:0.5957457778792374,9:0.6758986012516098},\"threshold\":1.1000673275784205},{\"dendrites\":{1:0.38999921034308477,2:0.05962683083287554,3:0.7327811823856197,4:0.507940439202757,5:0.7669544293374366,6:0.7326959822991819,7:0.994825447539415,8:0.1380385051719385,9:0.15871299584745321},\"threshold\":-0.16565847081074667},{\"dendrites\":{1:0.7655689427776068,2:0.39264577058405536,3:0.6645600233416393,4:0.46815226678835753,5:0.10080908156844648,6:0.4888814223207846,7:0.15723540004580397,8:0.3609506415394168,9:0.8615630140932222},\"threshold\":1.1384361562147283},{\"dendrites\":{1:0.7095004297975783,2:0.7440253941828625,3:0.5580913474996886,4:0.735734984468657,5:0.26092966042813026,6:0.40786137302210623,7:0.09983960589243748,8:0.6222868501618622,9:0.13515410958926524},\"threshold\":1.1690888542244}]],\"dnnAvg\":8.410168793,\"dymNerveStudies\":[{\"list\":[0.9599154935196191,0.6600873039727762,0.07435370393166163,0.5763137334897183,0.25024701071514444,0.9910313638477233,0.3999336676668027,0.8057045863341429,0.838876890470253],\"threshold\":-0.1183444077258596},{\"list\":[0.18877010831889773,0.7593525130899007,0.21217025257777566,0.729236367056555,0.11961345120290634,0.07394747334226615,0.25452204812547596,0.39606129629279363,0.4596312143391428],\"threshold\":0.514190640891733},{\"list\":[0.21438739838266685,0.4489300019414588,0.6345848609230734,0.5051840864319622,0.07723981416951775,0.6921228443901237,0.9802151395039644,0.5155918456389129,0.6711118378333887],\"threshold\":0.258395875564031},{\"list\":[0.17024093796421025,0.8696083450380061,0.9855989210029061,0.14233413050099863,0.3584284219101771,0.5681799802156358,0.5278951553203215,0.7342440256743761,0.34386885538212975],\"threshold\":-0.4610491292990804}],\"dymOutNerveStudy\":{\"list\":[0.4349034984404513,0.9947606911605519,0.9453179012204015,0.7949381041537922,0.40374878598025077,0.18279170954492419,0.9964544675779774,0.9179506952101003,0.8372584380352703],\"threshold\":-0.894495507129338},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:0.1081138981478821,2:-0.0065857627308218755,3:0.4308583785524555,4:0.04226452869033803,5:0.26154090828547827,6:0.8508346454028738,7:-0.08374132452856259,8:0.9163091991020743,9:0.9443008856903765},\"threshold\":1.3521452660588753},{\"dendrites\":{1:-0.4134024519418968,2:-0.38375767374832914,3:0.31306180131594247,4:-0.4974703896552853,5:0.03548882593453909,6:-0.2796330378200446,7:0.6980345279806234,8:-0.11661645711258546,9:-0.471380494903669},\"threshold\":-0.1889355062678561}]}"; - //晚上的结果写在这里 + //1 + public static final String DATA = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:0.5317823785817706,2:0.7024524362960815,3:0.3509844955554906,4:0.029024134303598847},\"threshold\":0.8880852986610387},{\"dendrites\":{1:0.8146961925712267,2:0.44746897435533595,3:0.7265365778637229,4:0.1144296404273788},\"threshold\":0.5352448396143603},{\"dendrites\":{1:0.183598609549517,2:0.23934474429496733,3:0.6570850548802115,4:0.921214522832389},\"threshold\":0.3883643868355455},{\"dendrites\":{1:0.39369145158885965,2:0.14166117919116816,3:0.44203633867455716,4:0.9275950365114316},\"threshold\":0.8898391274441808},{\"dendrites\":{1:0.3669699225119968,2:0.7420879598507595,3:0.8471768646743746,4:0.4225069162187942},\"threshold\":0.267212789649135},{\"dendrites\":{1:0.7988188252324763,2:0.41805618189439486,3:0.7853395824062858,4:0.9818082535596039},\"threshold\":0.6643033380180949},{\"dendrites\":{1:0.4451273318306156,2:0.42170399147341964,3:0.6988734897038115,4:0.9665856713012253},\"threshold\":0.1517364931713988},{\"dendrites\":{1:0.8436541955303565,2:0.323397265471558,3:0.03851463103833741,4:0.9650909131756584},\"threshold\":0.1413943073750067},{\"dendrites\":{1:0.6299736094956676,2:0.8270881589108238,3:0.3585098737412141,4:0.14577507322730532},\"threshold\":0.07350122731394093}],[{\"dendrites\":{1:0.30806500851946783,2:0.17115322738511096,3:0.3316920839184415,4:0.3899244377965243,5:0.11828588604221857,6:0.6273659874995055,7:0.07504882710771799,8:0.9614678338879926,9:0.7534697595005083},\"threshold\":0.49985231569411515},{\"dendrites\":{1:0.6545309506757202,2:0.23202308908088876,3:0.5856109751154651,4:0.7971034337297244,5:0.18410390813904953,6:0.14257682358275914,7:0.6182640099996953,8:0.4544980484145138,9:0.01000728178841137},\"threshold\":0.7560144061515595},{\"dendrites\":{1:0.04101595518161194,2:0.2154977494881386,3:0.48626936734662607,4:0.90312892244665,5:0.26680581691484806,6:0.9023123277240505,7:0.8699893997270863,8:0.5353087030944416,9:0.8739981878715881},\"threshold\":0.40402668874498093},{\"dendrites\":{1:0.3922756171529884,2:0.9580613535664414,3:0.2377302802276431,4:0.8949290333350326,5:0.060365488037971704,6:0.5876790890725705,7:0.6916033405905555,8:0.3215761635935941,9:0.6153964708130578},\"threshold\":0.06351565944270443},{\"dendrites\":{1:0.027948296789335525,2:0.13868122225227408,3:0.3942090406771849,4:0.883560592329604,5:0.07568864661522434,6:0.3840816880861495,7:0.7590820051661609,8:0.4980064848867922,9:0.18774210947258396},\"threshold\":0.7845801568722388},{\"dendrites\":{1:0.37028030183543936,2:0.5718788396627373,3:0.6114486853752837,4:0.9912923444739583,5:0.5010827833612359,6:0.7033562396940873,7:0.7966439232463418,8:0.06355041110243442,9:0.5627258948559272},\"threshold\":0.4358713426341151},{\"dendrites\":{1:0.15418265573219925,2:0.5103710336348808,3:0.6256951625595816,4:0.2985881345673619,5:0.40209726924040046,6:0.4470071946781625,7:0.6318353425782253,8:0.46717517553539933,9:0.09337134154531435},\"threshold\":0.973673011347769},{\"dendrites\":{1:0.3007977779430149,2:0.44372730793170123,3:0.4039255038862507,4:0.2602487796728783,5:0.7691391714156774,6:0.7605273260018901,7:0.09742999170015543,8:0.8249903641440858,9:0.9349889920350071},\"threshold\":0.014637101343869419},{\"dendrites\":{1:0.8060559675136172,2:0.770418905978449,3:0.40811883884862477,4:0.9287444187314143,5:0.9402770798467737,6:0.029589110846442446,7:0.3704368642737861,8:0.07217287307819775,9:0.25668278976349},\"threshold\":0.4069514601801558}]],\"dnnAvg\":2.5765305337,\"dymNerveStudies\":[{\"list\":[0.9309107399324491,0.1404063304058919,0.023926578300455414,0.07931952698887323,0.6194529768015833,0.45882732909922963,0.5313621674868559,0.29427948246133073,0.7218410777466922],\"threshold\":0.484434792448253},{\"list\":[0.292040995116296,0.41194920713135286,0.7175629425851543,0.7575578978162412,0.8546807032352582,0.9694755220064313,0.6746944686856537,0.06850496720930987,0.7935709251496035],\"threshold\":0.350613423102941},{\"list\":[0.47028937985686126,0.44720051447537346,0.7919521575432833,0.375484493429901,0.7085995848427736,0.5102145307573397,0.0990572105057338,0.5941789578916534,0.3792251790607887],\"threshold\":0.95719370032191},{\"list\":[0.5396599938292864,0.4056887824840191,0.25158146555684346,0.713352675045892,0.18012819707936656,0.7767185140440341,0.6938018706958136,0.2704791798425932,0.016048640066133157],\"threshold\":1.034926428694878}],\"dymOutNerveStudy\":{\"list\":[0.5067681478058772,0.429512148235651,0.9270524423090427,0.8894550412935613,0.30197212220464853,0.3657487395071215,0.588950476295286,0.039343254539727424,0.5401385908780494],\"threshold\":0.950235441178625},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:0.46381712292076327,2:0.6548615030859759,3:0.7069135495909189,4:0.15649150634001063,5:0.4806789726731534,6:0.23830647535485416,7:0.04012711283838366,8:0.8790936720535801,9:0.4690193404541214},\"threshold\":0.10216353715588988},{\"dendrites\":{1:0.2092522027789525,2:0.8973072581980857,3:0.4088038939015608,4:0.9427166182766946,5:0.9350607877135305,6:0.48149663005135857,7:0.2512435568839875,8:0.9595719055175925,9:0.9109912004902442},\"threshold\":0.2511979579324709},{\"dendrites\":{1:0.0768404554211044,2:0.5431006760241889,3:0.4041935671063076,4:0.6272151150809195,5:0.7769742052437779,6:0.9707786434654386,7:0.6052065412252231,8:0.11702553097791213,9:0.24900486608467565},\"threshold\":0.2597970974232471},{\"dendrites\":{1:0.519483937111043,2:0.10920287480244606,3:0.14151044179481964,4:0.39904816334284243,5:0.3815694331072408,6:0.5994345930186774,7:0.9753843351210815,8:0.12673485965772957,9:0.09724830645596172},\"threshold\":0.5026286454756944}]}"; + // 10 + public static final String DATA2 = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:0.5396401444388539,2:0.051933754402556875,3:0.9042684013900323,4:0.06027102865270617},\"threshold\":0.9966854151588863},{\"dendrites\":{1:0.36936698083832775,2:0.7158844337986918,3:0.8515351230587799,4:0.6007708113144482},\"threshold\":0.27570916039356386},{\"dendrites\":{1:0.966959504907402,2:0.6022399413261783,3:0.7489604048959452,4:0.755046856368379},\"threshold\":0.4740547097630524},{\"dendrites\":{1:0.3740668063995001,2:0.26440190181499634,3:0.5549442119006179,4:0.22577365321506138},\"threshold\":0.43502360916808513},{\"dendrites\":{1:0.07534453717191592,2:0.2759670883572015,3:0.10138269405213485,4:0.2666050845207616},\"threshold\":0.8587129480382835},{\"dendrites\":{1:0.20640797398855715,2:0.30279853963684134,3:0.9560231710014367,4:0.9295423530894142},\"threshold\":0.5593239393574357},{\"dendrites\":{1:0.4304303159146805,2:0.6857000931306332,3:0.10474254244326686,4:0.31546909508072607},\"threshold\":0.17122564010397945},{\"dendrites\":{1:0.712143356746199,2:0.7037321308926107,3:0.5562932702559813,4:0.33463425892305076},\"threshold\":0.2828597878055359},{\"dendrites\":{1:0.13310714386232647,2:0.9417456511146848,3:0.4687518416586154,4:0.04482767876098337},\"threshold\":0.34336882766363386}],[{\"dendrites\":{1:0.8953744888610251,2:0.8184902007831976,3:0.29718594225748485,4:0.42017363412334663,5:0.46849110263133364,6:0.31042685250976565,7:0.3495465275626287,8:0.7821059227478571,9:0.03635306411310524},\"threshold\":0.5755015059527852},{\"dendrites\":{1:0.874204570890764,2:0.20444809155323385,3:0.9300173828066352,4:0.9646477492528401,5:0.09935225653961033,6:0.6411207350389682,7:0.8946376869211249,8:0.1857890408000935,9:0.5817964379459455},\"threshold\":0.9804725836740223},{\"dendrites\":{1:0.9991582141353847,2:0.7490919519687524,3:0.021781007061117963,4:0.6064829454065027,5:0.522321512741494,6:0.936704083485312,7:0.06543296086259465,8:0.28250799205748867,9:0.34568452153411566},\"threshold\":0.1606364691818799},{\"dendrites\":{1:0.35063630825900993,2:0.6787441446946986,3:0.2459647498688503,4:0.02370966610962877,5:0.5240182656590997,6:0.4717927692605455,7:0.7255513631818072,8:0.6998901410806069,9:0.6632628000346927},\"threshold\":0.7945445829238275},{\"dendrites\":{1:0.44952862615547373,2:0.9711654594418705,3:0.04795239209321711,4:0.3018472603380067,5:0.8851268710038813,6:0.978698771206352,7:0.6195340942563299,8:0.6958111006680919,9:0.9472744717473568},\"threshold\":0.5117367207995028},{\"dendrites\":{1:0.004795619448714539,2:0.62304619198915,3:0.13133886186999355,4:0.22859238739850385,5:0.690251013518655,6:0.024098827569728254,7:0.46926295393109974,8:0.5356592578519631,9:0.5747327970696154},\"threshold\":0.4039999477506525},{\"dendrites\":{1:0.572560475954443,2:0.10110215118471277,3:0.246168416084655,4:0.2591329298549473,5:0.9768892928277587,6:0.9013306442034572,7:0.455262057816623,8:0.0776658260501113,9:0.774050953683483},\"threshold\":0.0733658479015995},{\"dendrites\":{1:0.990769826792376,2:0.5275773467418504,3:0.039286042226214346,4:0.7879052259575613,5:0.06424440094046524,6:0.8010930630188425,7:0.1313280661678521,8:0.4100022882137512,9:0.8497167678119864},\"threshold\":0.1241092343520318},{\"dendrites\":{1:0.0032562999273046955,2:0.3226545675538104,3:0.6659780595601719,4:0.3924835058549776,5:0.38638710430642365,6:0.41856683799968253,7:0.835547648579244,8:0.7987441844518035,9:0.547463819760613},\"threshold\":0.41034146026921425}]],\"dnnAvg\":26.4645647702,\"dymNerveStudies\":[{\"list\":[0.056238056784348234,0.11791083244297207,0.8002175751362255,0.27798474571616405,0.651527111104474,0.9206902713189078,7.328291887146454E-4,0.8871898964779202,0.43573800190589296],\"threshold\":-0.0045840711509873},{\"list\":[0.27649448305571367,0.4186898947453075,0.8890563464928046,0.7030272245048781,0.6768504207359965,0.04296921171226953,0.46878863372880697,0.6812450452176402,0.5740513140597268],\"threshold\":-1.201843196014829},{\"list\":[0.054605203276797964,0.4332716492900609,0.1138936896865792,0.6910518457127448,0.5344918808575809,0.6111992294645368,0.5762249008695397,0.44246867046655536,0.40007360468245856],\"threshold\":-3.204474712428374},{\"list\":[0.02743980550049585,0.8422676222324704,0.07730723023302444,0.6235167030708151,0.29025062104349475,0.24438867255246977,0.5469737050649381,0.4544305138389647,0.7724272589189494],\"threshold\":-6.576506763789224}],\"dymOutNerveStudy\":{\"list\":[0.47814323923422986,0.4563775841493527,0.46452559216774725,0.11088991696588302,0.24537109491002584,0.27447538962906737,0.1607197068589865,0.2830196792308136,0.5686134427162264],\"threshold\":-21.3706665488813},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:0.18822987446984807,2:0.5522778931183268,3:0.8856038105867874,4:0.25658062056112885,5:0.865091611916361,6:0.6607734945064692,7:0.03648064354446279,8:0.4447478704928334,9:0.6972346394651996},\"threshold\":0.8291033826857891},{\"dendrites\":{1:0.004382897949597342,2:0.41469660371877337,3:0.6831229699515441,4:0.39332987920650286,5:0.6551314420641793,6:0.46233534500747064,7:0.14319189161678703,8:0.5924187848962372,9:0.8956581904109351},\"threshold\":0.3701267037762026},{\"dendrites\":{1:0.31667097608182726,2:0.9459079241081302,3:0.17379968596452733,4:0.6547978036977937,5:0.44399844344028705,6:0.7768963427347787,7:0.5837548862156302,8:0.5950595914210254,9:0.5668379582289903},\"threshold\":0.3433731731302134},{\"dendrites\":{1:0.5062704371340322,2:0.15737761452651566,3:0.9953615407617136,4:0.5072638931551241,5:0.41826397622281686,6:0.4774552072087628,7:0.8074719013986659,8:0.06125280129663968,9:0.6774210978801132},\"threshold\":0.0563791889437778}]}"; + //5 public static final String DATA3 = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:1.3259385848931655,2:0.47040682776298604,3:0.2626458930710314,4:-0.6931666899516274},\"threshold\":0.1453612348036091},{\"dendrites\":{1:1.1272365640099227,2:-0.7337466876050133,3:1.284322391399613,4:-0.3471114920768559},\"threshold\":-1.0499069028248464},{\"dendrites\":{1:0.016504521661250424,2:-0.10360965006145044,3:1.3652414749205937,4:0.42199222473877945},\"threshold\":-1.4216266119900416},{\"dendrites\":{1:-0.6557724271422759,2:0.5059166113424489,3:0.591672021496659,4:1.5605292204461032},\"threshold\":-1.0324355747309064},{\"dendrites\":{1:0.6802906970222707,2:1.6799412761066854,3:1.3531381462511556,4:1.2615738815960797},\"threshold\":0.7987849092602402},{\"dendrites\":{1:0.558610138859577,2:1.1781048633066742,3:-0.04120451326411118,4:0.8973744836692659},\"threshold\":-0.3364860842210545},{\"dendrites\":{1:1.2201853163931442,2:-0.1319268265505929,3:0.8899349564821847,4:-0.2239436430161853},\"threshold\":-1.4593542524452927},{\"dendrites\":{1:-1.4627108201384893,2:-0.4218087822935181,3:0.8424473913425632,4:1.7381108101943565},\"threshold\":0.009017139220030404},{\"dendrites\":{1:0.21979223862443736,2:-0.09999423845758065,3:1.7493830593593733,4:1.2815060979300226},\"threshold\":-1.2468615252112183}],[{\"dendrites\":{1:-0.06814352458384446,2:0.8654209659798254,3:0.606671878859585,4:0.6690422943293964,5:0.18776993680988208,6:0.4429600106747597,7:0.8007974121988832,8:0.40769292777931043,9:1.089736256954681},\"threshold\":0.11425372893619534},{\"dendrites\":{1:0.4235048601914431,2:0.7301733420440525,3:0.47626065885455093,4:0.20301545827959935,5:-0.14563615295968657,6:0.18938539585886321,7:0.8331177878303199,8:0.08819831079771183,9:1.034007428790719},\"threshold\":0.9035997370956839},{\"dendrites\":{1:-0.0136583263659488,2:1.08540853493493,3:0.6313292218205966,4:0.15616830292219105,5:-0.45257029636590934,6:-0.011821338304250636,7:1.0264664644560217,8:0.09852241171249033,9:0.6153245286623159},\"threshold\":-0.46809655313578014},{\"dendrites\":{1:0.8396468935481934,2:0.24597478533373515,3:0.01709635957889014,4:-0.5157896554506954,5:1.510992017062753,6:0.7053192033802479,7:-0.1301122289133768,8:-1.8114335497652565,9:0.6334010229654464},\"threshold\":0.028096629685495183},{\"dendrites\":{1:0.23731607777021319,2:0.34547711659021174,3:0.5608853822432557,4:-0.09644814573654577,5:0.46901507365465206,6:-0.05164507717178522,7:1.1075376447172733,8:-0.26165687811551763,9:-0.22320027819102847},\"threshold\":-0.5687511270861467},{\"dendrites\":{1:0.10561785365469165,2:0.21097969297409194,3:0.8016626912756442,4:1.0909872287991207,5:0.2527759146699615,6:0.4787114619004488,7:0.9706369146132799,8:-0.061020470316131004,9:1.3341810110225092},\"threshold\":0.4032090222860525},{\"dendrites\":{1:-0.10768669048968336,2:0.30909155387598075,3:0.9041843535141528,4:0.9889376059559655,5:-0.4857743290489738,6:0.7746145317918771,7:1.067237890644749,8:0.9039695592402688,9:0.5859758041389942},\"threshold\":-0.5138621895906719},{\"dendrites\":{1:0.31673036128998944,2:1.2194426935855434,3:0.7450217363929681,4:-0.2915272111515559,5:-0.13306522798783305,6:0.0943981635226951,7:1.0418390678891094,8:0.15647654696126545,9:0.11408175020349469},\"threshold\":-0.1449149617757226},{\"dendrites\":{1:-0.5482449247301743,2:0.8516085836279023,3:1.2361644496454496,4:0.9525331308203848,5:1.4776341546293064,6:-0.6305101936166168,7:0.08278195139673016,8:0.6008344744928618,9:0.537598097839101},\"threshold\":0.7770676119627797}]],\"dnnAvg\":13.3918449779,\"dymNerveStudies\":[{\"list\":[0.3802997191178773,0.8462333264133151,0.3036497890525801,0.6689386465632953,0.9735321423105247,0.03171032455330913,0.9373462916780746,0.09813374876375669,0.6301581389749229],\"threshold\":0.243375767137266},{\"list\":[0.9579864516034587,0.7453204963742909,0.7675279083214079,0.2685283704775936,0.31624489126212485,0.9682768574597324,0.15839748326211833,0.5087439869677978,0.22284068544420677],\"threshold\":-0.0315607192208512},{\"list\":[0.9687831229099197,0.7995117245095982,0.7410761863500637,0.008883753739061362,0.0805261621628518,0.11774125943169367,0.7439291424182288,0.5137881818731225,0.14108782484639681],\"threshold\":-1.655850111381332},{\"list\":[0.8553625742144583,0.6115443829670403,0.4093248404029084,0.9708407229452056,0.3928292015441476,0.5118514829956673,0.2992546905182132,0.7632147750608906,0.7862704478937678],\"threshold\":-2.865071941977669}],\"dymOutNerveStudy\":{\"list\":[0.79718819165002,0.23004903884236327,0.46247637217453164,0.3111780421847602,0.1360181231469869,0.954646485791314,0.2256813071526178,0.13556759374345917,0.9881114501705892],\"threshold\":-5.486450691799499},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:0.10434101602614843,2:-0.059927108794489065,3:0.5288563441427986,4:-1.220281452591742,5:0.5268899063519855,6:-0.1668026589215263,7:0.42610522515961735,8:-0.07609330230866232,9:0.04864756427917784},\"threshold\":0.11315114688098979},{\"dendrites\":{1:0.22728893928451854,2:-0.08476513639000224,3:-0.0429026071263658,4:0.013208858828787608,5:0.16212825171355355,6:0.8671316248600842,7:0.1799041204549389,8:-0.3101603786319704,9:-1.0081053128024589},\"threshold\":0.0013061515535431295},{\"dendrites\":{1:0.04346486976885912,2:-0.39896936099929897,3:-0.060456365659088,4:1.156091647487133,5:0.6399013533886204,6:0.09476612730484273,7:-0.32178474625033576,8:0.21539419974348012,9:1.2154708250027648},\"threshold\":0.2294945820642692},{\"dendrites\":{1:-0.4629707929200189,2:0.018844564819924733,3:0.35301506968074037,4:0.0036245591209093874,5:0.322885182539098,6:-0.3589345967034893,7:-0.6644413037745864,8:0.5837702508565968,9:0.14139736823209761},\"threshold\":-0.08772557762708731}]}"; - //2 300 10 - public static final String DATA4 = "{\"borderMap\":{},\"depthNerves\":[],\"dymNerveStudies\":[{\"list\":[0.7650868673956612,0.41735680484600424,0.772749504058288,0.8384599613367586,0.06718497215232833,0.8850293262766552,0.8851009321760257,0.3377147487002068,0.026600923407615995],\"threshold\":0.4085539955045393},{\"list\":[0.6323922682200495,0.9312225577559277,0.49848962848457745,0.8877566654400643,0.26067491091518213,0.05808389805584624,0.4959719028971741,0.22358587752136916,0.375118935336723],\"threshold\":-0.822655134763225},{\"list\":[0.21616781794077045,0.21359089014595734,0.9866031753826975,0.039237788355860115,0.48405579610217797,0.8457815806254125,0.9692919219180153,0.21887259464434694,0.49735020888413284],\"threshold\":-1.777078438439913},{\"list\":[0.7032405099206009,0.12322216338010372,0.6691753686809487,0.48265272696372263,0.26687076772952245,0.5671989493130618,0.1477514710970167,0.4174529137169356,0.6341882949153155],\"threshold\":-3.916736185074929}],\"dymOutNerveStudy\":{\"list\":[0.29402787308416467,0.23358880323416897,0.8108657396965971,0.8102529215195801,0.41073391427871375,0.13840233568741056,0.5405034618507846,0.12995627329543935,0.7458170503569194],\"threshold\":-8.44190117544671},\"outNerves\":[]}"; - public static final String DATA5 = "{\"borderMap\":{},\"depthNerves\":[],\"dymNerveStudies\":[{\"list\":[0.4467703081299109,0.6216350552316628,0.9614933454364657,0.20607668094161646,0.4887977243589058,0.63160869587642,0.5541665393807305,0.6780176493077679,0.311045145099047],\"threshold\":0.806141233738043},{\"list\":[0.16664166723178497,0.6177168961084486,0.5094827323811009,0.8030743749033795,0.2949448909891714,0.5048826684603277,0.29728972921303953,0.5163889826059106,0.31636746120315484],\"threshold\":0.523335756133632},{\"list\":[0.5002599844181366,0.23168031749716456,0.009972722232462483,0.19765661174031213,0.41487704196451936,0.08114152168166133,0.1734755737329785,0.5765370682837576,0.4749258231617214],\"threshold\":0.645293861900744},{\"list\":[0.06267312603488806,0.3148365387915856,0.3261441144961199,0.8599692822928876,0.8794020011762773,0.18877316316816117,0.816967692916158,0.010279303231223502,0.28176395163091383],\"threshold\":1.056555408293605}],\"dymOutNerveStudy\":{\"list\":[0.4493364790159943,0.4464735195422622,0.8194912362912562,0.935208152582449,0.7759469222501951,0.3795323237713125,0.7802158181253224,0.6609269355803631,0.31953583656073115],\"threshold\":0.682843377796887},\"outNerves\":[]}"; + //5 2 turn + public static final String DATA4 = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:0.5917560699684765,2:0.4554486309772757,3:-0.21887742229595913,4:-0.6868276845082959},\"threshold\":-0.2524238913404783},{\"dendrites\":{1:0.48172548112383506,2:-0.1955761828390817,3:0.5865455447440502,4:-0.4170280846909415},\"threshold\":-2.706483061497177},{\"dendrites\":{1:0.30758516529598207,2:-0.08378222040503464,3:0.6974126586099952,4:0.0026924699649801412},\"threshold\":-2.7321076155645683},{\"dendrites\":{1:-0.3430645263390683,2:-0.07091888906887905,3:0.6526876925870272,4:1.2567661015487426},\"threshold\":-1.2851785657877595},{\"dendrites\":{1:0.745024471857397,2:1.2216365794077515,3:0.8244695902752506,4:1.0100790784296503},\"threshold\":1.186431588180451},{\"dendrites\":{1:0.5042303362052656,2:0.5210137421011828,3:0.2489388185112416,4:0.16288391047372125},\"threshold\":-0.8293389024650619},{\"dendrites\":{1:0.5249095851322366,2:-0.17402384110026808,3:0.5412138993376147,4:-0.3038635170877526},\"threshold\":-3.1961357489436373},{\"dendrites\":{1:-0.9332712226949142,2:-0.8320227485799006,3:0.5906463628473037,4:1.1526514857291845},\"threshold\":-0.3629752561165897},{\"dendrites\":{1:0.18485806423208168,2:0.28166138846439215,3:0.8843293444145859,4:1.6055591511270648},\"threshold\":-2.053793505125926}],[{\"dendrites\":{1:-0.1034671246286903,2:0.31461176329425566,3:0.2899191573932242,4:0.7624135544342118,5:0.28910353535538535,6:0.39929484898565376,7:0.29338035234413673,8:0.28550464635381695,9:1.1873579471324271},\"threshold\":0.10369566150741943},{\"dendrites\":{1:0.3492344397236351,2:0.6393623742915312,3:0.5435370804552192,4:0.13545066306235476,5:-0.472116168383956,6:0.1392880966752137,7:0.6756837843405995,8:-0.07513247732433441,9:0.6129489652100572},\"threshold\":0.313639398858994},{\"dendrites\":{1:0.17760132233450182,2:0.8429100187492751,3:0.648537954072567,4:0.0809365909132784,5:-0.6850310801223252,6:0.051374986780825936,7:0.8193897837261207,8:-0.04671609310067271,9:0.386201056575497},\"threshold\":-1.1920037573185844},{\"dendrites\":{1:1.0913982994068328,2:0.20200718636538967,3:0.038637677322789124,4:-0.6994454557166421,5:1.6371841918501844,6:0.5785212077384612,7:0.07744324859008798,8:-1.951015423148565,9:-0.10922312377857823},\"threshold\":-0.22205860465771332},{\"dendrites\":{1:0.35370451687552085,2:0.5698163423801003,3:0.616989805655968,4:-0.003738332819281344,5:0.0014134929746160347,6:0.1678683194988737,7:0.8514758250746568,8:-0.29231993459596356,9:0.09045847901734769},\"threshold\":-1.291807053862159},{\"dendrites\":{1:-0.009562938100936743,2:0.09205973085177949,3:0.38783281032761907,4:1.0053290688156278,5:0.39408183786300516,6:0.48572403061321107,7:0.37691791781229733,8:0.10326365602742855,9:1.518878088256713},\"threshold\":0.34937765828195044},{\"dendrites\":{1:-0.01448280594975573,2:0.2618204382185314,3:0.5579129767665085,4:0.6018348727490939,5:-0.3154185480701584,6:0.49001094868757045,7:0.540125184135829,8:0.4016348405013319,9:0.7313880541073778},\"threshold\":-0.6938240778061615},{\"dendrites\":{1:0.4028646808645448,2:0.8829881658941134,3:0.674307291900761,4:-0.06097101656621159,5:-0.2768851742854966,6:0.15770813620068178,7:0.8174591354696867,8:-0.17673743326126887,9:0.1406812792751312},\"threshold\":-0.8545499405632809},{\"dendrites\":{1:-0.26473261204979975,2:0.4817498956197396,3:0.6437337455430177,4:1.3934180254651896,5:1.6561812249362444,6:-0.022726847126333882,7:0.1963009360175778,8:0.5373657025818331,9:0.3168247834616192},\"threshold\":0.546987991629296}]],\"dnnAvg\":13.3918449779,\"dymNerveStudies\":[{\"list\":[0.3802997191178773,0.8462333264133151,0.3036497890525801,0.6689386465632953,0.9735321423105247,0.03171032455330913,0.9373462916780746,0.09813374876375669,0.6301581389749229],\"threshold\":0.243375767137266},{\"list\":[0.9579864516034587,0.7453204963742909,0.7675279083214079,0.2685283704775936,0.31624489126212485,0.9682768574597324,0.15839748326211833,0.5087439869677978,0.22284068544420677],\"threshold\":-0.0315607192208512},{\"list\":[0.9687831229099197,0.7995117245095982,0.7410761863500637,0.008883753739061362,0.0805261621628518,0.11774125943169367,0.7439291424182288,0.5137881818731225,0.14108782484639681],\"threshold\":-1.655850111381332},{\"list\":[0.8553625742144583,0.6115443829670403,0.4093248404029084,0.9708407229452056,0.3928292015441476,0.5118514829956673,0.2992546905182132,0.7632147750608906,0.7862704478937678],\"threshold\":-2.865071941977669}],\"dymOutNerveStudy\":{\"list\":[0.79718819165002,0.23004903884236327,0.46247637217453164,0.3111780421847602,0.1360181231469869,0.954646485791314,0.2256813071526178,0.13556759374345917,0.9881114501705892],\"threshold\":-5.486450691799499},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:0.03515585365525281,2:0.12625680657988014,3:0.36959685020197486,4:-1.3352290674205063,5:0.3608791309220879,6:-0.03472837982524032,7:0.14830289077932363,8:0.1464819578108098,9:0.001547160061495903},\"threshold\":-0.18641737503752512},{\"dendrites\":{1:0.42807692214648113,2:-0.053103125726328616,3:-0.0718767108612509,4:0.021692436887008625,5:0.006666695578927621,6:0.8941481883011424,7:0.09402134377129936,8:-0.16970143771089977,9:-1.2047183227994513},\"threshold\":0.09855407792706118},{\"dendrites\":{1:-0.05924236852552514,2:-0.09991123104606221,3:0.02458685491124864,4:0.9396791399277128,5:0.28597288687951067,6:-0.12151904319494963,7:-0.025940821658146474,8:0.12688272996866998,9:1.2009069027748462},\"threshold\":0.1805167690848419},{\"dendrites\":{1:-0.7828981812014709,2:0.1078786234770949,3:0.37006966389486473,4:-0.0036500336345967736,5:0.358320077925031,6:-0.7742158689241855,7:-0.40594397594334475,8:0.4553415887818529,9:0.16833740169432118},\"threshold\":-0.5129881300001293}]}"; + //5 2 turn2 + public static final String DATA5 = "{\"avg\":0.0,\"borderMap\":{},\"depthNerves\":[[{\"dendrites\":{1:0.32229051169406114,2:-0.6714456320180129,3:0.43299066123867863,4:-0.642678975483748},\"threshold\":-6.833729939277554},{\"dendrites\":{1:0.6445324925135806,2:0.859183062600219,3:1.0197095248199648,4:1.7970734900553953},\"threshold\":-0.07641715121532765},{\"dendrites\":{1:1.8968408358458162,2:2.0117904484322344,3:-0.3091365027114937,4:-0.8125976029926767},\"threshold\":-0.24927337612195355},{\"dendrites\":{1:2.574138697869021,2:2.6962047196796335,3:-0.5184816785204076,4:-1.35951880690742},\"threshold\":-0.004957909455046405},{\"dendrites\":{1:0.33057130967130416,2:-0.6526968071571082,3:0.414832219795702,4:-0.6567744510210094},\"threshold\":-6.895595165074303},{\"dendrites\":{1:0.34922644520961305,2:-0.6176520217204221,3:0.462396867459111,4:-0.6161836508850149},\"threshold\":-7.981769942606722},{\"dendrites\":{1:-0.08133475815497582,2:0.306222905980326,3:1.2008125656334436,4:2.189088375088779},\"threshold\":-3.141079848108155},{\"dendrites\":{1:0.3158219095072537,2:-0.6526744259415028,3:0.42720070639093116,4:-0.6152490593271731},\"threshold\":-7.197314701813571},{\"dendrites\":{1:0.2894753579363113,2:-0.6976540441186309,3:0.45027576241499195,4:-0.5731686414348005},\"threshold\":-6.948350568397406}],[{\"dendrites\":{1:0.6998126049222685,2:-2.085469338844975,3:-2.3604833305052084,4:-3.113787619482046,5:0.693624137684854,6:0.6984207378472278,7:0.35201397342838825,8:0.7188404387262212,9:0.7035327578606533},\"threshold\":-1.6409344449642125},{\"dendrites\":{1:0.804261619394793,2:0.2947834770078834,3:0.2508256036663497,4:0.0692963423130082,5:0.7733018667793679,6:0.7114970483217854,7:0.347766224035084,8:0.6636438220056533,9:0.7779941398331374},\"threshold\":-2.021799327906594},{\"dendrites\":{1:0.7506060476945542,2:0.3764822447134663,3:0.7457174717132103,4:0.5992184243212109,5:0.7007550755441295,6:0.8161396948355651,7:0.4351567885562564,8:0.7761921785721387,9:0.7704935390161876},\"threshold\":-2.4027239168277505},{\"dendrites\":{1:-7.648262368633612E-4,2:0.8397307376503,3:0.3639145974266064,4:0.09662942025105749,5:-0.011589349124885847,6:0.07290052614759715,7:2.421469710894741,8:0.020209532433899148,9:0.0278007187298022},\"threshold\":0.08551025432829719},{\"dendrites\":{1:0.7147628848700701,2:0.04395841334646054,3:0.7583520619023196,4:1.1183302680877008,5:0.6547143569633417,6:0.6752458069732387,7:0.5967015920302173,8:0.7599571212647642,9:0.6662288589343112},\"threshold\":-1.556396153852109},{\"dendrites\":{1:0.7176445312307571,2:0.09320415957673278,3:0.7164063294482812,4:1.0949821364780261,5:0.730600544362099,6:0.7831362803939056,7:0.31958973471591967,8:0.7535284853509937,9:0.6552783264386564},\"threshold\":-1.5938819768042658},{\"dendrites\":{1:0.29036519016028195,2:1.6584058713692973,3:-0.7370217379177736,4:-1.165806205707898,5:0.26902109621213605,6:0.28591919016310907,7:0.7616975153332527,8:0.2954945911031307,9:0.32463957797750853},\"threshold\":0.07097239066838584},{\"dendrites\":{1:0.7028188437738823,2:0.3236277404584568,3:0.3080133447372902,4:0.2507972396688361,5:0.744630640521729,6:0.6864591688197008,7:0.4717940472440348,8:0.68935822152695,9:0.7511574210689694},\"threshold\":-2.1401308077478385},{\"dendrites\":{1:0.7179694253518794,2:0.1193754272654243,3:0.8362186362589676,4:0.9926158532589905,5:0.7687482305880835,6:0.7785259135682171,7:0.47813195163235944,8:0.702449808993823,9:0.6917228070966107},\"threshold\":-1.7946026053832083}]],\"dnnAvg\":13.3918449779,\"dymNerveStudies\":[{\"list\":[0.3802997191178773,0.8462333264133151,0.3036497890525801,0.6689386465632953,0.9735321423105247,0.03171032455330913,0.9373462916780746,0.09813374876375669,0.6301581389749229],\"threshold\":0.243375767137266},{\"list\":[0.9579864516034587,0.7453204963742909,0.7675279083214079,0.2685283704775936,0.31624489126212485,0.9682768574597324,0.15839748326211833,0.5087439869677978,0.22284068544420677],\"threshold\":-0.0315607192208512},{\"list\":[0.9687831229099197,0.7995117245095982,0.7410761863500637,0.008883753739061362,0.0805261621628518,0.11774125943169367,0.7439291424182288,0.5137881818731225,0.14108782484639681],\"threshold\":-1.655850111381332},{\"list\":[0.8553625742144583,0.6115443829670403,0.4093248404029084,0.9708407229452056,0.3928292015441476,0.5118514829956673,0.2992546905182132,0.7632147750608906,0.7862704478937678],\"threshold\":-2.865071941977669}],\"dymOutNerveStudy\":{\"list\":[0.79718819165002,0.23004903884236327,0.46247637217453164,0.3111780421847602,0.1360181231469869,0.954646485791314,0.2256813071526178,0.13556759374345917,0.9881114501705892],\"threshold\":-5.486450691799499},\"matrixK\":{},\"outNerves\":[{\"dendrites\":{1:1.0594893695994547,2:0.11768754679043912,3:0.09718947123758448,4:-0.11745341181914072,5:0.03141232352741326,6:-0.005362306817976925,7:1.1637001707020562,8:0.11115910157022396,9:0.06910336622491631},\"threshold\":0.3418400142276562},{\"dendrites\":{1:0.09198987974047429,2:-0.0029827272896538683,3:-0.0034063859432906527,4:1.1007228431401663,5:0.08177090018586004,6:0.005634699913063491,7:-1.0401823454367372,8:-0.006482421453045148,9:0.06264344686963465},\"threshold\":0.22464966063776265},{\"dendrites\":{1:-1.2917869704196319,2:0.14412825073465582,3:0.1983653395042985,4:-0.11068428776687501,5:0.2045959535032769,6:0.17194080920832264,7:0.20381557070730769,8:0.1563138001120643,9:0.22318567602462783},\"threshold\":-0.1698657175979512},{\"dendrites\":{1:-0.011593636857985236,2:0.1555504263708401,3:0.1187887949365435,4:-1.2633544125640646,5:0.0024792641227992054,6:0.07901925924842323,7:0.01948910020425478,8:0.09291775302457052,9:0.0630836837463161},\"threshold\":-0.7246624032530284}]}"; //2 0.1 public static final String DATA6 = "{\"borderMap\":{},\"depthNerves\":[],\"dymNerveStudies\":[{\"list\":[0.8069552113481556,0.9709947341686338,0.8838778668807168,0.6858754757820691,0.019100112280012738,0.8675478242399742,0.31779795357047036,0.438831240616934,0.7834457892763799],\"threshold\":0.839652880616655},{\"list\":[0.2819343042226351,0.9392430985853434,0.11897477128098588,0.9414462009850345,0.9357828227358187,0.8242763362124853,0.5897533297885068,0.6613018520014384,0.14782106837196884],\"threshold\":1.912734137149397},{\"list\":[0.7950299356209136,0.8994152720194233,0.757710289644511,0.9890273982984203,0.6684213522161923,0.9597212014443263,0.42162950011258993,0.1524423462033272,0.6710784474787098],\"threshold\":1.595986359815487},{\"list\":[0.8890190098865085,0.9278430186565028,0.5480879104416314,0.5522431496953174,0.9450374957936978,0.5627594309925331,0.8671171308411209,0.7230267707344997,0.1090669307419706],\"threshold\":2.504113323224686}],\"dymOutNerveStudy\":{\"list\":[0.04267175934492384,0.4514547106491408,0.046546962749144716,0.3504629797545291,0.2783094088271686,0.20570794277064375,0.7299870571145072,0.026151657300823472,0.47053571992281096],\"threshold\":8.56096975117539},\"outNerves\":[]}"; //2 0.6