Commit Graph

15973 Commits (df96d100948fbd481e45d834f23b7c7fec0f0dcc)

Author SHA1 Message Date
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
Frank Dellaert 693d18233a Adapt to continuous densities 2023-01-14 10:23:00 -08:00
Frank Dellaert 0a6334ef1f check invariants 2023-01-14 10:22:41 -08:00
Frank Dellaert cd2d37e724 Made CheckInvariants a static method in Conditional.* 2023-01-13 14:55:14 -08:00
Frank Dellaert b99d464049 Consistency test in testGaussianConditional 2023-01-13 12:29:11 -08:00
Frank Dellaert ebb5ae6f18 Expose correct error versions 2023-01-13 12:28:39 -08:00
Frank Dellaert a4aebb548a Expose correct error versions 2023-01-13 12:28:16 -08:00
Frank Dellaert 7ea8bd0fba Add check 2023-01-13 11:58:17 -08:00
Frank Dellaert 8c752049de move normalization constant to base class 2023-01-13 11:57:20 -08:00
Varun Agrawal abe9b281af return DiscreteKeys as a vector instead of a set 2023-01-12 10:54:31 -05:00
Varun Agrawal 5c59862238
Merge pull request #1381 from acowley/BatchFixedLagSmoother-verbosity 2023-01-12 10:48:26 -05:00
Frank Dellaert a34c463e2b
Merge pull request #1380 from borglab/feature/uniform_error 2023-01-12 07:48:01 -08:00
Frank Dellaert f4c3131ee2 Return a set of DiscreteKey, Fixes issue #1384 2023-01-11 23:50:17 -08:00
Frank Dellaert 28f440a623 Resolved review comments. 2023-01-11 18:11:28 -08:00
Frank Dellaert 4340b46828 Don't use deprecated method. 2023-01-10 23:56:49 -08:00
Frank Dellaert 87ff4af32d Wrapper and tests for logProbability 2023-01-10 23:13:40 -08:00
Frank Dellaert eb37d080d4 Added missing methods 2023-01-10 23:13:27 -08:00
Frank Dellaert e9485d1d76
Merge pull request #1379 from kartikarcot/kartik/list-of 2023-01-10 21:58:54 -08:00
Frank Dellaert 426a49dc72 Endowed hybrid with logProbability 2023-01-10 21:55:18 -08:00
Frank Dellaert 11ef99b3f0 discrete now has all logProbability and evaluate versions needed. 2023-01-10 21:54:58 -08:00
kartik arcot abc7e34a8b replace list_of with initializer list 2023-01-10 16:45:33 -08:00
Frank Dellaert f7c6f2b3f8
Merge pull request #1375 from borglab/feature/Ordering_initializers 2023-01-10 15:19:04 -08:00
Frank Dellaert f89ef731a5 Fix linking error 2023-01-10 14:48:25 -08:00
Frank Dellaert 28658490e8 Fix sign issue and added test 2023-01-10 14:36:58 -08:00
Frank Dellaert b7fbe3f6a7 Symbolic logProbability just throws 2023-01-10 13:50:37 -08:00
Frank Dellaert ecb0be494e Implemented all Gaussian versions of logProbability 2023-01-10 13:50:37 -08:00
Frank Dellaert 8e29140ff7 Added logProbability/evaluate in conditionals/Bayes net 2023-01-10 13:50:37 -08:00
Frank Dellaert 69398d0e60 Fix dogleg unit test (gbn error != linearized error anymore) 2023-01-10 13:50:37 -08:00
Frank Dellaert 83bae7d701 Moved factor graph error(HybridValues) to FactorGraph base class. 2023-01-10 13:50:37 -08:00
Frank Dellaert b4706bec85 Easier scheme for error(HybridValues) 2023-01-10 13:50:37 -08:00
Frank Dellaert 58bc4b6863 Fixed discrete classes. 2023-01-10 13:50:37 -08:00
Frank Dellaert f6d7be97da small doc edits 2023-01-10 13:50:37 -08:00
Frank Dellaert 4858e39ecf Fixed tests to work with new definition of error. 2023-01-10 13:50:37 -08:00
Frank Dellaert 877e564744 Declared and defined error method in Factor, getting rid of logDensity, as error is now unambiguously defined as -logDensity in conditional factors. 2023-01-10 13:50:37 -08:00