Scikit learn 使用sklearn保存h2o管道模型构建

Scikit learn 使用sklearn保存h2o管道模型构建,scikit-learn,save,pipeline,h2o,pre-trained-model,Scikit Learn,Save,Pipeline,H2o,Pre Trained Model,我有一个包含h2o预处理器和h2o估计器的sklearn管道。请看下面 pipeline = Pipeline([("standardize", h2o.transforms.preprocessing.H2OScaler()), ("pca", h2o.transforms.decomposition.H2OPCA(k=2)), ("drf", h2o.estimators.random_forest.H2OR

我有一个包含h2o预处理器和h2o估计器的sklearn管道。请看下面

pipeline = Pipeline([("standardize", h2o.transforms.preprocessing.H2OScaler()),
                     ("pca", h2o.transforms.decomposition.H2OPCA(k=2)),
                     ("drf", h2o.estimators.random_forest.H2ORandomForestEstimator(ntrees=200))])
pipeline.fit(iris_df[:4],iris_df[4])
我无法以h2o文档中描述的任何方式保存此管道模型。我试过POJO、MOJO、pickle、dill等

请帮我解决这个问题。如果我能用pickle保存模型,那将对我有所帮助

谢谢, 阿努普