Wrap a Spark ML JVM object
R/ml_constructor_utils.R
ml_call_constructor
Description
Identifies the associated sparklyr ML constructor for the JVM object by inspecting its class and performing a lookup. The lookup table is specified by the sparkml/class_mapping.json
files of sparklyr and the loaded extensions.
Usage
ml_call_constructor(jobj)
Arguments
Arguments | Description |
---|---|
jobj | The jobj for the pipeline stage. |