We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 version, Operating System and Environment
Actual behavior Attempting to use h2o.explain on a h20.adaBoost model gives an error
h2o.explain
h20.adaBoost
Error in if (is.na(i)) NULL else x[, i] : argument is of length zero
Expected behavior
Error should not occur (tried with h2o.naiveBayes model and it worked successfully)
h2o.naiveBayes
Steps to reproduce
library(h2o) h2o.init() # Import the prostate dataset into H2O: prostate <- h2o.importFile("https://s3.amazonaws.com/h2o-public-test-data/smalldata/prostate/prostate.csv") predictors <- c("AGE","RACE","DPROS","DCAPS","PSA","VOL","GLEASON") response <- "CAPSULE" prostate[response] <- as.factor(prostate[response]) # Build and train the model: adaboost_model <- h2o.adaBoost(nlearners=50, learn_rate = 0.5, weak_learner = "DRF", x = predictors, y = response, training_frame = prostate) # Generate predictions: h2o.predict(adaboost_model, prostate) # Explain model h2o.explain(adaboost_model, prostate)
The text was updated successfully, but these errors were encountered:
Thank you for reporting this issue. AdaBoost is currently does not support explain.
Sorry, something went wrong.
Thank you for the swift response.
No branches or pull requests
H2O version, Operating System and Environment
Actual behavior
Attempting to use
h2o.explain
on ah20.adaBoost
model gives an errorExpected behavior
Error should not occur (tried with
h2o.naiveBayes
model and it worked successfully)Steps to reproduce
The text was updated successfully, but these errors were encountered: