We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 69a6ccc commit 85b1c66Copy full SHA for 85b1c66
examples/asia/main.jl
@@ -107,7 +107,8 @@ logp, cfg = most_probable_config(tn)
107
# Compute the most probable values of certain variables (e.g., 4 and 7) while
108
# marginalizing over others. This is known as Maximum a Posteriori (MAP)
109
# estimation.
110
-mmap = MMAPModel(instance; queryvars = [4, 7])
+set_query!(instance, [4, 7])
111
+mmap = MMAPModel(instance)
112
113
# ---
114
0 commit comments