Make models into model_list object
as.model_list(..., listed_models = NULL, target = ".outcome", model_class, tuned = TRUE, recipe = NULL, positive_class = NULL)
... |
|
---|---|
listed_models | Use this if your models are already in a list |
target | Quoted name of response variable |
model_class | "classification" or "regression". Will be determined if not provided |
tuned | Logical; if FALSE, will have super-class untuned_models |
recipe | recipe object from prep+_data, or NULL if the data didn't go through prep_data |
positive_class | If classification, the positive outcome class, otherwise NULL |
A model_list with child class type_list