ml_call_constructor: Wrap a Spark ML JVM object

View source: R/ml_constructor_utils.R

ml_call_constructorR Documentation

Wrap a Spark ML JVM object

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

jobj

The jobj for the pipeline stage.


rstudio/sparklyr documentation built on Sept. 18, 2024, 6:10 a.m.