Skip to content

Change mode of a cluster specification

Usage

# S3 method for cluster_spec
set_mode(object, mode)

Arguments

object

A model specification.

mode

A character string for the model type (e.g. "classification" or "regression")

Value

An updated cluster_spec object.