Compute conditional circuit parameters
cforde(
params,
evidence,
row_mode = c("separate", "or"),
nomatch = c("force", "na"),
verbose = TRUE,
stepsize = 0,
parallel = TRUE
)
List with conditions (evidence_input
), prepared conditions (evidence_prepped
)
and leaves that match the conditions in evidence with continuous data (cnt
)
and categorical data (cat
) as well as leaf info (forest
).
Circuit parameters learned via forde
.
Data frame of conditioning event(s).
Interpretation of rows in multi-row conditions.
What to do if no leaf matches a condition in evidence
?
Options are to force sampling from a random leaf ("force"
) or return
NA
("na"
). The default is "force"
.
Show warnings, e.g. when no leaf matches a condition?
Stepsize defining number of condition rows handled in one for each step.
Compute in parallel? Must register backend beforehand, e.g.
via doParallel
or doFuture
; see examples.