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

Add docs for R and Python clients on how to access attributes in model_summary #7000

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

Comments

@exalate-issue-sync
Copy link

No description provided.

@exalate-issue-sync
Copy link
Author

Wendy Wong commented: There are many model attributes and not all of them are important. However, there may be rare ones that users are interested in getting at them. Here are some examples:

{{number_of_predictors_total}} and {{number_of_active_predictors}}.

Instead of writing APIs to access them, we can show the users how to get them in Python as:

{noformat}model._model_json["output"]['model_summary']['number_of_active_predictors']
model._model_json["output"]['model_summary']['number_of_predictors_total']{noformat}

Please add this little trick to GLM documentation.

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

JIRA Issue Details

Jira Issue: PUBDEV-8700
Assignee: hannah.tillman
Reporter: Wendy Wong
State: Resolved
Fix Version: 3.36.1.2
Attachments: N/A
Development PRs: Available

@h2o-ops
Copy link
Collaborator

h2o-ops commented May 14, 2023

Linked PRs from JIRA

#6197

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