Reputation: 282
Is there a way to save the whole environment in H2o Flow, so you can get all the grids, models, and predictions intact after you restart the h2o? When I do Download a flow, or Save/Load it loads only a flow with no data.
Upvotes: 2
Views: 531
Reputation: 282
I think this is the only correct answer right now. There is no way to save the whole environment. I wrote a script to save (save_all_models()
), load models (load_models()
, and save frames (save_all_frames()
) within Python. You can also saved models produced by a given grid search.
The jupiter demo: https://github.com/mmagnus/h2o_utils/blob/master/h2o_utils_demo.ipynb
The module: https://github.com/mmagnus/h2o_utils/blob/master/h2o_utils.py
Upvotes: 2
Reputation: 8819
No, currently there is not a way to save all of the objects in the H2O cluster (which is what you're asking). The H2O cluster contains data frames and models. It doesn't really make sense to save the data frames since you already have a copy of the data (that you loaded into H2O). However, you might want to save the models, and you can do that as follows:
getModels
in the Flow Assist section, or click on the "Models" menu item and then "List All Models"You will have to save the models individually. This may change in the future, but right now, that's how you do it.
Upvotes: 0