Skip to content

[ML] Data Frame Analytics creation wizard: adds support for extended hyper-parameters#90843

Merged
alvarezmelissa87 merged 2 commits intoelastic:masterfrom
alvarezmelissa87:ml-dfa-adds-hyperparams
Feb 10, 2021
Merged

[ML] Data Frame Analytics creation wizard: adds support for extended hyper-parameters#90843
alvarezmelissa87 merged 2 commits intoelastic:masterfrom
alvarezmelissa87:ml-dfa-adds-hyperparams

Conversation

@alvarezmelissa87
Copy link
Copy Markdown
Contributor

@alvarezmelissa87 alvarezmelissa87 commented Feb 9, 2021

Summary

Related issue: #90738

Adds UI support for the following parameters for regression/classification

  • alpha
  • downsample_factor
  • eta_growth_rate_per_tree
  • max_optimization_rounds_per_hyperparameter
  • soft_tree_depth_limit
  • soft_tree_depth_tolerance

Hyperparameters added to Hyperparameters section in wizard with validation:

image

Checklist

Delete any items that are not applicable to this PR.

@elasticmachine
Copy link
Copy Markdown
Contributor

Pinging @elastic/ml-ui (:ml)

@alvarezmelissa87
Copy link
Copy Markdown
Contributor Author

@lcawl - would you be up for taking a look at the help text? Would love your opinion 🙏

@kibanamachine
Copy link
Copy Markdown
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
ml 6.3MB 6.3MB +11.0KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
ml 58.0KB 59.1KB +1.1KB

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

Copy link
Copy Markdown
Contributor

@peteharverson peteharverson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left one question, but otherwise tested and LGTM.

})
}
step={0.001}
min={0.5}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just to confirm - we don't currently aim to validate any of the hyperparameter values inside the JSON editor do we?

image

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We use the 'explain' api to validate these parameters and display any messages returned from that api regarding the particular hyperparameter. There is input validation for value type (e.g. numbers) and min/max, as well.

Copy link
Copy Markdown
Contributor

@walterra walterra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@alvarezmelissa87
Copy link
Copy Markdown
Contributor Author

Merging this and applying any necessary helptext changes that might come up (courtesy of @lcawl 🙏 ) in a follow up.

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants