From 8899cf0f18e693862bee066e31640394635b733e Mon Sep 17 00:00:00 2001 From: kohlhaasrebecca <rebecca.kohlhaas@outlook.com> Date: Thu, 18 Jul 2024 18:49:02 +0200 Subject: [PATCH] Cleanup --- .coverage | Bin 53248 -> 0 bytes .coverage.DESKTOP-ATMEKSV.11452.XLITHjZx | 0 .coverage.DESKTOP-ATMEKSV.12176.XLfAodNx | Bin 0 -> 4096 bytes .coverage.DESKTOP-ATMEKSV.13588.XZYsjQJx | 0 .coverage.DESKTOP-ATMEKSV.16272.XbRVHzCx | 0 .coverage.DESKTOP-ATMEKSV.17272.XFfrcjIx | 0 .coverage.DESKTOP-ATMEKSV.19516.XYmGXWjx | 0 .coverage.DESKTOP-ATMEKSV.22008.XRkuWJDx | 0 .coverage.DESKTOP-ATMEKSV.26464.XmAwipdx | 0 .coverage.DESKTOP-ATMEKSV.26608.XOhHWLjx | 0 .coverage.DESKTOP-ATMEKSV.28232.XbgqjYTx | 0 .coverage.DESKTOP-ATMEKSV.29620.XFvzCgcx | Bin 53248 -> 0 bytes .coverage.DESKTOP-ATMEKSV.3204.XyITjfkx | 0 .coverage.DESKTOP-ATMEKSV.32192.XvDmKXMx | 0 .coverage.DESKTOP-ATMEKSV.5212.XQFhYiNx | 0 .coverage.DESKTOP-ATMEKSV.8636.XwlJQXIx | 0 .coverage.DESKTOP-ATMEKSV.8780.XTtoPmMx | 0 .coverage.DESKTOP-ATMEKSV.8936.XNLbUDNx | 0 CHANGELOG.md | 1 + .../bayes_inference/bayes_model_comparison.py | 1 - .../post_processing/post_processing.py | 5 ++--- src/bayesvalidrox/surrogate_models/engine.py | 2 -- .../surrogate_models/sequential_design.py | 10 +--------- .../surrogate_models/surrogate_models.py | 1 + 24 files changed, 5 insertions(+), 15 deletions(-) delete mode 100644 .coverage create mode 100644 .coverage.DESKTOP-ATMEKSV.11452.XLITHjZx create mode 100644 .coverage.DESKTOP-ATMEKSV.12176.XLfAodNx create mode 100644 .coverage.DESKTOP-ATMEKSV.13588.XZYsjQJx create mode 100644 .coverage.DESKTOP-ATMEKSV.16272.XbRVHzCx create mode 100644 .coverage.DESKTOP-ATMEKSV.17272.XFfrcjIx create mode 100644 .coverage.DESKTOP-ATMEKSV.19516.XYmGXWjx create mode 100644 .coverage.DESKTOP-ATMEKSV.22008.XRkuWJDx create mode 100644 .coverage.DESKTOP-ATMEKSV.26464.XmAwipdx create mode 100644 .coverage.DESKTOP-ATMEKSV.26608.XOhHWLjx create mode 100644 .coverage.DESKTOP-ATMEKSV.28232.XbgqjYTx delete mode 100644 .coverage.DESKTOP-ATMEKSV.29620.XFvzCgcx create mode 100644 .coverage.DESKTOP-ATMEKSV.3204.XyITjfkx create mode 100644 .coverage.DESKTOP-ATMEKSV.32192.XvDmKXMx create mode 100644 .coverage.DESKTOP-ATMEKSV.5212.XQFhYiNx create mode 100644 .coverage.DESKTOP-ATMEKSV.8636.XwlJQXIx create mode 100644 .coverage.DESKTOP-ATMEKSV.8780.XTtoPmMx create mode 100644 .coverage.DESKTOP-ATMEKSV.8936.XNLbUDNx diff --git a/.coverage b/.coverage deleted file mode 100644 index bf1a819edb9c1da044cf1d4a9886dcae9c8a0d44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53248 zcmeI53v^q>nSe*q)%!7iMs}RU*DoBOI8NLwkU$bUaYEvdV1juCOk`QUmX+9&qAMph zB(aoaiQSTg4Q&aBhoPqnds>zS3fnAsI9tqF+NHGJwhOzIB$$@ag+?|Z*r^rW{b#Nu z%W^_nY@Gr-_gFJ?@16Pof4=!==8omLuHU%c<rnxCkFVYC=NF+gq)?!0o<|7j;bVqR z?9f7ji=9BMNJw8UsYewp|7*s#B9rC-!kf)?c)saT^A*NlnA-JUH$JYl>m6`|9gF}Y zzz8q`|Gx<YH=4B8++4+;U4DC0o8b4^9fD5|%{4czUUBnk{^k`c*RST~Yy4aT56ArZ z{0iRZ*};1SAK&6?6L^=q+2yeNU2Z4uZxv#>J4B(GOmuJ!raF?bf|e&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8gu*`aSSU8g%rc zwqT$a59beFJbQlmfK(TTC!T`Hvf)sTZaDN#Z+FNt9BLmtbp%rPb{;u@eBkY4CwqT* z&#}^zXU{+0dF0Kpf|H?L$Et>Rhd#VmLp4*MM#C46|8u{Tc`7va$Fc679ihz7Nj!XZ z+3?w2a58Y@YB^NW{r?sT;W7LP{sVp=pTck9U*MnMSMX8%5`Gpxji0~|<AeAccpu({ zw_^`(#ddrLuE*=~YP=j@jThoFT!`~<7B*uIh++pLzz8q`i~u9R2rvSS03*N%FanGK zBk)Bdpn(;+qNIdI#l<u#Dxy(gA&m+OXvFh0%Fn0KoH;a_J)1_eX3;1wk47_R(kM5V zMmae&vRY|0V+M_~vuTu-MWf728f9eAC_SA<X=yaVm_`;0jm%~mnM^b?8fj!O&`7VR zkxoY=t(Ha_4UN=l8gU$rR4N)Nl^mzn)9?SIzwi5^wGFd}5nu!u0Y-okU<4QeMt~7u z1Q-EEfDvE>rilRg{-3S?rwJw#!w4_}i~u9R2rvSS03*N%FanGKBftoJK?%_P|9B1g z`~OezF#ZUi!Gri6*aPrO{09Cp9>D$hW!MMs9R5Cj3O|V-#Sg(=fCIP(@5Q@u7xu$` zfGt?SjrdM{E8Ylu0${fZI~V~*fDvE>7y(9r5nu!u0Y-okU<4R}uP6ak3A{^RRZM~+ z5)_i4fCM}V@<}j<1hYvniv)Qjm`Q?M66BD;N`e_A$R<G+2{K8LL4tG=z$-?~Dog?k m3Ctugk-$g-0}1pbfLGC&Raz2gNT4PGM*<ZIlq4YU|NlQ!z*dF; diff --git a/.coverage.DESKTOP-ATMEKSV.11452.XLITHjZx b/.coverage.DESKTOP-ATMEKSV.11452.XLITHjZx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.12176.XLfAodNx b/.coverage.DESKTOP-ATMEKSV.12176.XLfAodNx new file mode 100644 index 0000000000000000000000000000000000000000..81e53f831236a6e47a886ccb6403982ccf33b461 GIT binary patch literal 4096 zcmeIuJqyAx5C-5x1VIqp9DPSc>*62qgKmQOF)MAowgGJ*jXL{x{S}@{7Z-QABS&~i za)D>NUK&qGtvg2^6V*{#t0|zA(%d!fs$RKX1>RrzS7|j)A1%J6+k3@JN(4ke1Vlgt zL_h>YKm<fU1Vlgt{!rlF(~a(MsP7ja#V1Pam0Xn3p-gf*M_;kF*o3oPh}~?y4Doe{ yeiK|lfK@?o_BMjIa6Hl-;d25{E{!c<(|7#*08?->C64j<{l2<o3Qrli=HLkvOg+s2 literal 0 HcmV?d00001 diff --git a/.coverage.DESKTOP-ATMEKSV.13588.XZYsjQJx b/.coverage.DESKTOP-ATMEKSV.13588.XZYsjQJx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.16272.XbRVHzCx b/.coverage.DESKTOP-ATMEKSV.16272.XbRVHzCx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.17272.XFfrcjIx b/.coverage.DESKTOP-ATMEKSV.17272.XFfrcjIx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.19516.XYmGXWjx b/.coverage.DESKTOP-ATMEKSV.19516.XYmGXWjx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.22008.XRkuWJDx b/.coverage.DESKTOP-ATMEKSV.22008.XRkuWJDx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.26464.XmAwipdx b/.coverage.DESKTOP-ATMEKSV.26464.XmAwipdx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.26608.XOhHWLjx b/.coverage.DESKTOP-ATMEKSV.26608.XOhHWLjx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.28232.XbgqjYTx b/.coverage.DESKTOP-ATMEKSV.28232.XbgqjYTx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.29620.XFvzCgcx b/.coverage.DESKTOP-ATMEKSV.29620.XFvzCgcx deleted file mode 100644 index e1f7e6f75f5aa9a7a33884193b67b7cc22082200..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 53248 zcmeI)O>f&a7zc34ZmrmHpcX+O1VIsAHpi&r&d8zIcG$8lhhhb~Zow`C=F&2qXtg9q zlJjyH2DbwO4A?gq_MP?-b}M$-X{TNGJd$YHNnG?+)cXsuElVUt{`iozqqN^Vee5Ml z48q8liP$sl7^Z1_DuiJeReG$^LvI%C+|qC8)tuR1v|BaWgTL17Z;g88SHu2(?TNix z|84F4)j#Tf^_SJ(Em?Kx1U3jj00I#Be+x{W)-7jq(|qw`B6~xXMAB7J_PqA_*9ZHD z2jX!5v&RP_J0^B&g0|gVu`i<VOpH_{2HsE!FX(%&OuXPoB*#jp9>=QB3mqM!rH&J} z)BL>G_4<@6QAbq7DDr$6U5MxEqLn7dua>CuBs)NbDDNoX6k;dO-V~7<s7M8_inChm zc>QLr`SPcl<*cupmnv<Oj9mIzoofvpD4OzUKn1yB)aTmwA{n^HDsBlmZJ`@dJ<pS@ zwNdClNJ266g0z`I>?K|p2z9R9aiaP+Hn7ELdLz8q)=*i`xIxddocXn8bc)P3<jj-j znFmz4Ak?fyM!qy<PU{?u{T`A3F!o2>Ig}&2a1t)cxhQWE=8b*hzPX_<i}ucSrzYnf z&2o(c?_{i|o!=5g&Q{utAZ!V41VzAms}<+Nb<?1zROj)@kUnp9<v0n`_g(7zZik-g zKi^%kob7G%@+1uu=IQplB%bb6=YnQ>ctPm!`NeU=qhvlvcoYqXA{?YchI5Oob10f; z$IJtbAtN4WBFqy~P2Xy?ab>9vqBjhC^RbpjOsr^t&|ILC4aR}XLnY=mxZ$aa<dJIU zXR~SHZ3hyCPN!ON4z?GC&NKwNo#}3EvRSd5tu6CKH4US@xAGTjE`)SX-Y|{oQ@)b% zIMNfz>n2H^qnIW27|G92b9SwYv%j^dIeEHnC*N6_Shp-^W5b+eBZB88e%zjG1Rp7e zz?FsI&8t6>$+5UzcRoxNZ``gpA8#zGI9H+D;pfWB?@DQvFE>+tpC)~Nl;^6<M~W(c zsV;U;<&b8Rk@O-OvNQ*0D}dmHeMyOBFB~Un{PNp0JbCRY>YEi%yw~=Ws+lII;r&$@ z#~v-KylllE>7$}?EMuO9;)dvj;ZVsSTN^0HqnNJg#Uic4^;PMUqKx>0%Q!l1q;=AZ z3s3WhH0bpBq8;CtK|f!wcp1)0rMaI6CtoL<L@1+Z(4dTIh+ZjE7n+~t8B3Sn9+3%` z>dSsM+__U`N<2GO*NV$lqc3El63<tHlcbeN1M5u2!i^N2q_wo!D8DWYxVO3;e&%n< zEBsMzvTa(<{rl!*oDarqp6SN4sQXe^JAYf63z91*i+FiL6E1z)nT->+o8jQM*%f$l z%X+YvDd<%BXPsJ;zu=qpzXttag8&2|009U<00Izz00bZa0SG`~`2@;l$+Y<Uf64yS zu>YnfY!H9|1Rwwb2tWV=5P$##AOHafyqf~`Qu&^(|HR`1+bnN6`5ys1Z11)AYSgNd z{mQUk+5fzo4MeRW009U<00Izz00bZa0SG_<0uayw_3}Ma{}!NBD{ocvUjn56!2ga; zg;xkb00Izz00bZa0SG_<0uX=z1eQ^N@Bh<(`iBhy5P$##AOHafKmY;|fB*y_0D&bI z!2SOv?p!nt0uX=z1Rwwb2tWV=5P$##Adm~-{y#zi0uX=z1Rwwb2tWV=5P$##Ah7%b zxc|TWeT)`D00Izz00bZa0SG_<0uX=z1aSW!F#rJwKmY;|fB*y_009U<00IzLegWM7 zU;aKu3n2gj2tWV=5P$##AOHafKmY=`|Bo1e00bZa0SG_<0uX=z1Rwwb2rRz<?*A`; aAESj3fB*y_009U<00Izz00bZaf&Ty)+a0$6 diff --git a/.coverage.DESKTOP-ATMEKSV.3204.XyITjfkx b/.coverage.DESKTOP-ATMEKSV.3204.XyITjfkx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.32192.XvDmKXMx b/.coverage.DESKTOP-ATMEKSV.32192.XvDmKXMx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.5212.XQFhYiNx b/.coverage.DESKTOP-ATMEKSV.5212.XQFhYiNx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.8636.XwlJQXIx b/.coverage.DESKTOP-ATMEKSV.8636.XwlJQXIx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.8780.XTtoPmMx b/.coverage.DESKTOP-ATMEKSV.8780.XTtoPmMx new file mode 100644 index 000000000..e69de29bb diff --git a/.coverage.DESKTOP-ATMEKSV.8936.XNLbUDNx b/.coverage.DESKTOP-ATMEKSV.8936.XNLbUDNx new file mode 100644 index 000000000..e69de29bb diff --git a/CHANGELOG.md b/CHANGELOG.md index d1669ae56..daded6832 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,7 @@ Examples * Moved functions for sequential training from `Engine` to `SeqDesign` * Moved `hellinger_distance`, `logpdf`, `subdomain` into `surrogate_models/seq_design` * Early stop in `BayesInf` for `BayesModelComp` +* Allow singular matrices in exploitation with `BayesActDesign` Bug fixes * Import of `ExpDesign` allowed diff --git a/src/bayesvalidrox/bayes_inference/bayes_model_comparison.py b/src/bayesvalidrox/bayes_inference/bayes_model_comparison.py index dc66e1cf5..6374cdc01 100644 --- a/src/bayesvalidrox/bayes_inference/bayes_model_comparison.py +++ b/src/bayesvalidrox/bayes_inference/bayes_model_comparison.py @@ -484,7 +484,6 @@ class BayesModelComparison: for name in names: fig, ax = plt.subplots() for i, model in enumerate(model_names[1:]): - #print(model, i) plt.plot(list(range(1, self.n_meas+1)), model_weights_dict[name][i], color=Color[i], marker='o', diff --git a/src/bayesvalidrox/post_processing/post_processing.py b/src/bayesvalidrox/post_processing/post_processing.py index 795371651..020695c76 100644 --- a/src/bayesvalidrox/post_processing/post_processing.py +++ b/src/bayesvalidrox/post_processing/post_processing.py @@ -321,7 +321,6 @@ class PostProcessing: if len(name_util) == 0: continue - print(seq_dict) # Box plot when Replications have been detected. if any(int(name.split("rep_", 1)[1]) > 1 for name in name_util): @@ -494,8 +493,8 @@ class PostProcessing: seq_values = np.nan_to_num(seq_values) # Plot the error evolution for each output - print(x_idx.shape) - print(seq_values.mean(axis=1).shape) + #print(x_idx.shape) + #print(seq_values.mean(axis=1).shape) plt.semilogy(x_idx, seq_values.mean(axis=1), marker=markers[idx], ls='--', lw=2, color=colors[idx], diff --git a/src/bayesvalidrox/surrogate_models/engine.py b/src/bayesvalidrox/surrogate_models/engine.py index ecc9e9485..330ac2938 100644 --- a/src/bayesvalidrox/surrogate_models/engine.py +++ b/src/bayesvalidrox/surrogate_models/engine.py @@ -97,7 +97,6 @@ class Engine: # Read ExpDesign (training and targets) from the provided hdf5 if ExpDesign.hdf5_file is not None: - # TODO: need to run 'generate_ED' as well after this or not? ExpDesign.read_from_file(self.out_names) else: # Check if an old hdf5 file exists: if yes, rename it @@ -599,7 +598,6 @@ class Engine: self.seqRMSEMean[strKey] = seqRMSEMean self.seqRMSEStd[strKey] = seqRMSEStd - # return self.MetaModel # ------------------------------------------------------------------------- def _normpdf(self, y_hat_pce, std_pce, obs_data, total_sigma2s, diff --git a/src/bayesvalidrox/surrogate_models/sequential_design.py b/src/bayesvalidrox/surrogate_models/sequential_design.py index d4004b8b8..878ac7402 100644 --- a/src/bayesvalidrox/surrogate_models/sequential_design.py +++ b/src/bayesvalidrox/surrogate_models/sequential_design.py @@ -533,8 +533,6 @@ class SequentialDesign: temp = totalScore.copy() temp[np.isnan(totalScore)] = -np.inf # Since we are maximizing sorted_idxtotalScore = np.argsort(temp)[::-1] - print(sorted_idxtotalScore) - print(n_new_samples) bestIdx = sorted_idxtotalScore[:n_new_samples] if type(bestIdx) is int: bestIdx = [bestIdx] @@ -543,7 +541,6 @@ class SequentialDesign: if explore_method.lower() == 'voronoi': Xnew = np.zeros((n_new_samples, ndim)) for i, idx in enumerate(bestIdx): - print(explore.closestPoints) X_can = explore.closestPoints[idx] # Calculate the maxmin score for the region of interest @@ -708,8 +705,6 @@ class SequentialDesign: y_hat = {key: items[idx] for key, items in y_can.items()} std = {key: items[idx] for key, items in std_can.items()} - # print(y_hat) - # print(std) U_J_d[idx] = self.util_BayesianActiveDesign( y_hat, std, sigma2Dict, var) @@ -830,8 +825,7 @@ class SequentialDesign: logPriorLikelihoods = np.zeros(mc_size) for key in list(y_hat): cov = np.diag(std[key] ** 2) - print(key, y_hat[key], std[key]) - # TODO: added the allow_singular = True here + # Allow for singular matrices rv = stats.multivariate_normal(mean=y_hat[key], cov=cov, allow_singular=True) Y_MC[key] = rv.rvs(size=mc_size) logPriorLikelihoods += rv.logpdf(Y_MC[key]) @@ -1284,7 +1278,6 @@ class SequentialDesign: Phi[idx] = np.linalg.cond(M) else: - # print(var.lower()) raise Exception('The optimality criterion you requested has ' 'not been implemented yet!') @@ -1325,7 +1318,6 @@ class SequentialDesign: for idx, out in enumerate(self.out_names): # (Meta)Model Output - # print(y_hat_pce[out]) nsamples, nout = y_hat_pce[out].shape # Prepare data and remove NaN diff --git a/src/bayesvalidrox/surrogate_models/surrogate_models.py b/src/bayesvalidrox/surrogate_models/surrogate_models.py index b71040b40..e56cfe40f 100644 --- a/src/bayesvalidrox/surrogate_models/surrogate_models.py +++ b/src/bayesvalidrox/surrogate_models/surrogate_models.py @@ -1081,6 +1081,7 @@ class MetaModel: text = f"$\\alpha={clf_poly.alpha_:.1f}$\n$" f"\\L={clf_poly.scores_[-1]:.1f}$" + # TODO: save this figure and close it, do not show plt.text(0.75, 0.5, text, fontsize=18, transform=ax.transAxes) plt.show() print('=' * 80) -- GitLab