ml-params

0th

Percentile

Spark ML -- ML Params

Helper methods for working with parameters for ML objects.

Usage
ml_is_set(x, param, ...)

ml_param_map(x, ...)

ml_param(x, param, allow_null = FALSE, ...)

ml_params(x, params = NULL, allow_null = FALSE, ...)

Arguments
x

A Spark ML object, either a pipeline stage or an evaluator.

param

The parameter to extract or set.

...

Optional arguments; currently unused.

allow_null

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.

params

A vector of parameters to extract.

Aliases
  • ml-params
  • ml_is_set
  • ml_param_map
  • ml_param
  • ml_params
Documentation reproduced from package sparklyr, version 0.8.1, License: Apache License 2.0 | file LICENSE

Community examples

Looks like there are no examples yet.