# NOT RUN {
# }
# NOT RUN {
library(dplyr)
library(readr)
library(magrittr)
library(h2o)
library(lazytrade)
# start h2o engine (using all CPU's by default)
h2o.init()
path_model <- normalizePath(tempdir(),winslash = "/")
path_data <- normalizePath(tempdir(),winslash = "/")
data(indicator_dataset_big)
data(price_dataset_big)
prices <- price_dataset_big
macd <- indicator_dataset_big
# performing Deep Learning Regression using the custom function
self_learn_ai_R(price_dataset = prices,
indicator_dataset = macd,
num_bars = 75,
timeframe = 60,
path_model = path_model,
setup_mode = FALSE,
research_mode = FALSE,
write_log = FALSE)
# 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