dials (version 0.0.2)

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

Description

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.

Usage

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

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

Arguments

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.

Value

A list containing updated model objects.