
An example mrIML model fit to MRFcov::Bird.parasites
Source:R/mrIML_bird_parasites_RF.R
mrIML_bird_parasites_RF.Rd
Details
model_rf <- parsnip::rand_forest( trees = 10, # 10 trees are set for brevity. Aim to start with 1000 mode = "classification", mtry = tune::tune(), min_n = tune::tune(), engine = "randomForest" )
mrIML_bird_parasites <- mrIMLpredicts( X = X, Y = Y, X1 = Y, Model = model_rf, prop = 0.7, k = 2, racing = FALSE )