Subject | Hash | Author | Date (UTC) |
---|---|---|---|
simplex.FullCubatureIntegration.get_failure_moments: negative probabilities fix | 27dd6bb1e5bb0eb1e28eef88e28913d1eca461da | I am | 2023-01-10 20:16:09 |
add more nD problems from literature | 2380cdbdcf17dd5e0af19506c6f7bb1e838de03b | I am | 2023-01-10 06:13:56 |
f_models: implement Norm class | 698c3216b1c8a0e2d57bfb33340a7ea8758d4e63 | I am | 2023-01-09 23:13:48 |
simplex.FullCabatureIntegration: implement get_failure_moments() | 0742ee3d3932d7c3c0b6bbe6e327c92ced04aedd | I am | 2023-01-09 19:53:55 |
simplex._Triangulation: add get_failure_moments() method | 3e362970b67a50643c1e486729efbf554cacf03f | I am | 2023-01-08 03:26:02 |
simplex: use advanced indexing instead of isin function | 568c8623ad4cfaa343df05ae880d099556037cf0 | I am | 2023-01-06 13:41:00 |
dicebox.circumtri: fill in global simplex index only in case of full integration | 065668f1810396f55be0860416f1c6ad507a9573 | I am | 2023-01-04 21:44:57 |
dicebox.circumtri: implement "holyday", breaks the greatest safe simplex | 14f067d43cde14f990e7a4136b61c548f3acde92 | I am | 2023-01-04 16:28:51 |
simplex: implement FullCubatureIntegration | 072927115a8a641f89b39265085eb6cac27aa492 | I am | 2023-01-04 16:27:39 |
dicebox.circumtri: use mixed facet outside nodes as candidates only. | 03c1c974dafa8ff041f032c89149da7fc5b90b39 | I am | 2023-01-03 15:55:57 |
shell: use query() method of the convex hull | 321a3fab33684cb9bef3c2344200c6519b595bb0 | I am | 2023-01-03 15:54:45 |
convex_hull.QHull: implement query() method. Use myshovskych sheme as fallback | bc79a6fbee4d488211bf55c88702f39a0126be1b | I am | 2023-01-03 15:53:00 |
dicebox.circumtri: handle singular matrix error of CircumCenter | 8207789777268039e7a866a594191063c6429c04 | I am | 2023-01-02 23:56:40 |
simplex.CubatureIntegration: check for non-finite simplex volumes | 3a1473c7452c7dc3a9299ed88520412eb31924c1 | I am | 2023-01-02 22:51:14 |
dicebox.circumtri: return to psi potential | 9db1f5b0e412ae871ae5f5fbb5ff214a8ddd7f45 | I am | 2023-01-02 22:20:28 |
dicebox.circumtri: bughunting | 5f9d2b9e4d8077c9e4552d47bf1da789d8cfbcf8 | I am | 2022-12-29 15:02:14 |
dicebox.circumtri: process filtered integration nodes as candidates too | 315e2f9700d93f1379985dafa818b44df53422a2 | I am | 2022-12-29 13:51:52 |
dicebox.circumtri: return back weighted entropy | 0424243e29a600ecb1d046631badbc9797e11369 | I am | 2022-12-28 19:11:30 |
qt_gui.qt_graph_widgets: reflect renewed simplex estimators | 90c83c7c7e6e58d6b9044db1a5e55f9a8a7dd7cd | I am | 2022-12-28 16:15:40 |
dicebox: rework CircumTri | e360b2f092c11a42b5ac1081061f2891bff3d8de | I am | 2022-12-28 15:52:28 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/simplex.py | 4 | 4 |
File wellmet/simplex.py changed (mode: 100644) (index 2b0270b..749599a) | |||
... | ... | class FullCubatureIntegration(_Triangulation): | |
1410 | 1410 | V[i] = failure_simplex | V[i] = failure_simplex |
1411 | 1411 | i += 1 | i += 1 |
1412 | 1412 | ||
1413 | mask = V > 0 | ||
1414 | pf = np.sum(V[mask]) | ||
1415 | mean = np.average(centroids[mask], axis=0, weights=V[mask]) | ||
1413 | 1416 | ||
1414 | pf = np.sum(V) | ||
1415 | mean = np.average(centroids, axis=0, weights=V) | ||
1416 | |||
1417 | cov_matrix = np.cov(centroids, rowvar=False, ddof=0, aweights=V) | ||
1417 | cov_matrix = np.cov(centroids[mask], rowvar=False, ddof=0, aweights=V[mask]) | ||
1418 | 1418 | ||
1419 | 1419 | return pf, mean[:-1], cov_matrix[:-1, :-1] | return pf, mean[:-1], cov_matrix[:-1, :-1] |
1420 | 1420 |