Working on synthetic data, and I must say CART models in synthpop works amazingly.
However, I wish to be able to save and load models for better comparison and replication. Additionally, it seems that many modern use-cases requires the fitted models to be able to generate data without using the real data as input. Doing a little exploration in the source code it seemed that there is an argument models for the syn functionality, that is turned off by default, that if changed produces something like;
Working on synthetic data, and I must say CART models in synthpop works amazingly.
However, I wish to be able to save and load models for better comparison and replication. Additionally, it seems that many modern use-cases requires the fitted models to be able to generate data without using the real data as input. Doing a little exploration in the source code it seemed that there is an argument
models
for thesyn
functionality, that is turned off by default, that if changed produces something like;for the Iris data. This is nice, but I cannot figure out where to put this
$models
object that can generate me new data using these tree structures.I guess I am missing something, and would really appreciate it if someone knows the correct procedure.