h2o (version 3.30.0.1)

h2o.tanh: Compute the hyperbolic tangent of x

Description

Compute the hyperbolic tangent of x

Usage

h2o.tanh(x)

Arguments

x

An H2OFrame object.

See Also

tanh for the base R implementation.

Examples

Run this code
# NOT RUN {
library(h2o)
h2o.init()

frame <- h2o.createFrame(rows = 6, cols = 2,
                         categorical_fraction = 0.0, 
                         missing_fraction = 0.7, 
                         seed = 123)
h2o.tanh(frame)
# }

Run the code above in your browser using DataCamp Workspace