[ML] Persist/restore state for DFA classification#50040
[ML] Persist/restore state for DFA classification#50040dimitris-athanasiou merged 2 commits intoelastic:masterfrom
Conversation
|
Pinging @elastic/ml-core (:ml) |
There was a problem hiding this comment.
Shouldn't it be "_classification_state" instead?
There was a problem hiding this comment.
I wasn't sure whether the underlying state was similar so I ignored this. However, after talking to @tveasey about it we decided it'd be clearer to distinguish between them. So, I'll be raising a PR to address this in the c++ side. Thanks for raising it!
There was a problem hiding this comment.
Is it the same method as in RegressionIT? If so, it could be moved to MlNativeDataFrameAnalyticsIntegTestCase, just like assertInferenceModelPersisted.
This commit enables restoring state for data frame analytics classification jobs.
2c21868 to
c66bc6b
Compare
|
@droberts195, @przemekwitek I have adjusted the PR to handle different suffix per analysis for the state doc ids. Could you please take another look? |
|
run elasticsearch-ci/2 |
|
run elasticsearch-ci/packaging-sample-matrix |
droberts195
left a comment
There was a problem hiding this comment.
LGTM
It would be good to delete orphaned data frame analytics state documents in the nightly maintenance in a followup PR.
This commit adds state persist/restore for data frame analytics classification jobs. Backport of elastic#50040
This commit adds state persist/restore for data frame analytics classification jobs.
This commit adds state persist/restore for data frame analytics classification jobs.