Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

h2o.stackedEnsemble have already have the parameter metalearner_nfolds, but we can't access the cross-validition prediction result. #16459

Open
Yijuan-w opened this issue Dec 12, 2024 · 0 comments
Labels

Comments

@Yijuan-w
Copy link

ensemble_2 <- h2o.stackedEnsemble(x = predictors, y = response, training_frame = data_h2o,
                                base_models = list(xgb_model,dl_model, rf_model,glm_model, nb_model),
                                metalearner_algorithm = "glm",
                                metalearner_nfolds = 5,  
                                seed = 1)

it works well, but when I want to plot ROC curve to compare the base model and ensemble model, I can't get the prediction result.
it should also have the parameter keep_cross_validation_predictions
please! Many many thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant