Learn R Programming

h2o (version 2.8.4.4)

summary.H2OPCAModel: Summarizes the H2O PCA Model

Description

summary.H2OPCAModel, a method for the summary generic. Summarizes the importance of each principal component returned by h2o.prcomp.

Usage

## S3 method for class 'H2OPCAModel':
summary(object, ...)

Arguments

object
An H2OPCAModel object.
...
Additional arguments affecting the summary produced. (Currently unimplemented).

Value

  • A matrix displaying the standard deviation, proportion of variance explained and cumulative proportion of variance explained by each principal component.

Examples

Run this code
library(h2o)
localH2O = h2o.init()
ausPath = system.file("extdata", "australia.csv", package="h2o")
australia.hex = h2o.importFile(localH2O, path = ausPath)
australia.pca = h2o.prcomp(data = australia.hex, standardize = TRUE)
summary(australia.pca)

Run the code above in your browser using DataLab