-
Notifications
You must be signed in to change notification settings - Fork 25.7k
Default "prediction_field_name" to (dependent_variable + "_prediction") #48232
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
Default "prediction_field_name" to (dependent_variable + "_prediction") #48232
Conversation
ab789ab to
2451153
Compare
|
Pinging @elastic/ml-core (:ml) |
benwtrent
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we do any checks to verify that there are no field name conflicts between existing fields and these result fields?
58f960d to
a294134
Compare
FWIU we do protect against |
06dc614 to
055b09c
Compare
|
run elasticsearch-ci/packaging-sample-matrix |
|
run elasticsearch-ci/default-distro |
055b09c to
4478212
Compare
|
run elasticsearch-ci/packaging-sample-matrix |
4478212 to
cdf0745
Compare
|
run elasticsearch-ci/packaging-sample-matrix |
In line with how are defaults handled in other places (see e.g:
DataFrameAnalyticsDest.resultsField) this PR sets the default value ofprediction_field_nameuponClassificationandRegressionobjects creation.This way the value of
prediction_field_nameis directly available to the API user / UI.Relates #46735