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.


sparklyr documentation built on May 29, 2024, 2:58 a.m.