# Default settings (leave-group-out CV with 10 iterations)
model_control()
# No cross-validation
model_control(validation_type = "none")
# Custom CV settings
model_control(validation_type = "lgo", number = 20, p = 0.80)
Run the code above in your browser using DataLab