Subject | Hash | Author | Date (UTC) |
---|---|---|---|
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 |
simplex: make _Triangulation more clean; rework CubatureIntegration | fb7dd9fef8592944fbd93a3f07b44c2355d45e20 | I am | 2022-12-28 15:48:20 |
introduce shell module, clean version of ghull | b13e9b2b15d109770e0c3fbdd5bb7b2a3b5bf5fc | I am | 2022-12-28 15:45:27 |
qt_gui.qt_plot.CandidatesWidget: regression fix | a75874b5a53e7b420672b582f3ff415b17a32e9b | I am | 2022-12-23 12:19:51 |
qt_gui.qt_pairwise.ContactWidget: add mask function | 6f88fec7db92e5cd21826a06f42a609a3e03cb6b | I am | 2022-12-21 15:20:01 |
qt_gui.qt_pairwise.ContactWidget: add option for mixed pairs only adjacency search. | 2f87e8a18908de607b8abc0779448ca3095c134c | I am | 2022-12-21 14:30:23 |
qt_gui.qt_dicebox: reflect changes in CircumTri class | 9821d389240a383f0b13b7dd92cd501e1c40c537 | I am | 2022-12-15 09:36:16 |
dicebox.circumtri: employ _Exploration class. Keep naive CircumTri class in renamed module | b8605fb24d55b3296ceac34afba541a5b7ee3070 | I am | 2022-12-15 09:33:59 |
convex_hull.QHull.get_exploration_vector: self -> hull fix | dae47ef37b5871a98d2ea274cc35aeb2a4eebe1c | I am | 2022-12-15 09:30:31 |
qt_gui/qt_dicebox: add DumpExplorationWidget | b687895f06c780418a12eea59bd052ad7cd348f3 | I am | 2022-12-15 01:31:14 |
dicebox: add helper _exploration module | 836ae6cd12f1a04f1e2fc3423e46777d16ebad7d | I am | 2022-12-15 01:30:20 |
convex_hull: add get_exploration_vector() method | 795259d91b64c732e60a83a1d9e3b89c2141b003 | I am | 2022-12-15 01:28:12 |
qt_gui.qt_gui: dot not create graph widgets if estimations are not present | f070ed140a135a980e4436ed3779455c0e1bf399 | I am | 2022-12-14 02:25:45 |
qt_gui.gl_plot.CandidatesWidget: apply changes for GLplot too | 03550040b60c67d247e26425e35fac565dd88886 | Aleksei Gerasimov | 2022-12-14 01:56:01 |
qt_gui.qt_plot.CandidatesWidget: add CandyNodes support | 2357cdd92170b1f660b15c92aec695d3f7c108b3 | I am | 2022-12-14 01:08:30 |
qt_gui.qt_graph_widgets.EstimationGraph: reimplement piece of zerosafe logic | 342a1b7bfddb7ba5695b3f0e017c7f75811db1f0 | I am | 2022-12-13 22:15:54 |
File | Lines added | Lines deleted |
---|---|---|
wellmet/dicebox/circumtri.py | 6 | 2 |
File wellmet/dicebox/circumtri.py changed (mode: 100644) (index f5e6a96..a11e0fb) | |||
... | ... | from sortedcollections import ValueSortedDict | |
25 | 25 | ||
26 | 26 | ||
27 | 27 | def get_entropy(pf): | def get_entropy(pf): |
28 | return -pf * np.log(pf) - (1 - pf) * np.log(1 - pf) | ||
28 | entropy = -pf * np.log(pf) - (1 - pf) * np.log(1 - pf) | ||
29 | if entropy > 0: | ||
30 | return entropy | ||
31 | else: | ||
32 | return 0 | ||
29 | 33 | ||
30 | 34 | max_entropy = get_entropy(0.5) | max_entropy = get_entropy(0.5) |
31 | 35 | ||
... | ... | class CircumTri(_Exploration): | |
283 | 287 | # callback | # callback |
284 | 288 | #č sx.on_delete_simplex(indices=indices) | #č sx.on_delete_simplex(indices=indices) |
285 | 289 | def _invalidate_simplex(bx, simplex): | def _invalidate_simplex(bx, simplex): |
286 | bx.candidates_index.pop(simplex, None) | ||
287 | 290 | bx.potential_index.pop(simplex, None) | bx.potential_index.pop(simplex, None) |
288 | 291 | bx.rating_index.pop(simplex, None) | bx.rating_index.pop(simplex, None) |
292 | bx.candidates_index.pop(simplex, None) | ||
289 | 293 | ||
290 | 294 | ||
291 | 295 |