# NOT RUN {
# }
# NOT RUN {
library(dplyr)
library(magrittr)
library(readr)
library(h2o)
library(lazytrade)
path_model <- normalizePath(tempdir(),winslash = "/")
path_data <- normalizePath(tempdir(),winslash = "/")
data(macd_ML2)
Sys.sleep(5)
# start h2o engine (using all CPU's by default)
h2o.init()
# performing Deep Learning Regression using the custom function
mt_make_model(indicator_dataset = macd_ML2,
num_bars = 64,
path_model = path_model,
path_data = path_data)
# stop h2o engine
h2o.shutdown(prompt = FALSE)
#set delay to insure h2o unit closes properly before the next test
Sys.sleep(5)
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab