ml_unsupervised_tidiers: Tidying methods for Spark ML unsupervised models

ml_unsupervised_tidiersR Documentation

Tidying methods for Spark ML unsupervised models

Description

These methods summarize the results of Spark ML models into tidy forms.

Usage

## S3 method for class 'ml_model_kmeans'
tidy(x, ...)

## S3 method for class 'ml_model_kmeans'
augment(x, newdata = NULL, ...)

## S3 method for class 'ml_model_kmeans'
glance(x, ...)

## S3 method for class 'ml_model_bisecting_kmeans'
tidy(x, ...)

## S3 method for class 'ml_model_bisecting_kmeans'
augment(x, newdata = NULL, ...)

## S3 method for class 'ml_model_bisecting_kmeans'
glance(x, ...)

## S3 method for class 'ml_model_gaussian_mixture'
tidy(x, ...)

## S3 method for class 'ml_model_gaussian_mixture'
augment(x, newdata = NULL, ...)

## S3 method for class 'ml_model_gaussian_mixture'
glance(x, ...)

Arguments

x

a Spark ML model.

...

extra arguments (not used.)

newdata

a tbl_spark of new data to use for prediction.


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