Learn R Programming

h2o (version 3.38.0.1)

h2o.computeGram: Compute weighted gram matrix.

Description

Compute weighted gram matrix.

Usage

h2o.computeGram(
  X,
  weights = "",
  use_all_factor_levels = FALSE,
  standardize = TRUE,
  skip_missing = FALSE
)

Arguments

X

an H2OModel corresponding to H2O framel.

weights

character corresponding to name of weight vector in frame.

use_all_factor_levels

logical flag telling h2o whether or not to skip first level of categorical variables during one-hot encoding.

standardize

logical flag telling h2o whether or not to standardize data

skip_missing

logical flag telling h2o whether skip rows with missing data or impute them with mean