Learn R Programming

⚠️There's a newer version (3.44.0.3) of this package.Take me there.

h2o (version 3.2.0.3)

R Interface for H2O

Description

R scripting functionality for H2O, the open source math engine for big data that computes parallel distributed machine learning algorithms such as generalized linear models, gradient boosting machines, random forests, and neural networks (deep learning) within various cluster environments.

Copy Link

Version

Install

install.packages('h2o')

Monthly Downloads

9,655

Version

3.2.0.3

License

Apache License (== 2.0)

Maintainer

Tom Kraljevic

Last Published

September 23rd, 2015

Functions in h2o (3.2.0.3)

h2o-package

H2O R Interface
as.environment,H2OFrame-method

Convert H2O Data to an R Enviornment
h2o.clearLog

Delete All H2O R Logs
h2o.centers

Retrieve the Model Centers
h2o.day

Convert Milliseconds to Day of Month in H2O Datasets
h2o.download_pojo

Download the Scoring POJO (Plain Old Java Object) of a H2O Model
h2o.interaction

Categorical Interaction Feature Creation in H2O
h2o.logAndEcho

Log a message on the server-side logs
h2o.match

Value Matching in H2O
h2o.num_iterations

Retrieve the number of iterations.
h2o.naiveBayes

Naive Bayes Model in H2O
h2o.performance

Model Performance Metrics in H2O
h2o.parseSetup

Get a parse setup back for the staged data.
h2o.strsplit

String Split
str.H2OFrame

Describe an H2OFrame object
h2o.assign

Rename an H2O object.
H2OConnection-class

The H2OConnection class.
h2o.clusterStatus

Return the status of the cluster
h2o.cummax

Cumulative Max
h2o.cluster_sizes

Retrieve the cluster sizes If "train", "valid", and "xval" parameters are FALSE (default), then the training cluster sizes value is returned. If more than one parameter is set to TRUE, then a named list of cluster size vectors are returned, where the names are "train", "valid" or "xval".
h2o.downloadCSV

Download H2O Data to Disk
h2o.downloadAllLogs

Download H2O Log Files to Disk
h2o.exportHDFS

Export a H2OFrame to HDFS
h2o.glrm

Generalized Low Rank Model
h2o.group_by

Group and Apply by Column
h2o.ifelse

H2O Apply Conditional Statement
h2o.mse

Retrieves Mean Squared Error Value
h2o.nlevels

Return the number of levels in the column.
h2o.networkTest

View Network Traffic Speed
h2o.residual_deviance

Retrieve the residual deviance If "train", "valid", and "xval" parameters are FALSE (default), then the training residual deviance value is returned. If more than one parameter is set to TRUE, then a named vector of residual deviances are returned, where the names are "train", "valid" or "xval".
h2o.null_dof

Retrieve the null degrees of freedom If "train", "valid", and "xval" parameters are FALSE (default), then the training null degrees of freedom value is returned. If more than one parameter is set to TRUE, then a named vector of null degrees of freedom are returned, where the names are "train", "valid" or "xval".
h2o.gsub

String Global Substitute
h2o.scoreHistory

Retrieve Model Score History
h2o.rbind

Combine H2O Datasets by Rows
h2o.svd

Singular Value Decomposition
h2o.splitFrame

Split an H2O Data Set
h2o.setTimezone

Set the Time Zone on the H2O Cloud
h2o.tolower

To Lower
h2o.var

Variance of a column.
H2OClusteringModel-class

The H2OClusteringModel object.
H2OModelFuture-class

H2O Future Model
H2OFrame-Extract

Extract or Replace Parts of an H2OFrame Object
H2ORawData-class

The H2ORawData class.
H2OW2V-class

The H2OW2V object.
h2o.anomaly

Anomaly Detection via H2O Deep Learning Model
as.factor,H2OFrame-method

Convert H2O Data to Factors
h2o.cbind

Combine H2O Datasets by Columns
h2o.centersSTD

Retrieve the Model Centers STD
h2o.betweenss

Get the between cluster sum of squares. If "train", "valid", and "xval" parameters are FALSE (default), then the training betweenss value is returned. If more than one parameter is set to TRUE, then a named vector of betweenss' are returned, where the names are "train", "valid" or "xval".
h2o.grid

H2O Grid Support
h2o.hit_ratio_table

Retrieve the Hit Ratios If "train", "valid", and "xval" parameters are FALSE (default), then the training Hit Ratios value is returned. If more than one parameter is set to TRUE, then a named list of Hit Ratio tables are returned, where the names are "train", "valid" or "xval".
h2o.kmeans

KMeans Model in H2O
h2o.metric

H2O Model Metric Accessor Functions
h2o.parseRaw

H2O Data Parsing
h2o.r2

Retrieve the R2 value
h2o.sdev

Retrieve the standard deviations of principal components
h2o.setLevels

Set Levels of H2O Factor Column
h2o.sub

String Substitute
h2o.shutdown

Shut Down H2O Instance
h2o.stopLogging

Stop Writing H2O R Logs
h2o.removeVecs

Delete Columns from a H2OFrame
ASTNode-class

The ASTNode class.
H2OGrid-class

H2O Grid
H2OS4groupGeneric

S4 Group Generic Functions for H2O
h2o.centroid_stats

Retrieve the centroid statistics If "train", "valid", and "xval" parameters are FALSE (default), then the training centroid stats value is returned. If more than one parameter is set to TRUE, then a named list of centroid stats data frames are returned, where the names are "train", "valid" or "xval".
h2o.coef

Retrieve the model coefficeints
colnames<-,H2OFrame,H2OFrame-method

Returns Column Names for a Parsed H2O Data Object.
h2o.cumsum

Cumulative Sum
h2o.confusionMatrix

Access H2O Confusion Matrices
h2o.cut

Cut H2O Numeric Data to Factor
h2o.glm

H2O Generalized Linear Models
h2o.listTimezones

List all of the Time Zones Acceptable by the H2O Cloud.
h2o.levels

Return the levels from the column requested column.
h2o.clusterIsUp

Determine if an H2O cluster is up or not
h2o.loadModel

Load H2O Model from HDFS or Local Disk
h2o.getFrame

Get an R Reference to an H2O Dataset
h2o.makeGLMModel

Set betas of an existing H2O GLM Model
h2o.prcomp

Principal Components Analysis
h2o.median

H2O Median
h2o.startGLMJob

Start an H2O Generalized Linear Model Job
h2o.table

Cross Tabulation and Table Creation in H2O
h2o.startLogging

Start Writing H2O R Logs
is.numeric,H2OFrame-method

Is H2O Data Frame column numeric
h2o.null_deviance

Retrieve the null deviance If "train", "valid", and "xval" parameters are FALSE (default), then the training null deviance value is returned. If more than one parameter is set to TRUE, then a named vector of null deviances are returned, where the names are "train", "valid" or "xval".
h2o.residual_dof

Retrieve the residual degrees of freedom If "train", "valid", and "xval" parameters are FALSE (default), then the training residual degrees of freedom value is returned. If more than one parameter is set to TRUE, then a named vector of residual degrees of freedom are returned, where the names are "train", "valid" or "xval".
as.numeric,H2OFrame-method

Convert H2O Data to Numeric
H2OModel-class

The H2OModel object.
apply,H2OFrame-method

Apply on H2O Datasets
aaa

Starting H2O For examples
h2o.anyFactor

Check H2OFrame columns for factors
as.character,H2OFrame-method

Convert H2O Data to Characters
h2o.auc

Retrieve the AUC
h2o.deeplearning

Build a Deep Learning Neural Network
h2o.hour

Convert Milliseconds to Hour of Day in H2O Datasets
h2o.createFrame

Data Frame Creation in H2O
h2o.cummin

Cumulative Min
h2o.month

Convert Milliseconds to Months in H2O Datasets
h2o.openLog

View H2O R Logs
h2o.scale

Scaling and Centering of an H2O Frame
h2o.ddply

Split H2O Dataset, Apply Function, and Return Results
h2o.toupper

To Upper
h2o.subset

Subsetting an H2O Frame
h2o.trim

Trim Space
h2o.filterNACols

Filter NA Columns
h2o.getModel

Get an R reference to an H2O model
predict.H2OModel

Predict on an H2O Model
h2o.nrow

The Number of Rows/Columns of an H2O Dataset
h2o.dim

Returns the Dimensions of a Parsed H2O Data Object.
h2o.tabulate

Tabulation between Two Columns of a H2O Frame
h2o.quantile

Quantiles of H2O Data Frame.
h2o.removeAll

Remove All Objects on the H2O Cluster
h2o.runif

Produce a Vector of Random Uniform Numbers
h2o.summary

Summarizes the columns of a H2O data frame.
h2o.weights

Retrieve the respective weight matrix
h2o.week

Convert Milliseconds to Week of Week Year in H2O Datasets
h2o.year

Convert Milliseconds to Years in H2O Datasets
h2o.withinss

Get the Within SS
h2o.varimp

Retrieve the variable importance.
range,H2OFrame-method

Range of an H2O Column
H2OObject-class

The H2OObject class
summary,H2OGrid-method

Format grid object in user-friendly way
summary,H2OModel-method

Print the Model Summary
Node-class

The Node class.
h2o.dct

Compute DCT of an H2OFrame
h2o.biases

Return the respective bias vector
h2o.deepfeatures

Feature Generation via H2O Deep Learning Model
zzz

Shutting down H2O for examples
h2o.getConnection

Retrieve an H2O Connection
h2o.giniCoef

Retrieve the GINI Coefficcient
h2o.getGrid

Get a grid object from H2O distributed K/V store.
h2o.impute

# children <- list(c(paste0(',nAggs), unlist(lapply(aggs, function(l) { .args.to.ast(.args=l)}))))
h2o.is_client

Check Client Mode Connection
h2o.length

Returns the Length of a Parsed H2O Data Object.
h2o.logloss

Retrieve the Log Loss Value
h2o.mean

Mean of a column
h2o.randomForest

Build a Big Data Random Forest Model
h2o.rm

Delete Objects In H2O
h2o.tot_withinss

Get the total within cluster sum of squares. If "train", "valid", and "xval" parameters are FALSE (default), then the training tot_withinss value is returned. If more than one parameter is set to TRUE, then a named vector of tot_withinss' are returned, where the names are "train", "valid" or "xval".
is.factor,H2OFrame-method

Is H2O Data Frame column a enum
na.omit,H2OFrame-method

Remove Rows With NAs
h2o.which

H2O Which
as.data.frame.H2OFrame

Converts a Parsed H2O data into a Data Frame
H2OModelMetrics-class

The H2OModelMetrics Object.
h2o.aic

Retrieve the AIC. If "train", "valid", and "xval" parameters are FALSE (default), then the training AIC value is returned. If more than one parameter is set to TRUE, then a named vector of AICs are returned, where the names are "train", "valid" or "xval".
as.h2o

R data.frame -> H2OFrame
h2o.dayOfWeek

Convert Milliseconds to Day of Week in H2O Datasets
h2o.clusterInfo

Print H2O cluster info
h2o.insertMissingValues

Inserting Missing Values to an H2O DataFrame
h2o.gbm

Gradient Boosted Machines
h2o.killMinus3

Dump the stack into the JVM's stdout.
h2o.init

Initialize and Connect to H2O
h2o.ls

List Keys on an H2O Cluster
h2o.rep_len

Replicate Elements of Vectors or Lists into H2O
h2o.sd

Standard Deviation of a column of data.
h2o.totss

Get the total sum of squares. If "train", "valid", and "xval" parameters are FALSE (default), then the training totss value is returned. If more than one parameter is set to TRUE, then a named vector of totss' are returned, where the names are "train", "valid" or "xval".
h2o.transform

Transform Columns in an H2OFrame Object.
print.H2OTable

Print method for H2OTable objects
H2OFrame-class

The H2OFrame class
ModelAccessors

Accessor Methods for H2OModel Object
h2o.coef_norm

Retrieve the normalized coefficients
h2o.cumprod

Cumulative Product
h2o.exportFile

Export an H2O Data Frame to a File
h2o.hist

Compute A Histogram
h2o.head

Return the Head or Tail of an H2O Dataset.
h2o.importFile

Import Files into H2O
h2o.getTimezone

Get the Time Zone on the H2O Cloud
h2o.merge

Merge Two H2O Data Frames
h2o.mean_residual_deviance

Retrieve the Mean Residual Deviance value
h2o.shim

Deprecated Script Shim
h2o.saveModel

Save an H2O Model Object to Disk
h2o.setLevel

Set a Factor Column to a Level
sapply,H2OFrame-method

Apply Over a List in H2O