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

Explain: Raise more clear error messages #7300

Closed
exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments
Closed

Explain: Raise more clear error messages #7300

exalate-issue-sync bot opened this issue May 11, 2023 · 2 comments

Comments

@exalate-issue-sync
Copy link

When there are no explainable models/models with varimp, the explain raises errors like this:

{code:r}
Error: subscript out of bounds
Backtrace:

  1. ├─global::withWarnings(call_func(test_name, list(), envir = suite$envir))
  2. │ └─base::withCallingHandlers(expr, warning = wHandler)
  3. ├─base:::call_func(test_name, list(), envir = suite$envir)
  4. └─global::explanation_test_automl_binomial_classification()
  5. ├─global::expect_ggplot(...)
  6. │ └─base::force(gg)
  7. └─global::h2o.varimp_heatmap(aml@leaderboard[1:4, ])
  8. └─global::.varimp_matrix(object, top_n = top_n)
    
  9.   └─global::.process_models_or_automl(...)
    
  10.     └─make_models_info(...)
    
  11.       └─.models_info$new(...)
    
  12.         └─methods::new(def, ...)
    
  13.           ├─methods::initialize(value, ...)
    
  14.           └─methods::initialize(value, ...)
    
  15.             └─.Object$initialize(...)
    

{code}

@h2o-ops-ro
Copy link
Collaborator

JIRA Issue Details

Jira Issue: PUBDEV-8357
Assignee: Tomas Fryda
Reporter: Tomas Fryda
State: Resolved
Fix Version: 3.34.0.3
Attachments: N/A
Development PRs: Available

@h2o-ops-ro
Copy link
Collaborator

Linked PRs from JIRA

#5797

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

No branches or pull requests

2 participants