I am using the h2o4gpu package in R to create a random forest model. When the model is created I cannot for the life of me find a way to save it in order to load it in a future date.
I have tried using the standard way of saving and loading objects in R as presented in the code below.
# Saving the model
save(model, file = MODEL_SAVE_PATH)
# Loading the model for future use
load(file = MODEL_PATH)
When I load the object that is saved and try to predict using that object I get the error message "Cannot predict using a non-function file". Additionally, the very small size of the model saved ( < 10 kb) leads me to believe their is an error as I am expecting a large model file given the size of the dataset.