Commit Graph

15806 Commits (f1dcc6bede5f1aed59f53bb8b2dfd3e4c1b9f7cd)

Author SHA1 Message Date
Frank Dellaert f1dcc6bede Removed filter from examples and timing scripts 2023-01-21 12:20:01 -08:00
Frank Dellaert 45e487c440
Merge pull request #1397 from borglab/feature/deprecate_filtered 2023-01-20 15:00:22 -08:00
Frank Dellaert 4bfde71d8a Deprecate `filter` in favor of `extract`, which copies to std::map without boost. 2023-01-20 12:43:09 -08:00
Frank Dellaert d920d94198
Merge pull request #1394 from borglab/hybrid/pruning_test 2023-01-19 09:27:44 -08:00
Varun Agrawal 3460147df8
Merge pull request #1390 from borglab/hybrid/simplify-2 2023-01-18 12:08:55 -05:00
Varun Agrawal 7849cf4c41 add a TODO about reorder_relinearize 2023-01-17 15:57:18 -05:00
Frank Dellaert b5d574552c Switch pruning test to probabilities. 2023-01-17 12:56:53 -08:00
Varun Agrawal bfa4d6f3e6 update function names and docs to be correct 2023-01-17 15:56:37 -05:00
Frank Dellaert 0571af997c
Merge pull request #1388 from borglab/hybrid/simplify 2023-01-17 12:37:37 -08:00
Frank Dellaert f714c4ac82 Merge branch 'develop' into hybrid/simplify 2023-01-17 07:50:45 -08:00
Frank Dellaert e444962aad Added correction with the normalization constant in the second elimination path. 2023-01-17 07:47:56 -08:00
Frank Dellaert c3ca31f2f3 Added partial elimination test 2023-01-17 07:47:10 -08:00
Varun Agrawal 7cd360039f
Merge pull request #1387 from borglab/discreteKeys-vector
Some Hybrid Improvements
2023-01-17 04:00:41 -05:00
Frank Dellaert 892759e5d6 Add math related to hybrid classes 2023-01-16 20:00:07 -08:00
Frank Dellaert b494a61150 Removed obsolete normalizationConstants method 2023-01-16 19:59:42 -08:00
Frank Dellaert 4283925e60 Ratio test succeeds on fg, but not on posterior yet, 2023-01-16 19:21:10 -08:00
Frank Dellaert f4859f0229 Fix logProbability tests 2023-01-16 18:56:58 -08:00
Frank Dellaert 32d69a3bd7 Trap if conditional==null. 2023-01-16 18:56:40 -08:00
Frank Dellaert 519b2bb515 Added comment 2023-01-16 18:56:25 -08:00
Frank Dellaert 9af7236980 Added DEBUG_MARGINALS flag 2023-01-16 18:36:28 -08:00
Frank Dellaert e31884c9a1 Eradicated GraphAndConstant 2023-01-16 18:28:12 -08:00
Frank Dellaert 8357fc7e02 Fix python tests (and expose HybridBayesNet.error) 2023-01-16 18:04:22 -08:00
Frank Dellaert a5951d8d34 Fixed test to work with "hidden constant" scheme 2023-01-16 18:03:51 -08:00
Frank Dellaert 202a5a3264 Fixed toFactorGraph and added test to verify 2023-01-16 17:38:01 -08:00
Frank Dellaert 3a446d7008 Explicitly implement logNormalizationConstant 2023-01-16 17:32:54 -08:00
Frank Dellaert 207c9b7236 Implemented the "hidden constant" scheme. 2023-01-16 16:45:30 -08:00
Frank Dellaert 7a41180e82 Refactored tests and removed incorrect (R not upper-triangular) test. 2023-01-16 15:34:00 -08:00
Frank Dellaert 57e59d1237 Compute log-normalization constant as the max of the individual normalization constants. 2023-01-16 15:33:14 -08:00
Frank Dellaert 191e6140b3 Fix print 2023-01-16 15:32:43 -08:00
Frank Dellaert 5b0408c7bb Check for error>0 and proper normalization constant 2023-01-16 15:32:34 -08:00
Varun Agrawal 5e1de8c062 switch from DiscreteKeys back to std::set<DiscreteKey> 2023-01-16 17:37:29 -05:00
Varun Agrawal 64743ef685 switch to boost::shared_ptr 2023-01-16 17:32:25 -05:00
Frank Dellaert c22b2cad3b Improved docs 2023-01-16 10:31:09 -08:00
Frank Dellaert 96e3eb7d8b Some test refactoring 2023-01-16 10:30:47 -08:00
Frank Dellaert 070cdb7018 insert_or_assign 2023-01-16 10:30:47 -08:00
Frank Dellaert dfef2c202f Simplify elimination 2023-01-16 10:30:47 -08:00
Frank Dellaert 681c75cea4 Expose toFactorGraph to wrapper 2023-01-16 10:30:47 -08:00
Frank Dellaert 906330f0e4 Add discrete contribution to logProbability 2023-01-16 10:30:47 -08:00
Frank Dellaert 03ad393e12 Removed FactorAndConstant, no longer needed 2023-01-16 10:30:47 -08:00
Frank Dellaert 1dcc6ddde9 All tests still work with zero constant! 2023-01-16 10:30:47 -08:00
Frank Dellaert 34a9aef6f3 normalizationConstants returns all constants as a DecisionTreeFactor 2023-01-16 10:30:47 -08:00
Frank Dellaert 618ac28f2c
Merge pull request #1386 from borglab/hybrid/more_tests
Test and fix all conditionals
2023-01-15 08:15:12 -08:00
Varun Agrawal 86bfdf76cb add formatter to GaussianConditional mean printing 2023-01-15 01:53:21 -05:00
Varun Agrawal 35d560f3fc implement MixtureFactor::error 2023-01-15 00:59:54 -05:00
Varun Agrawal b010a240f3 STL-based efficient transformation 2023-01-15 00:59:34 -05:00
Frank Dellaert 51c46410dc Make sure all conditional methods can be called in wrappers and satisfy invariants there, as well. 2023-01-14 13:24:54 -08:00
Frank Dellaert bead5ce4da Test all HybridConditionals in all possible calling conventions. 2023-01-14 12:57:53 -08:00
Frank Dellaert ce8bf7ac48 Expose all needed versions of evaluate, operator(), error 2023-01-14 12:57:12 -08:00
Frank Dellaert c9fcfe3299 Resolve GaussianMixture error crisis 2023-01-14 12:56:38 -08:00
Frank Dellaert ab439bfbb0 Checking mixture invariants, WIP 2023-01-14 10:23:21 -08:00