Learn R Programming

h2o (version 3.38.0.1)

h2o.exportHDFS: Export a Model to HDFS

Description

Exports an H2OModel to HDFS.

Usage

h2o.exportHDFS(object, path, force = FALSE)

Arguments

object

an H2OModel class object.

path

The path to write the model to. Must include the driectory and filename.

force

logical, indicates how to deal with files that already exist.

Examples

Run this code
if (FALSE) {
library(h2o)
h2o.init

f <- "https://s3.amazonaws.com/h2o-public-test-data/smalldata/iris/iris_train.csv"
train <- h2o.importFile(f)
h2o.exportHDFS(train, path = " ", force = FALSE)
}

Run the code above in your browser using DataLab