powered by
mlr
Convert a bnc_bn to a Learner object.
bnc_bn
Learner
as_mlr(x, dag, id = "1")
A bnc_bn object.
A logical. Whether to learn structure on each training subsample. Parameters are always learned.
A character.
data(car) nb <- bnc('nb', 'class', car, smooth = 1) if (FALSE) library(mlr) if (FALSE) nb_mlr <- as_mlr(nb, dag = FALSE, id = "ode_cl_aic") if (FALSE) nb_mlr
Run the code above in your browser using DataLab