nano_save: Save Nano Object

View source: R/nano_save.R

nano_saveR Documentation

Save Nano Object

Description

Save nano object into a new directory.

Usage

nano_save(nano, path)

Arguments

nano

a nano object.

path

a character. Path of the directory to save the nano object. The directory must be empty prior to saving the nano object.

Details

A nano object is able to be saved using the nano_save function. The nano_load function is then used to load the data back as a nano object.

Examples

## Not run: 
if(interactive()){
 library(h2o)
 library(nano)
 
 h2o.init()
 
 # import dataset
 data(property_prices)
 
 # create model
 nano <- nano_automl(data     = data, 
                     response = "sale_price")
                     
 # save nano object
 nano_save(nano, tempdir())
 
 # load back nano object
 nano_load(tempdir())
 
 }

## End(Not run)

Nanoputian628/nano documentation built on Oct. 30, 2023, 3:28 p.m.