-
Notifications
You must be signed in to change notification settings - Fork 25.2k
[ML] Parse and index inference model #48016
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
[ML] Parse and index inference model #48016
Conversation
This adds parsing an inference model as a possible result of the analytics process. When we do parse such a model we persist a `TrainedModelConfig` into the inference index that contains additional metadata derived from the running job.
Pinging @elastic/ml-core (:ml) |
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.
We should also include doc_type
field in the .ml-inference-*
mapping and have the TrainedModelConfig write trained_mode_config
to that field when serialized for storage.
...-high-level/src/test/java/org/elasticsearch/client/ml/inference/TrainedModelConfigTests.java
Outdated
Show resolved
Hide resolved
x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/job/messages/Messages.java
Outdated
Show resolved
Hide resolved
.../ml/src/main/java/org/elasticsearch/xpack/ml/dataframe/process/AnalyticsResultProcessor.java
Outdated
Show resolved
Hide resolved
.../ml/src/main/java/org/elasticsearch/xpack/ml/dataframe/process/AnalyticsResultProcessor.java
Show resolved
Hide resolved
@benwtrent I pushed a commit addressing all your spot-on comments! |
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.
Some more minor things, but they can be fixed later if pushed for time :)
...-high-level/src/test/java/org/elasticsearch/client/ml/inference/TrainedModelConfigTests.java
Outdated
Show resolved
Hide resolved
.../plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/inference/TrainedModelConfig.java
Outdated
Show resolved
Hide resolved
.../plugin/core/src/main/java/org/elasticsearch/xpack/core/ml/inference/TrainedModelConfig.java
Outdated
Show resolved
Hide resolved
@elasticmachine update branch |
run elasticsearch-ci/packaging-sample |
This adds parsing an inference model as a possible result of the analytics process. When we do parse such a model we persist a `TrainedModelConfig` into the inference index that contains additional metadata derived from the running job.
Backport to |
This adds parsing an inference model as a possible
result of the analytics process. When we do parse such a model
we persist a
TrainedModelConfig
into the inference indexthat contains additional metadata derived from the running job.