model_spec_to_algorithm: Return the equivalent h2o algorithm name for a parsnip...

View source: R/tune_grid_h2o.R

model_spec_to_algorithmR Documentation

Return the equivalent h2o algorithm name for a parsnip 'model_spec' object.

Description

Return the equivalent h2o algorithm name for a parsnip 'model_spec' object.

Usage

model_spec_to_algorithm(object, model_args)

Arguments

object

A parsnip 'model_spec' object.

model_args

A list of model arguments.

Value

A list with algorithm, the model name and the arguments with the family attribute set for specific models (e.g. glm).


stevenpawley/h2oparsnip documentation built on June 20, 2022, 12:48 p.m.