Provide Options for Spark.ML Routines
ml_options(id.column = random_string("id"),
response.column = random_string("response"),
features.column = random_string("features"), model.transform = NULL,
only.model = FALSE, ...)
The name to assign to the generated id column.
The name to assign to the generated response column.
The name to assign to the generated features column.
An optional R function that accepts a Spark model
and returns a Spark model. This can be used to supply optional Spark model
fitting parameters not made available in the sparklyr
APIs.
Boolean; should the Spark model object itself be returned
without fitting the actual model? Useful for ml_one_vs_rest
.
Optional arguments, reserved for future expansion.