# NOT RUN {
# Prepare data
prepped_data <- prep_data(pima_diabetes, patient_id, outcome = diabetes)
# Get models quickly at default hyperparameter values
flash_models(prepped_data)
# Speed comparison of no tuning with flash_models vs. tuning with tune_models:
# ~15 seconds:
system.time(
tune_models(prepped_data, diabetes)
)
# ~3 seconds:
system.time(
flash_models(prepped_data, diabetes)
)
# }
Run the code above in your browser using DataLab