How to generate and save POJO from H2O using Python
问题 I have a model created in H2O using Python. I want to generate a POJO of that model, and save it. Say my model is called model_rf. I have tried: h2o.save_model(model_rf, path='./pojo_test', force=False) This create a directory called "pojo_test", which contains a whole bunch of binary files. I want a java file though, something like model_rf.java, that is the POJO itself. I tried: h2o.download_pojo(model_rf, path='./pojo_test_2', get_jar = True) Which gave the error message: IOError: [Errno 2