ml_summary: Spark ML - Extraction of summary metrics

View source: R/ml_pipeline_utils.R

ml_summaryR Documentation

Spark ML – Extraction of summary metrics

Description

Extracts a metric from the summary object of a Spark ML model.

Usage

ml_summary(x, metric = NULL, allow_null = FALSE)

Arguments

x

A Spark ML model that has a summary.

metric

The name of the metric to extract. If not set, returns the summary object.

allow_null

Whether null results are allowed when the metric is not found in the summary.


sparklyr documentation built on Nov. 2, 2023, 5:09 p.m.