as.MLModel: Coerce to an MLModel

View source: R/coerce.R

as.MLModelR Documentation

Coerce to an MLModel

Description

Function to coerce an object to MLModel.

Usage

as.MLModel(x, ...)

## S3 method for class 'MLModelFit'
as.MLModel(x, ...)

## S3 method for class 'ModelSpecification'
as.MLModel(x, ...)

## S3 method for class 'model_spec'
as.MLModel(x, ...)

Arguments

x

model fit result, MachineShop model specification, or parsnip model specification.

...

arguments passed to other methods.

Value

MLModel class object.

See Also

ParsnipModel


MachineShop documentation built on Sept. 18, 2023, 5:06 p.m.