nano_load: Load Nano Object

View source: R/nano_load.R

nano_loadR Documentation

Load Nano Object

Description

Loads nano object which has been saved using the nano_save function.

Usage

nano_load(path)

Arguments

path

a character. Path of the directory where the nano object is saved in.

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.

Value

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.