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

AutoML: Provide leaderboard extension with complexity info: model training time, model scoring time #8566

Closed
exalate-issue-sync bot opened this issue May 12, 2023 · 3 comments

Comments

@exalate-issue-sync
Copy link

To help users to assess the complexity of models produced by {{AutoML}}, we can provide a leaderboard extension (not rendered by default) with the following information:

  • model training time (in seconds): excludes CV training time.
  • model average scoring time per row (in millis), based on prediction of leaderboard frame if provided otherwise on the entire training frame (requires additional computation, so only executed on demand):

In a second time (TBD):

  • model size (in bytes)

h2.
Final client API

h3. Python

{noformat}lb_all = h2o.automl.get_leaderboard(aml, extra_columns = 'ALL')
lb_custom = h2o.automl.get_leaderboard(aml, ['predict_time_per_row_ms', 'training_time_ms'])
lb_custom_sorted = lb_custom.sort(by='predict_time_per_row_ms')
{noformat}

h3. R

{noformat}lb_all <- h2o.get_leaderboard(object = aml, extra_columns = 'ALL')
lb_custom <- h2o.get_leaderboard(aml, c('predict_time_per_row_ms', 'training_time_ms'))
{noformat}

@exalate-issue-sync
Copy link
Author

Erin LeDell commented: Hey [~accountid:557058:9328661f-241f-4a0f-9d9a-d4e78ef05ba0] thought you may be interested in this, recently added to 3.28.0.1.

@exalate-issue-sync
Copy link
Author

Ruslan Dautkhanov commented: Thank you Erin - that’s definitely very interesting. Didn’t know 3.28 is out.

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Migration Info

Jira Issue: PUBDEV-7074
Assignee: Sebastien Poirier
Reporter: Sebastien Poirier
State: Closed
Fix Version: 3.28.0.1
Attachments: N/A
Development PRs: Available

Linked PRs from JIRA

#4124

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

1 participant