Subject | Hash | Author | Date (UTC) |
---|---|---|---|
simplex: add simple filter function for rejection sampling | a58d3814dfd3366ef536c90b37fd50e3edccc9e9 | I am | 2022-01-19 17:38:08 |
whitebox: add rude approximation for sumexp. (Je teda opravdu hodně nepřesná) | 281f66ac70e21756415c8efecfdee50873b34b58 | I am | 2022-01-18 22:25:51 |
whitebox: add four betas class | 57a25000259e74f1ac28bb1bac6b0cc01dd5201c | I am | 2022-01-18 21:43:00 |
whitebox: introduce Gaussian_Z_prod_2D class with respective exact solution | 13e592f107918d4cc3daaeec1f08e38779a943aa | I am | 2022-01-18 18:51:23 |
mplot: polish maxes and mfigs | dfb9193da5fcb633fbe58fb39ff7b4432de4a5c5 | I am | 2022-01-18 00:44:56 |
testcases: add gaussian_2D module | c5e279c08bba39bdd82c79d15d00241c786c795d | I am | 2022-01-18 00:06:36 |
qt_gui.qt_testcases: simplify code for the unparametrized testcases | 60b7678186738107b3346beae7fb0744570d60fc | I am | 2022-01-18 00:05:34 |
mplot.mart: move setup_labels to mart module | 9d7783a3a9905a72c51b4fec76e367dffdbc4563 | I am | 2022-01-17 17:33:16 |
mplot.__init__: set up small non zero padding (0.01) | f0d23235b109c4224599eb0426ad0d9ee8b2a9b8 | I am | 2022-01-17 17:31:44 |
mplot: raster candidates, polishing | 63d6d00dfe7affc8ed3d05161fd4a5b50db62207 | I am | 2022-01-17 16:34:05 |
mplot: more figures | 3a7f54e09cd78a2fc2ff50d7cf5c142f04ffdc28 | I am | 2022-01-09 00:42:33 |
testcases: add proxy_prod 2D testcase | edb11ab54bcf677757974f133d2d66816b701ade | I am | 2022-01-09 00:41:27 |
stm_df: fix proxy, pandas nějak nám šťourá v našich boolean maticích | 1d9f360edfc03932a08dff8aad97f189b155e708 | I am | 2022-01-09 00:39:24 |
mplot.maxes: a little bit more to labels | d989a2d1b69b116a14f7ff81776f5f75d80cfea0 | I am | 2022-01-06 17:48:57 |
mplot.figs: add double and triple triangulations plots | 091361cc326239b552078c489f9f164ccda4f54b | I am | 2022-01-06 16:17:50 |
mplot.maxes: aspoň nějak nastavit popísky os | 50e8e467c24d73d9522166183275deab547243f8 | I am | 2022-01-06 16:16:36 |
mplot.maxes: add labels to candidates plot | f8aa0f271a8d30cb7d79206290409f862c406a51 | I am | 2022-01-06 12:14:48 |
mplot.maxes: add candidates sampling (rejection-like) plot | 5a15e10a9a462dd409e0627528bcb8910df77c7e | I am | 2022-01-06 09:40:38 |
mplot.maxes: add candidates plot | 11e156edc351ca84fde742edf7ea1d85c3b0bc38 | I am | 2022-01-06 08:15:43 |
mplot.maxes: polish tri plots a little bit | 9a4e0a18061e2d9f48c0c32c200bd1a408ceb77f | I am | 2022-01-05 13:15:00 |
File | Lines added | Lines deleted |
---|---|---|
simplex.py | 21 | 0 |
File simplex.py changed (mode: 100644) (index ba97886..fbe116d) | |||
... | ... | def get_COBYLA_constraints(convex_hull): | |
1336 | 1336 | ||
1337 | 1337 | ||
1338 | 1338 | ||
1339 | def filter(Tri, candidates): | ||
1340 | """ | ||
1341 | Metoda musí souřádnicím přiřazovat jev | ||
1342 | "success", "failure", "mix", "outside" | ||
1343 | """ | ||
1344 | |||
1345 | # tady byl problém. Funkce byla původně navržena tak, | ||
1346 | # aby ji nezajimalo co je na vstupu | ||
1347 | # to ale nefunguje | ||
1348 | # další funkce jako výstup očekavají něco s validním R-kem | ||
1349 | # no tj. já zde provádím posouzení transformací z R-ka vstupních souřadnic | ||
1350 | candidates_tri_space = getattr(candidates, Tri.tri_space) | ||
1351 | |||
1352 | |||
1353 | found_simplices = Tri.tri.find_simplex(candidates_tri_space) | ||
1354 | current_simplices = Tri.tri.simplices[found_simplices[found_simplices!=-1]] | ||
1355 | |||
1356 | # -1 = 'out', 0=success, 1=failure, 2=mix | ||
1357 | found_simplices[found_simplices!=-1] = Tri.get_events(current_simplices) | ||
1358 | |||
1359 | return found_simplices | ||
1339 | 1360 | ||
1340 | 1361 | ||
1341 | 1362 |