Skip to content

Commit

Permalink
Code refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
AHartmaier committed Dec 28, 2024
1 parent 566cb94 commit 6bca623
Show file tree
Hide file tree
Showing 12 changed files with 1,114 additions and 7 deletions.
100 changes: 100 additions & 0 deletions examples/Active_Learning/DATA_sig_iter_0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
-1.280096868518839948e+01 1.003727475662627633e+01 1.374124454789472694e+01 -1.706650536236310245e+01 -1.749191619453177893e+01 1.932389927623373138e+00
8.822495636761788163e+00 -5.568807523117778047e+00 4.492487376062770821e+00 2.348691006399626691e+00 -2.831050545396831097e+01 -1.084388028979393859e+01
-7.033106652556292637e+00 1.432453586794539113e+01 7.242079446631370487e+00 -2.151938964330458504e+00 1.158931563140517440e+01 2.411004079848455817e+01
2.570580323904300712e+01 -4.666959012975996579e+00 8.729381451461371455e+00 7.698290377826797481e+00 -9.211737420530203835e+00 2.023909706349629900e+01
-2.699088510933903340e+00 -1.908565534254871965e+00 2.138378488819789069e+01 1.325811982677312173e+01 2.351204821102320608e+01 2.082346638892236701e+00
-6.142431528325995593e+00 3.040179124575514891e+01 1.846187339343206091e+01 -1.278372092266980431e+01 -1.343297364795853710e+01 8.398088789948436883e+00
1.674539158101145375e+01 -1.352702463578746084e+01 -1.382322712374092788e+01 6.588001452941196767e+00 -1.926117617074415378e+01 -1.254005172737354457e+01
2.788075026067649453e+00 2.274343465605847570e+01 -9.576594430632502153e+00 -4.236461532889737036e+00 -1.614089240359215438e+01 1.779684227350799119e+01
-3.648334240670747075e+00 -9.652555196062998277e+00 2.055312115892863112e+00 -1.567478488696479033e+01 -2.402840287543708797e+01 4.120752969954597944e+00
-9.686573178885849345e+00 -2.133108247714540795e+01 2.267720197363270174e+01 4.613619526794288994e+00 9.270618363575360732e+00 1.613324192143906544e+01
-1.661600229046836930e+01 -1.629577256294518151e+01 -1.560391627644222190e+01 -1.793165041128839832e+01 9.120099636261429055e+00 1.866981087393439864e+01
2.409967998784663479e+01 -1.242737082225706047e+01 1.118218884832319571e+00 -1.592913089364167334e+01 8.680279476917462489e+00 6.299220051097465856e+00
2.643579779205142088e+01 1.492918697746596735e+01 -3.227079639813986933e+00 -9.503775922100235363e+00 -1.702947300114931295e+01 1.718789680086269556e+01
1.382704148989602544e+01 -1.370123341842774067e+00 -1.641130214967709122e+01 -1.822103271308115069e+01 -1.594737620319203408e+01 -3.152577230613312024e-03
7.954372351703727695e+00 -2.823713950430415665e+01 -7.732370138677589821e+00 1.714751343426469177e+01 5.855685641144636300e+00 4.386897432377543815e+00
2.139171227265564923e+01 1.324128769834490349e+01 2.055352728078746694e+01 2.474496967094623301e+01 4.004629758562586517e+00 -4.966966551018627690e-02
8.573674869111913566e+00 1.797025541801231441e+01 1.677834027405242878e+01 1.768980722275040307e+01 -2.213123812320406714e+01 -2.449326537449997954e+00
-7.172592609241503325e+00 -9.010113787217239434e+00 4.407580820583628878e+00 1.690489494250275726e+01 2.011798885610166465e+01 9.570777829359531808e+00
3.289917948804716730e+01 2.720101289781272058e+01 8.380165161910067440e+00 1.904936493697896438e+01 5.056953155806103162e+00 1.429621981722724477e+01
1.001997823180457736e+01 -2.616952973270068483e+00 -1.063656710839487474e+01 -1.727831249570339622e+01 -1.843230659541941563e+01 -8.698847136730185170e+00
5.769680983510075301e+00 -4.849121369245289886e-02 -3.218188066638254963e+00 2.165471685761580289e+01 1.538921447229803974e+01 -3.907501738650462908e+00
-8.124579971520020649e+00 8.392187945806885097e+00 -1.743711931679162674e+01 -1.363437721968328376e+01 -1.080548770503406963e+01 -1.770020547837759040e+01
1.557834216040548903e+01 2.139805052621685277e+01 -8.033898052110723498e+00 1.348467833837532837e+01 5.289107536721123104e+00 1.890089867189366046e+01
5.581649278015541338e-01 2.504002303608792346e+01 1.678182682065616760e+01 6.068654364818523383e+00 2.513508184564336290e+01 -9.905227427258244788e+00
-1.269454422393225990e+01 -9.098253302537957055e+00 -1.858732343187235614e+01 1.166742229403708819e+01 -1.935022010443610796e+01 1.829603983308507864e+01
-2.396362631694233514e+01 6.020055145498792726e+00 -1.402042847720572283e+01 -9.161486472209961818e+00 2.966793634240044941e+00 -2.071077543453901626e+01
2.414642135085736285e+01 -2.192881763240307436e+01 -1.909198889510763308e+01 -4.892231139323817146e+00 5.919969703038794329e+00 7.705582335316598197e+00
-2.851051078358178259e+01 9.369676935790996808e+00 -1.309732294437172584e+01 1.483067008172146650e+01 5.797031297913988190e+00 -8.594166664775151787e+00
1.120427849701004952e+00 2.140621822397010821e+00 -1.314664518286240913e+01 1.171349001417864777e+01 2.709370351594916571e+01 -2.184112275245179813e+00
1.873752988640394523e+00 -1.920317532394922466e+01 1.458516296263145584e+01 1.651608293302603769e+01 5.664941249271986834e+00 1.184327738986343270e+01
-2.315814825877135874e+01 -6.870324812574036821e-01 -1.688161871689418447e+01 1.320093120996817504e+01 1.135898949221269127e+01 1.836952137830437337e+01
-1.416852561831706936e+01 1.948586572495732838e+01 1.498761529781454627e+01 -1.160365994169674453e+00 1.884146923096862736e+01 -1.344455993529425086e+01
1.301712121645445741e+01 1.413031816601117541e+01 -2.533797611925920634e+01 -8.878331483965011373e+00 1.146298328012768941e+01 1.393548393400291552e+01
-2.028837242961016329e+01 -1.062006299990084557e+01 9.012410122672509516e+00 -9.236225462200732039e+00 1.895642490253384338e+01 -1.577160886787296334e+01
-1.626898442963988245e+01 2.543244493215968660e+01 -1.223882439210988515e+01 -1.368119873450692969e+00 1.360647647793934745e+01 -6.213421006211629738e+00
-1.114106329640246607e+01 7.590985107566516454e+00 1.829381828579906255e+01 -1.022017587151531970e+01 -1.839986475641239494e+01 1.498847124463166480e+01
-1.305217950645435332e+00 -9.606175858667342027e+00 1.022595268708442307e+00 1.396955801128587993e+01 -1.320696746125439880e+01 -2.011373499807995913e+01
5.351592364291594350e+00 -5.613343912662449142e+00 1.798532667055451029e+01 -1.704780187879140385e+01 6.540900708391171214e+00 -1.678688974061292072e+01
1.298119914300922417e+01 -9.663811441642879529e+00 1.890402444709461349e+01 -2.382293547465539341e+00 1.467229619957851838e+01 1.984865278907423658e+01
-1.384939628903286213e+01 3.882921951004788763e+00 -4.127907488090643007e+00 -1.721109833932245259e+00 2.229436096691770786e+01 -1.835107653158037166e+01
-4.961437853982706425e-01 -1.436027283671741017e+01 2.312352396236100116e+00 -2.356226334973518277e+01 2.548923172597462816e+00 3.781773853868540591e+00
-5.081855933873137943e+00 -4.629928849187168183e+00 1.168601255894782476e+01 -1.399992495901280876e+01 1.956303654607448550e+01 -1.396953833142411838e+01
4.338422671628228144e+00 -3.637815986308568394e+00 -1.492453219906336415e+01 -1.808860346435507438e+01 1.786845836527162001e+00 1.805700180738603677e+01
2.105594728928872073e+01 1.463389214902266922e+01 1.675633499877749788e+00 -1.658357323601671496e+01 -1.740883841577963764e+01 1.232602298653895723e+01
-1.622164843667660250e+01 -3.691412125682075640e+01 -3.770517009753123716e+01 -1.285794954995790462e+01 2.309206491932731353e+01 6.160723269698894278e+00
3.708794913228032009e+00 9.901889412690056957e+00 -1.438776061831151054e+01 -1.518617939617590906e+01 -2.060860415393437961e+01 6.947550257716702760e+00
3.039076730790366998e+00 -1.121878741488374231e+01 1.330134720650117330e+01 -1.585709043279327446e+01 8.052630351645923668e+00 -1.716535908982437775e+01
2.652691342719759859e+01 9.612962851825104238e+00 2.229421643219058424e+01 -1.525831890138508307e+01 1.301998519817516531e+01 -1.730350258819861509e+01
1.791642083108900962e+01 1.945745435477858720e+01 2.693841854149091120e+01 3.020128583986213311e+00 -8.454552573495170975e+00 -2.729311996542625707e+01
5.707698998394543644e+00 1.720876584037081969e+01 -3.271598831640855565e+01 -1.719485021878902398e+00 1.369152088225783359e+01 -7.810354985165254504e+00
1.830579909733765476e+01 9.146940676797322922e+00 -2.069294487527374993e-01 1.579164304050707734e+01 -2.048250453294653539e+01 9.968873938714853722e+00
-1.128600743510741289e+01 -2.146653817331707259e+01 1.816834782292144013e+01 9.815246405231647486e+00 -6.747418672502367265e+00 1.686567790621232277e+01
5.694625509409401154e-01 2.348993688937993696e+01 -1.810427285892345850e+01 7.606683170656771686e+00 -1.630950956806391616e+01 -9.680024463322972395e+00
1.459167901802298672e+01 1.172853918481188451e+01 1.804461863914270836e+01 -7.730503474900372929e+00 -2.284630582697778323e+01 -1.811432923407030060e+01
-1.033825435136910187e+01 1.454736211809792223e+01 2.406270087073899688e+01 -8.094430858701628040e+00 1.402784706829833894e+01 1.711942347640445306e+01
-2.407899789847140326e+01 -6.851783575964381257e+00 -1.776891716640001206e+01 2.186285972480754225e+01 -2.399625669162624320e+00 -1.065783749597919972e+01
-2.123196008651246558e+01 -3.127258289612222963e+00 -1.566522199512238167e+01 -8.273948734270753391e+00 2.611263755321686375e+01 -9.619994277194948040e+00
-9.288854730863180365e+00 1.658953462713799354e+01 -3.886086376571296963e+00 2.022749158861114438e+01 2.070190420796598207e+00 8.274420539207977043e+00
-1.625496068610957678e+01 4.751712880823985685e+00 -4.543619495355731175e+00 -1.643861888098484059e+01 -1.175326181370119372e+01 1.543236640939595539e+01
-2.164515998573268973e+01 8.572614590362343634e+00 -1.442324335416213721e+01 -1.643159572410258562e+01 1.376943289365203604e+01 -4.835211296855761454e+00
-5.944365157718205950e+00 -2.241787174903312696e+00 -3.605809843037611984e+01 1.410397638608232995e+01 1.844682461082885538e+01 1.708612061123438330e+00
-1.601433929463907901e+01 -1.388313339627886389e+00 -1.955169406990112435e+01 1.082070148976811552e+01 -2.280982188649578646e+01 1.259085838139957936e+01
-2.293480142180412784e+01 -5.609393036388297560e+00 -2.347835793672338411e+01 -1.670145314411327320e+01 2.734333047390016702e+00 1.847812864622487794e+01
2.477314816766941163e+01 2.960218568437622721e+01 9.436191220711288352e+00 -9.549945632222817116e-01 -2.877666341011535778e+01 -8.307159773842808903e+00
-6.434556052391374181e-02 -1.969960889348940469e+01 1.689861982451747124e+01 1.216981625463325445e+00 8.984130625412182880e+00 -2.049555596390710122e+01
1.618673314614462555e+01 -4.843520455551290738e+00 3.293710312782199168e+01 -5.789911019938425163e-01 9.036800444358593865e+00 1.984288707144690633e+01
-6.838459370198491705e+00 1.944692537725352111e+01 1.660075475275123225e+01 1.486852727838607180e+01 -1.889983212295431425e+00 -1.778817757055914583e+01
-2.056740619994023334e+01 -3.061377877940043035e+01 -1.548134640140553664e+01 -5.682095058102607510e+00 1.096431721666287551e+01 2.510886311527194437e+01
-1.699298631152660377e+01 -7.861885919817494184e+00 -1.592677030088571222e+01 1.801096036472046791e+01 2.117504098553896874e+00 1.943207449666816800e+01
-1.372235263939625582e+00 -1.795372934079113847e+01 -2.549982410599924165e+01 5.824408655498751308e+00 -2.586603352437333925e+01 1.060330525274683211e+01
-1.586422126327962623e+01 1.613966132618848093e+01 1.505192525070325260e+01 -1.576863249225892538e+01 -7.896985330726420393e+00 1.046418993551817955e+01
1.597124178527594829e+01 -6.286051101287340792e+00 -2.800196332434565227e-01 -1.002041780835938667e+01 -1.756073489540229815e+01 -1.742652967070901582e+01
-1.599092979431522821e+01 3.099634788436361177e+01 2.678639694885510636e+01 -4.717028099980912437e+00 6.056111417430521726e+00 6.593186803450901579e+00
7.450931614065057218e+00 1.556833206793834190e+00 -8.243570205673098172e+00 1.819982146863537054e+01 1.960957649602391228e+01 -6.500021820805458539e+00
-2.584747249172489703e+01 -1.524323957011406527e+01 6.369953379977377317e+00 1.036163415316789660e+01 -2.368638734226868792e+01 -4.442516511744019070e+00
3.802065294747385593e+01 7.718977071148930280e-01 -1.149435828121117531e+01 -4.053768590181392462e+00 -1.279265743159133351e+01 -6.796544957099352580e+00
2.556990703937594134e+01 1.039039097488659813e+01 1.803621118450857352e+01 2.094826496387726067e+01 6.766721124408147325e+00 1.249379640080163867e+01
-2.104726860497286722e+01 -1.902570311058310182e+01 -2.806453111621059548e+01 3.412812329525042543e+00 2.327643525897531163e+01 -1.909038256419862378e+01
-3.976713353942927132e+00 5.323811253250849695e+00 -2.934645765504585668e+01 1.523428937454995591e+01 6.433596068067098939e-01 1.535196730881263250e+01
-2.710303396931546427e+00 4.079426263561078514e+00 -2.047051034252886126e+01 -1.806701950516465516e+01 1.079417720796042346e+01 1.295273445647135269e+01
-1.169663836921986366e+01 -8.015115405725287800e+00 1.172531893411011339e+01 2.045497023402674586e+01 -1.399709479193348471e+01 7.476251483802229814e-01
-7.475446979255822910e+00 1.883485148276821164e+01 1.412970870554622671e+01 5.011000077159874166e+00 -1.615130837003998465e+01 -1.929585175612528047e+01
2.080296242856582012e+01 2.356734234288582197e+00 -1.816021205892085533e+01 1.951026685136456962e+01 1.444261698399918359e+00 -3.186159935367748108e+00
1.818052714262342207e+01 -8.750347104131005693e+00 1.315092170089973855e+01 2.018863059554006156e+01 1.331293220469008443e+00 -7.066449709018869818e+00
9.135715688695734471e+00 1.784376417250409474e+01 -7.620730369901136392e+00 1.386123884563337150e+01 1.894572235722962006e+01 -1.174232925152641194e+01
1.587360512085019870e+01 -4.435138087718230038e-01 -1.047355994425940651e+01 -2.145290924807083499e+01 -9.689791927718305331e+00 -2.138139047179684338e-01
2.477908459788921380e+00 -3.555728372859825459e+00 -1.320685648829216419e+01 8.331404425437337835e+00 -2.408147611860093917e+01 -1.504803889637664405e+01
-1.557184579858169293e+01 -2.420855763717546338e+01 -5.797277726343669002e+00 -1.858582132927390518e+01 3.546154926625237458e+00 1.700479746802620795e+01
-2.211047225150653439e+00 -1.072774906674352824e+00 -6.712142839735017574e+00 -2.257028537248040934e+01 -2.009508880408424236e+00 1.264489352905823871e+01
1.034854215374497244e+01 -1.709297353386124030e+01 7.876020845985692631e+00 -1.441720548513784905e+01 1.652848530304290264e+01 -8.014852400526320864e+00
-2.471582319548397066e+01 -1.523538432619507432e+01 -1.250581308302080608e+01 -1.637494676103556657e+01 2.322287009675591207e+01 3.701998889640143897e+00
7.749560760521833735e+00 -1.407131792440446283e+01 -1.293947072760366979e+01 4.777082669380179780e+00 2.541733371658229146e+01 -1.120629672284743705e+01
2.110633207784876575e+01 -1.199612895501814513e+01 -1.215888085852747658e+01 -9.542528685192467330e-01 -3.081762500844484887e+00 2.097061365934002453e+01
-8.720153757297332220e+00 1.633612492159188889e+01 1.578558721077869320e+00 -1.235907948409838042e+01 2.106750557578825678e+01 9.193924342590268139e+00
-1.736110525097181068e+01 5.198981048244825764e+00 -1.590877816645170562e+01 1.843777584910632328e+01 -1.572881836282517831e+01 4.697040423563760281e-01
-1.047646486059750082e+01 -6.762801075511543081e-01 4.076549679287395200e+00 2.009489970173102336e+01 -1.685910193445805305e+01 -5.488118937848564194e+00
-1.573722138908613122e+00 -1.624541240100141692e+01 -4.552663087195233160e+00 -7.989572471402496490e+00 -1.965677612291065657e+01 -1.916220193107830383e+01
-1.064410529003552774e+01 -2.840520159335549977e+01 5.538741319002130403e+00 -2.412432295482560551e+00 -2.039881677485406897e+01 1.402449915454239893e+01
1.333965717967740616e+01 1.988052223535877872e+01 2.129404753346774370e+01 3.812827713772131588e+00 9.199127300504397198e+00 2.700069937042819745e+01
-1.198251244394139547e+01 8.243182450160055907e+00 2.185407208201045393e+01 2.621669951913464747e+00 2.578245813657441587e+01 -5.719178771150638774e+00
Loading

0 comments on commit 6bca623

Please sign in to comment.