dials (version 0.0.2)

merge.model_spec: Merge parameter grid values into a parsnip object


parsnip contains model objects that have consistent names with dials. merge can be used to easily update any of the main parameters in a parsnip model.


# S3 method for model_spec
merge(x, y, ...)

# S3 method for param_grid merge(x, y, ...)


x, y

A combination of one parsnip model object (that has class model_spec) and one parameter grid resulting from grid_regular or grid_random. As long as this combination is present, the assignment to x and y isn't restricted.


Not currently used.


A list containing updated model objects.