Learn R Programming

h2o (version 2.8.4.4)

summary.H2OGapStatModel: Summarizes the H2O Gap Statistic Model

Description

summary.H2OGapStatModel, a method for the summary generic. Gives the full output of the model created by h2o.gapStatistic.

Usage

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

Arguments

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

Value

  • A data.frame displaying the contents of the Gap Statistic model. Here we can see the Within Cluster SS, Expected Within Cluster SS, Gap Statistics

Examples

Run this code
library(h2o)
localH2O <- h2o.init()
iris.hex <- as.h2o(localH2O, iris)
gs <- h2o.gapStatistic(iris.hex, K = 5, B = 10)
summary(gs)  # gives all model information computed

Run the code above in your browser using DataLab