Commit Graph

224 Commits (9b1918c085785c20efc07b65ed153a05012c5f8d)

Author SHA1 Message Date
Varun Agrawal 9b1918c085 rename from DiscreteTableConditional to TableDistribution 2025-01-03 14:51:32 -05:00
Varun Agrawal 446263cb12 Merge branch 'hybrid-custom-discrete' into discrete-table-conditional 2025-01-02 16:59:31 -05:00
Varun Agrawal 32317d4416 simplify empty separator check 2025-01-02 16:13:24 -05:00
Varun Agrawal 113492f8b5 separate function to collect discrete factors 2025-01-02 16:07:46 -05:00
Varun Agrawal 02d9959033 small fix 2025-01-02 16:04:20 -05:00
Varun Agrawal cafac6317e fix to use DiscreteTableConditional 2025-01-01 20:09:18 -05:00
Varun Agrawal cc237a2f43 Merge branch 'hybrid-custom-discrete' into discrete-table-conditional 2025-01-01 19:26:41 -05:00
Varun Agrawal 2894c957b1 clarify TableProduct function 2025-01-01 19:15:49 -05:00
Varun Agrawal bb4ee207b8 custom path for empty separator 2025-01-01 19:13:29 -05:00
Varun Agrawal 2a5833bf6a custom ProductAndNormalize for TableFactor 2025-01-01 14:02:15 -05:00
Varun Agrawal 782f39a0e2 Merge branch 'hybrid-custom-discrete' into discrete-table-conditional 2024-12-31 21:28:18 -05:00
Varun Agrawal ffa40f7101 small fix 2024-12-31 20:37:04 -05:00
Varun Agrawal 57c426a870 simplify discrete conditional computation 2024-12-31 20:36:07 -05:00
Varun Agrawal 73f54083a7 normalize 2024-12-31 19:34:46 -05:00
Varun Agrawal 0e2e8bb8ce full discrete elimination 2024-12-31 18:23:37 -05:00
Varun Agrawal bf4c0bd72d fix creation of DiscreteConditional 2024-12-31 17:07:25 -05:00
Varun Agrawal 462a5b8b3a return DiscreteTableConditional from hybrid elimination 2024-12-31 15:53:44 -05:00
Varun Agrawal 34eb0fce9b Merge branch 'hybrid-custom-discrete' into discrete-table-conditional 2024-12-31 15:05:27 -05:00
Varun Agrawal 0820fcb7b2 fix types 2024-12-31 15:00:05 -05:00
Varun Agrawal 42f8e54c2a customize discrete elimination in Hybrid 2024-12-31 15:00:05 -05:00
Varun Agrawal f95ae52aff Use TableFactor everywhere in hybrid elimination 2024-12-31 14:16:00 -05:00
Varun Agrawal dfec8409fe use TableFactor for discrete elimination 2024-12-31 00:27:04 -05:00
Varun Agrawal 7c9d04fb65 conditional switch for hybrid timing 2024-12-27 12:02:21 -05:00
Varun Agrawal c2e8867e82 avoid extra conversion step 2024-12-25 13:14:22 -05:00
Varun Agrawal e30624065a Merge branch 'develop' into check-isam 2024-11-05 10:36:40 -05:00
Varun Agrawal a7b53aef0e better check for discrete factors 2024-11-04 14:52:21 -05:00
Varun Agrawal 8aacfa95f3 add docstrings for elimination results 2024-11-01 20:24:36 -04:00
Varun Agrawal dfc91469bc discreteFactors method 2024-10-29 14:45:19 -04:00
Varun Agrawal 4c74ec113a formatting and comments 2024-10-23 12:35:09 -04:00
Frank Dellaert 977ac0d762 Address review comments 2024-10-23 09:24:47 -07:00
Frank Dellaert 2c9665fae6 Prune graphs with nulls on the fly 2024-10-21 19:06:47 -07:00
Frank Dellaert 1365a0904a Avoid calculating negLogK twice 2024-10-20 15:08:47 -07:00
Frank Dellaert a19fb28fab Const correctness 2024-10-20 15:08:47 -07:00
Varun Agrawal b79c69b408 small improvements 2024-10-09 15:10:13 -04:00
Varun Agrawal 024e50f9f7 normalize potentials 2024-10-09 15:07:51 -04:00
Frank Dellaert 34bb1d0f34 Shift error values before exponentiating 2024-10-09 20:03:30 +09:00
Varun Agrawal f39f678c14 add type info 2024-10-08 12:02:42 -04:00
Varun Agrawal 8e85b68863 formatting fixes 2024-10-08 11:48:20 -04:00
Frank Dellaert 9f7ccbb33c Minimize formatting changes 2024-10-08 17:57:53 +09:00
Frank Dellaert 88b8dc9afc Merge branch 'develop' into feature/no_hiding 2024-10-08 17:27:55 +09:00
Frank Dellaert 524161403a Fixed discreteEimination 2024-10-08 17:09:56 +09:00
Frank Dellaert 518ea81d1e No more hiding! 2024-10-07 22:30:30 +09:00
Frank Dellaert b3c698047d Don't normalize probabilities for a mere DiscreteFactor 2024-10-07 17:09:05 +09:00
Frank Dellaert 04cfb063ae Cherry-pick Varun's bugfix 2024-10-07 09:19:35 +09:00
Frank Dellaert e1c0d0e227 operator returns pairs, extensive switching test 2024-10-07 09:12:56 +09:00
Varun Agrawal 873b2a7142 fix return value of pruned factors 2024-10-06 11:15:46 -04:00
Varun Agrawal 94fda5dd5a take descriptive comment all the way 2024-10-06 11:08:02 -04:00
Frank Dellaert 584a71fb94 Product now has scalars 2024-10-06 21:33:22 +09:00
Frank Dellaert 92540298e1 Squashed commit
Revised asProductFactor methods

collectProductFactor() method

Move test

better print

Formatting

Efficiency

Fix several bugs

Fix print methods

Fix print methods

More tests, BT tests in different file

More product tests

Disable printing tests

Minimize diff

Fix rebase issue
2024-10-06 15:14:24 +09:00
Frank Dellaert 55ca557b1e Fix conditional==null bug 2024-10-05 19:00:39 +09:00