merge.model_spec

0th

Percentile

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.

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.

Aliases
  • merge.model_spec
  • merge.param_grid
Documentation reproduced from package dials, version 0.0.2, License: GPL-2

Community examples

Looks like there are no examples yet.