Scaling and Centering of an H2OFrame
Centers and/or scales the columns of an H2O dataset.
## S3 method for class 'H2OFrame' scale(x, center = TRUE, scale = TRUE)
x |
An H2OFrame object. |
center |
either a |
scale |
either a |
## Not run: library(h2o) h2o.init() iris_hf <- as.h2o(iris) summary(iris_hf) # Scale and center all the numeric columns in iris data set iris_scaled <- scale(iris_hf[, 1:4]) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.