OpenSearch/docs/reference/ml
David Roberts 7aa0daaabd
[7.x][ML] More advanced model snapshot retention options (#56194)
This PR implements the following changes to make ML model snapshot
retention more flexible in advance of adding a UI for the feature in
an upcoming release.

- The default for `model_snapshot_retention_days` for new jobs is now
  10 instead of 1
- There is a new job setting, `daily_model_snapshot_retention_after_days`,
  that defaults to 1 for new jobs and `model_snapshot_retention_days`
  for pre-7.8 jobs
- For days that are older than `model_snapshot_retention_days`, all
  model snapshots are deleted as before
- For days that are in between `daily_model_snapshot_retention_after_days`
  and `model_snapshot_retention_days` all but the first model snapshot
  for that day are deleted
- The `retain` setting of model snapshots is still respected to allow
  selected model snapshots to be retained indefinitely

Backport of #56125
2020-05-05 14:31:58 +01:00
..
anomaly-detection [7.x][ML] More advanced model snapshot retention options (#56194) 2020-05-05 14:31:58 +01:00
df-analytics/apis [7.x][ML] Add loss_function to regression (#56118) (#56187) 2020-05-05 14:59:51 +03:00
images [DOCS] Updates categorization examples with wizard screenshots (#51133) 2020-01-22 11:28:17 -08:00
ml-shared.asciidoc [7.x][ML] More advanced model snapshot retention options (#56194) 2020-05-05 14:31:58 +01:00