Add new thickness data file and update hysteretic curves processing

- Introduced a new thickness data file `widthsH60_B34.txt` for hysteretic curves. - Updated the path for thickness data in `hysteretic_curves.py` to include the base and width parameters. - Modified the loop structure in `hysteretic_curves.py` to ensure thickness data aligns with case folders. - Enhanced the prediction script `predict_hysteretic_curves.py` with cross-validation strategies and improved training logic. - Implemented Leave-One-Out and K-Fold cross-validation based on the number of training cases. - Adjusted model training to handle full training pool without validation and added detailed logging for trials. - Improved memory management and error handling during training and validation processes.
parent 6eb5ddfc
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -135,3 +135,54 @@ Case,CycleNum,tw1,tw2,CycleMaxAmpl,PosEnvDispl,PosEnvForce,NegEnvDispl,NegEnvFor
8,15,8.58,8.88,0.049600542,0.049600542,-642664.33,-0.048799606,568874.62,-51512.95161435711,51512.95161435711,357326.3133713341,-12956800.552703638,0.3872249651700451
8,16,8.58,8.88,0.049600136,0.048800441,-598681.36,-0.049600136,655725.83,51104.44826680557,51104.44826680557,408430.76163813967,-13220242.58159292,0.3950981534657229
8,17,8.58,8.88,0.048800334,,,-0.048800334,612056.43,-17469.447521398917,17469.447521398917,425900.2091595386,-12542054.117908292,0.37482991647613617
9,1,16.59,20.0,0.011904007,0.011904007,-570873.47,0.0,0.0,-4726.162704078079,4726.162704078079,4726.162704078079,-47956412.492028944,1.0
9,2,16.59,20.0,0.011904105,0.011712007,-551974.52,-0.011904105,600663.87,6524.344098980726,6524.344098980726,11250.506803058805,-50458549.38275494,1.0521752308128112
9,3,16.59,20.0,0.011903902,0.011903902,-603291.05,-0.01171212,582225.77,-6510.5815251717595,6510.5815251717595,17761.088328230566,-50680108.925627925,1.056795249937674
9,4,16.59,20.0,0.011904252,0.011711896,-585033.47,-0.011904252,606225.45,6219.941999154319,6219.941999154319,23981.030327384884,-50925119.02469806,1.0619042663619294
9,5,16.59,20.0,0.02480003,0.02480003,-680625.16,-0.011712206,587986.25,-15317.205047143108,15317.205047143108,39298.23537452799,-27444529.70419794,0.5722807082110161
9,6,16.59,20.0,0.024800064,0.024400035,-639261.03,-0.024800064,739078.73,23047.367651646764,23047.367651646764,62345.60302617475,-29801484.786490873,0.621428568941522
9,7,16.59,20.0,0.024800177,0.024800177,-733988.61,-0.024400188,688893.94,-23446.61469691488,23446.61469691488,85792.21772308963,-29596103.68909867,0.6171459071092521
9,8,16.59,20.0,0.024800049,0.024400113,-693455.97,-0.024800049,741959.26,23166.643848531647,23166.643848531647,108958.86157162128,-29917652.985282406,0.6238509394391242
9,9,16.59,20.0,0.037696316,0.037696316,-779202.28,-0.024400115,698469.53,-34452.82306858716,34452.82306858716,143411.68464020843,-20670515.38935529,0.4310271414232879
9,10,16.59,20.0,0.03769603,0.037088365,-742349.14,-0.03769603,828707.9,43966.06580146015,43966.06580146015,187377.75044166858,-21983956.931273665,0.45841537739979443
9,11,16.59,20.0,0.037695931,0.037695931,-823881.18,-0.03708806,792071.35,-44812.652433880554,44812.652433880554,232190.40287554916,-21855971.139166187,0.4557465832707768
9,12,16.59,20.0,0.037696285,0.037088116,-787919.4,-0.037696285,829368.37,44385.42833466855,44385.42833466855,276575.8312102177,-22001329.04343226,0.45877762535071204
9,13,16.59,20.0,0.049600107,0.049600107,-889621.13,-0.037088392,792474.09,-56920.95530674819,56920.95530674819,333496.7865169659,-17935871.1867295,0.37400360566401214
9,14,16.59,20.0,0.049600316,0.048800324,-838260.21,-0.049600316,924972.52,65845.66258508658,65845.66258508658,399342.4491020525,-18648520.707005173,0.38886396496203357
9,15,16.59,20.0,0.049599742,0.049599742,-914912.45,-0.048800236,873541.21,-66920.9969049299,66920.9969049299,466263.44600698235,-18445911.472684674,0.38463910276338237
9,16,16.59,20.0,0.049600585,0.048799926,-863684.83,-0.049600585,995887.13,67639.48488189459,67639.48488189459,533902.9308888769,-20078132.747829486,0.418674619398746
9,17,16.59,20.0,0.048800522,,,-0.048800522,943454.92,-20250.290946009853,20250.290946009853,554153.2218348868,-19332885.82445901,0.40313453029190655
10,1,16.41,19.87,0.011904024,0.011904024,-568619.96,0.0,0.0,-4713.237957303464,4713.237957303464,4713.237957303464,-47767037.43204819,1.0
10,2,16.41,19.87,0.011904022,0.011712015,-549749.88,-0.011904022,598312.63,6519.890528778273,6519.890528778273,11233.128486081736,-50261384.76558595,1.0522190084969398
10,3,16.41,19.87,0.011904169,0.011904169,-601007.92,-0.01171196,579903.24,-6506.37212579827,6506.37212579827,17739.50061188001,-50487179.74349995,1.0569460125158767
10,4,16.41,19.87,0.011903895,0.011712157,-582688.0,-0.011903895,603840.31,6216.299456697115,6216.299456697115,23955.800068577122,-50726279.92770434,1.0619515602127487
10,5,16.41,19.87,0.024800219,0.024800219,-677821.67,-0.011711947,585704.47,-15279.09889775357,15279.09889775357,39234.89896633069,-27331277.598798625,0.5721786208256938
10,6,16.41,19.87,0.024799679,0.024400328,-636512.53,-0.024799679,780392.23,22985.868539309646,22985.868539309646,62220.76750564034,-31467835.93448931,0.6587772159672749
10,7,16.41,19.87,0.024800226,0.024800226,-730827.08,-0.024799654,735627.62,-23090.47208523897,23090.47208523897,85311.23959087931,-29468565.326783713,0.6169226083720332
10,8,16.41,19.87,0.024799987,0.024400326,-690541.2,-0.024799987,738979.33,23108.14782169877,23108.14782169877,108419.38741257807,-29797569.248725817,0.6238102853063654
10,9,16.41,19.87,0.037696149,0.037696149,-775826.11,-0.024399935,695505.71,-34349.94484113633,34349.94484113633,142769.3322537144,-20581044.233457375,0.43086289918513976
10,10,16.41,19.87,0.037696102,0.037088023,-739200.16,-0.037696102,825349.87,43838.628199099665,43838.628199099665,186607.96045281406,-21894833.317248557,0.4583669931047205
10,11,16.41,19.87,0.037696334,0.037696334,-820562.17,-0.037087875,788794.5,-44684.768889054576,44684.768889054576,231292.72934186866,-21767691.521408953,0.45570528740399596
10,12,16.41,19.87,0.037695641,0.037088303,-784703.76,-0.037695641,915863.07,44271.3580478863,44271.3580478863,275564.08738975495,-24296259.347334083,0.5086406998109761
10,13,16.41,19.87,0.0496008,0.0496008,-885848.7,-0.037087622,788199.94,-56752.02090161494,56752.02090161494,332316.10829136986,-17859564.765084434,0.3738888933711006
10,14,16.41,19.87,0.049599326,0.048800733,-834621.45,-0.049599326,921122.66,65652.94568501505,65652.94568501505,397969.0539763849,-18571273.730614807,0.3887884769289636
10,15,16.41,19.87,0.049600864,0.049600864,-911191.47,-0.048799362,869820.84,-66728.07147385311,66728.07147385311,464697.125450238,-18370475.764293138,0.38458478381512295
10,16,16.41,19.87,0.049599167,0.048801038,-860105.85,-0.049599167,1111248.8,67477.7586245251,67477.7586245251,532174.8840747632,-22404585.94798578,0.469038633175813
10,17,16.41,19.87,0.049599165,7.3129185e-07,-798485.62,-0.049599165,992162.7,-19486.279394211586,19486.279394211586,551661.1634689748,-20003616.996374838,0.4187744953793989
12,1,15.49,17.85,0.011904118,0.011904118,-546399.42,0.0,0.0,-4576.717339454822,4576.717339454822,4576.717339454822,-45900033.92103472,1.0
12,2,15.49,17.85,0.011904055,0.011712085,-527590.38,-0.011904055,575947.65,6463.720536627007,6463.720536627007,11040.437876081829,-48382475.55139824,1.0540836556816984
12,3,15.49,17.85,0.011904095,0.011904095,-578490.07,-0.011712026,557659.18,-6454.088141522897,6454.088141522897,17494.526017604727,-48595888.22165817,1.0587331657589039
12,4,15.49,17.85,0.011903988,0.011712087,-560322.77,-0.011903988,581465.34,6178.911243636993,6178.911243636993,23673.43726124172,-48846263.95792737,1.0641879707967377
12,5,15.49,17.85,0.024799931,0.024799931,-651668.02,-0.011711989,563474.1,-14917.457255534802,14917.457255534802,38590.89451677652,-26277009.399743896,0.5724834418412459
12,6,15.49,17.85,0.024800182,0.024400006,-610607.49,-0.024800182,706896.35,22404.038864342296,22404.038864342296,60994.93338111882,-28503675.900442988,0.620994658729011
12,7,15.49,17.85,0.024800024,0.024800024,-703043.83,-0.024400313,663918.71,-22796.899599023993,22796.899599023993,83791.83298014282,-28348514.09821216,0.617614229806066
12,8,15.49,17.85,0.024800301,0.024400004,-662881.14,-0.024800301,710982.47,22565.892020727002,22565.892020727002,106357.72500086982,-28668300.033939105,0.6245812385075649
12,9,15.49,17.85,0.03769588,0.03769588,-745562.54,-0.024400337,667874.48,-33413.19969998556,33413.19969998556,139770.9247008554,-19778356.14926618,0.430900686986253
12,10,15.49,17.85,0.037696621,0.037087705,-710544.6,-0.037696621,792799.25,42630.28469094091,42630.28469094091,182401.2093917963,-21031042.80885016,0.4581923151741335
12,11,15.49,17.85,0.037695457,0.037695457,-788756.02,-0.037088731,757234.37,-43464.17676593885,43464.17676593885,225865.38615773513,-20924431.822115857,0.45586963744109055
12,12,15.49,17.85,0.037696804,0.03708748,-753542.15,-0.037696804,793225.54,43072.673969460615,43072.673969460615,268938.0601271958,-21042249.098889127,0.4584364607461879
12,13,15.49,17.85,0.049599927,0.049599927,-848899.49,-0.03708874,757261.09,-55114.96519348008,55114.96519348008,324053.0253206758,-17114934.261899214,0.3728741092292725
12,14,15.49,17.85,0.049600466,0.048799824,-798915.16,-0.049600466,883104.67,63780.62509130594,63780.62509130594,387833.6504119818,-17804362.36224071,0.38789431818004516
12,15,15.49,17.85,0.049599809,0.049599809,-870162.16,-0.04880044,833209.67,-64807.484693396706,64807.484693396706,452641.13510537846,-17543659.492721032,0.3822145212986707
12,16,15.49,17.85,0.049600589,0.048799811,-820723.32,-0.049600589,955805.37,65613.40524865643,65613.40524865643,518254.5403540349,-19270040.72471801,0.4198262850495864
12,17,15.49,17.85,0.048800699,,,-0.048800699,900748.99,-20004.097220885895,20004.097220885895,538258.6375749208,-18457706.722602475,0.4021283895858695
This source diff could not be displayed because it is too large. You can view the blob instead.
15.22 18.46
12.74 12.61
18.03 11.3
21.19 19.38
9.78 15.96
18.64 13.8
13.46 20.99
8.58 8.88
12.66 14.70
12.34 14.33
12.55 14.80
12.76 15.00
......@@ -6,3 +6,6 @@
18.64 13.8
13.46 20.99
8.58 8.88
16.59 20.00
16.41 19.87
15.49 17.85
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
8.93 10.69 11.92
14.65 7.11 11.38
6.29 6.52 9.56
4.58 8.02 12.59
10.95 6.12 10.09
13.03 8.96 14.9
15.45 11.1 6.67
14.25 13.56 5.6
5.22 14.05 8.76
12.69 4.24 7.49
7.82 9.84 14.42
5.72 11.78 13.37
10.54 4.85 8.21
7.07 15.26 4.16
11.94 14.8 15.93
9.81 12.65 4.96
5.52 8.47 9.33
5.94 8.39 9.27
5.81 8.12 9.04
5.68 7.97 9.00
5.53 7.96 8.84
5.81 7.88 8.98
5.83 7.89 8.95
5.80 7.82 8.97
......@@ -14,3 +14,9 @@
7.07 15.26 4.16
11.94 14.8 15.93
9.81 12.65 4.96
7.39 9.31 10.15
7.20 9.27 9.81
6.88 9.05 9.83
6.81 9.03 9.64
6.83 9.03 9.71
6.84 9.03 9.71
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment