Helper methods for working with parameters for ML objects.
ml_is_set(x, param, ...)ml_param_map(x, ...)
ml_param(x, param, allow_null = FALSE, ...)
ml_params(x, params = NULL, allow_null = FALSE, ...)
A Spark ML object, either a pipeline stage or an evaluator.
The parameter to extract or set.
Optional arguments; currently unused.
Whether to allow NULL
results when extracting parameters. If FALSE
, an error will be thrown if the specified parameter is not found. Defaults to FALSE
.
A vector of parameters to extract.