我正在尝试在我的云DSVM上加载h2o模型,并将模型另存为
h2o.saveModel(gbm_1,"1_GBM_all_model") # based on 5 fold cross validation
当我使用
加载时gbm_1_load=h2o.loadModel('C:/Users/pbhr/Desktop/SG_Models/1_GBM_all_model/GBM_model_R_1562833127028_544')
模型加载,如果简单运行gbm_1_load
,我将通过
gbm_1_load@model$cross_validation_metrics
但是,当我执行以下操作
h2o.confusionMatrix(h2o.cross_validation_models(gbm_1_load)[[1]],thresholds=0.9,valid=T)
我明白了:
Error in .h2o.doSafeREST(h2oRestApiVersion = h2oRestApiVersion, urlSuffix = page, :
ERROR MESSAGE:
Object 'GBM_model_R_1562833127028_544_cv_1' not found for argument: key