prepare_newdata {deepregression} | R Documentation |
Function to prepare new data based on parsed formulas
prepare_newdata(
pfc,
newdata,
na_handler = na_omit_list,
gamdata = NULL,
engine = "tf"
)
pfc |
list of processor transformed formulas |
newdata |
list in the same format as the original data |
na_handler |
function to deal with NAs |
gamdata |
processor for gam part |
engine |
character; the engine which is used to setup the NN (tf or torch) |
list of matrices or arrays