Spark ML -- Principal Components Analysis

Usage

ml_pca(x, features = dplyr::tbl_vars(x), ml.options = ml_options(), ...)

Arguments

x
An object coercable to a Spark DataFrame (typically, a tbl_spark).
features
The columns to use in the principal components analysis. Defaults to all columns in x.
ml.options
Optional arguments, used to affect the model generated. See ml_options for more details.
...
Optional arguments; currently unused.

Description

Perform principal components analysis on a Spark DataFrame.