Commit Graph

15963 Commits (42be860f735a96616a257684c97adc0b175cd95d)

Author SHA1 Message Date
kartik arcot 4eb73db1c1 breaks 2023-01-20 18:06:55 -08:00
kartik arcot fcf339a31a changed interface for both unwhitenedError and evaluateError 2023-01-20 18:06:55 -08:00
kartik arcot 97269afe4b compile definitions for conditionally compiling 2023-01-20 18:06:55 -08:00
Frank Dellaert 22e9e80f43
Merge pull request #1398 from borglab/feature/deprecate_filter2 2023-01-20 15:02:58 -08:00
Frank Dellaert 603d665342 Deprecate `filter` in favor of `extract`, which copies to std::map without boost. 2023-01-20 12:48:57 -08:00
Frank Dellaert 5029e3ddc6
Merge pull request #1395 from borglab/feature/switch 2023-01-20 06:42:03 -08:00
Frank Dellaert 469e57122f commented out problematic python tests 2023-01-19 22:34:12 -08:00
Frank Dellaert 0cb0733e33 Added c++17 flags to build functions 2023-01-19 22:33:32 -08:00
Frank Dellaert a4367e1578 Updated docs to reflect switch. 2023-01-19 09:45:32 -08:00
Frank Dellaert b42db6764d Switch to version 4.3a0 and to c++17. 2023-01-19 09:45:00 -08:00
Varun Agrawal aebc3f94d4
Merge pull request #1391 from borglab/hybrid/pruning_test 2023-01-18 15:46:05 -05: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