2019-07-05 07:34:05 -04:00
|
|
|
[role="xpack"]
|
|
|
|
[testenv="platinum"]
|
|
|
|
[[get-dfanalytics-stats]]
|
2020-07-20 16:06:29 -04:00
|
|
|
= Get {dfanalytics-jobs} statistics API
|
2019-07-05 07:34:05 -04:00
|
|
|
[subs="attributes"]
|
|
|
|
++++
|
|
|
|
<titleabbrev>Get {dfanalytics-jobs} stats</titleabbrev>
|
|
|
|
++++
|
|
|
|
|
|
|
|
Retrieves usage information for {dfanalytics-jobs}.
|
|
|
|
|
2019-07-12 11:26:31 -04:00
|
|
|
experimental[]
|
|
|
|
|
2019-07-05 07:34:05 -04:00
|
|
|
[[ml-get-dfanalytics-stats-request]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-request-title}
|
2019-07-05 07:34:05 -04:00
|
|
|
|
|
|
|
`GET _ml/data_frame/analytics/<data_frame_analytics_id>/_stats` +
|
|
|
|
|
|
|
|
`GET _ml/data_frame/analytics/<data_frame_analytics_id>,<data_frame_analytics_id>/_stats` +
|
|
|
|
|
|
|
|
`GET _ml/data_frame/analytics/_stats` +
|
|
|
|
|
|
|
|
`GET _ml/data_frame/analytics/_all/_stats` +
|
|
|
|
|
|
|
|
`GET _ml/data_frame/analytics/*/_stats`
|
|
|
|
|
2019-09-06 09:17:18 -04:00
|
|
|
|
2019-07-05 07:34:05 -04:00
|
|
|
[[ml-get-dfanalytics-stats-prereq]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-prereq-title}
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2020-01-09 04:44:07 -05:00
|
|
|
If the {es} {security-features} are enabled, you must have the following privileges:
|
|
|
|
|
|
|
|
* cluster: `monitor_ml`
|
|
|
|
|
2020-07-23 19:43:10 -04:00
|
|
|
For more information, see <<security-privileges>> and {ml-docs-setup-privileges}.
|
2019-07-05 07:34:05 -04:00
|
|
|
|
|
|
|
[[ml-get-dfanalytics-stats-path-params]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-path-parms-title}
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2019-07-12 11:26:31 -04:00
|
|
|
`<data_frame_analytics_id>`::
|
2019-12-13 05:48:21 -05:00
|
|
|
(Optional, string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=job-id-data-frame-analytics-default]
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2019-09-06 09:17:18 -04:00
|
|
|
|
2019-07-05 07:34:05 -04:00
|
|
|
[[ml-get-dfanalytics-stats-query-params]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-query-parms-title}
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2019-07-12 11:26:31 -04:00
|
|
|
`allow_no_match`::
|
2019-12-13 05:48:21 -05:00
|
|
|
(Optional, boolean)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=allow-no-match]
|
2019-07-10 20:58:17 -04:00
|
|
|
|
2019-07-12 11:26:31 -04:00
|
|
|
`from`::
|
2019-12-13 05:48:21 -05:00
|
|
|
(Optional, integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=from]
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2019-07-12 11:26:31 -04:00
|
|
|
`size`::
|
2019-12-13 05:48:21 -05:00
|
|
|
(Optional, integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=size]
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2020-07-16 03:51:31 -04:00
|
|
|
`verbose`::
|
|
|
|
(Optional, boolean)
|
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=verbose]
|
|
|
|
|
2020-03-31 07:27:54 -04:00
|
|
|
[role="child_attributes"]
|
2019-07-05 07:34:05 -04:00
|
|
|
[[ml-get-dfanalytics-stats-response-body]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-response-body-title}
|
2019-07-05 07:34:05 -04:00
|
|
|
|
|
|
|
`data_frame_analytics`::
|
2020-04-22 13:58:26 -04:00
|
|
|
(array)
|
|
|
|
An array of objects that contain usage information for {dfanalytics-jobs}, which
|
|
|
|
are sorted by the `id` value in ascending order.
|
|
|
|
+
|
|
|
|
.Properties of {dfanalytics-job} usage resources
|
|
|
|
[%collapsible%open]
|
|
|
|
====
|
|
|
|
//Begin analysis_stats
|
|
|
|
`analysis_stats`:::
|
|
|
|
(object)
|
|
|
|
An object containing information about the analysis job.
|
|
|
|
+
|
|
|
|
.Properties of `analysis_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
=====
|
|
|
|
//Begin classification_stats
|
|
|
|
`classification_stats`::::
|
|
|
|
(object)
|
|
|
|
An object containing information about the {classanalysis} job.
|
|
|
|
+
|
|
|
|
.Properties of `classification_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
======
|
|
|
|
//Begin class_hyperparameters
|
|
|
|
`hyperparameters`::::
|
|
|
|
(object)
|
|
|
|
An object containing the parameters of the {classanalysis} job.
|
|
|
|
+
|
|
|
|
.Properties of `hyperparameters`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`alpha`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-alpha]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`class_assignment_objective`::::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=class-assignment-objective]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`downsample_factor`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-downsample-factor]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`eta`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=eta]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`eta_growth_rate_per_tree`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-eta-growth]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`feature_bag_fraction`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=feature-bag-fraction]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`gamma`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=gamma]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`lambda`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=lambda]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`max_attempts_to_add_tree`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-max-attempts]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`max_optimization_rounds_per_hyperparameter`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-max-optimization-rounds]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`max_trees`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=max-trees]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`num_folds`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-num-folds]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`num_splits_per_feature`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-num-splits]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`soft_tree_depth_limit`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-soft-limit]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`soft_tree_depth_tolerance`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-soft-tolerance]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End class_hyperparameters
|
|
|
|
|
|
|
|
`iteration`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-iteration]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`timestamp`::::
|
|
|
|
(date)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timestamp]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
//Begin class_timing_stats
|
|
|
|
`timing_stats`::::
|
|
|
|
(object)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats]
|
2020-04-22 13:58:26 -04:00
|
|
|
+
|
|
|
|
.Properties of `timing_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`elapsed_time`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats-elapsed]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`iteration_time`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats-iteration]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End class_timing_stats
|
|
|
|
|
|
|
|
//Begin class_validation_loss
|
|
|
|
`validation_loss`::::
|
|
|
|
(object)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-validation-loss]
|
2020-04-22 13:58:26 -04:00
|
|
|
+
|
|
|
|
.Properties of `validation_loss`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`fold_values`::::
|
|
|
|
(array of strings)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-validation-loss-fold]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`loss_type`::::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-validation-loss-type]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End class_validation_loss
|
|
|
|
======
|
|
|
|
//End classification_stats
|
|
|
|
|
|
|
|
//Begin outlier_detection_stats
|
|
|
|
`outlier_detection_stats`::::
|
|
|
|
(object)
|
|
|
|
An object containing information about the {oldetection} job.
|
|
|
|
+
|
|
|
|
.Properties of `outlier_detection_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
======
|
|
|
|
//Begin parameters
|
|
|
|
`parameters`::::
|
|
|
|
(object)
|
|
|
|
The list of job parameters specified by the user or determined by algorithmic
|
|
|
|
heuristics.
|
|
|
|
+
|
|
|
|
.Properties of `parameters`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`compute_feature_influence`::::
|
|
|
|
(boolean)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=compute-feature-influence]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`feature_influence_threshold`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=feature-influence-threshold]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`method`::::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=method]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`n_neighbors`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=n-neighbors]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`outlier_fraction`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=outlier-fraction]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`standardization_enabled`::::
|
|
|
|
(boolean)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=standardization-enabled]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End parameters
|
|
|
|
|
|
|
|
`timestamp`::::
|
|
|
|
(date)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timestamp]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
//Begin od_timing_stats
|
|
|
|
`timing_stats`::::
|
|
|
|
(object)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats]
|
2020-04-22 13:58:26 -04:00
|
|
|
+
|
|
|
|
.Property of `timing_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`elapsed_time`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats-elapsed]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End od_timing_stats
|
|
|
|
======
|
|
|
|
//End outlier_detection_stats
|
|
|
|
|
|
|
|
//Begin regression_stats
|
|
|
|
`regression_stats`::::
|
|
|
|
(object)
|
|
|
|
An object containing information about the {reganalysis}.
|
|
|
|
+
|
|
|
|
.Properties of `regression_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
======
|
|
|
|
//Begin reg_hyperparameters
|
|
|
|
`hyperparameters`::::
|
|
|
|
(object)
|
|
|
|
An object containing the parameters of the {reganalysis}.
|
|
|
|
+
|
|
|
|
.Properties of `hyperparameters`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`alpha`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-alpha]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`downsample_factor`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-downsample-factor]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`eta`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=eta]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`eta_growth_rate_per_tree`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-eta-growth]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`feature_bag_fraction`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=feature-bag-fraction]
|
2019-09-06 09:17:18 -04:00
|
|
|
|
2020-04-22 13:58:26 -04:00
|
|
|
`gamma`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=gamma]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`lambda`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=lambda]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`max_attempts_to_add_tree`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-max-attempts]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`max_optimization_rounds_per_hyperparameter`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-max-optimization-rounds]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`max_trees`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=max-trees]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`num_folds`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-num-folds]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`num_splits_per_feature`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-num-splits]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`soft_tree_depth_limit`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-soft-limit]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`soft_tree_depth_tolerance`::::
|
|
|
|
(double)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-soft-tolerance]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End reg_hyperparameters
|
|
|
|
|
|
|
|
`iteration`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-iteration]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`timestamp`::::
|
|
|
|
(date)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timestamp]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
//Begin reg_timing_stats
|
|
|
|
`timing_stats`::::
|
|
|
|
(object)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats]
|
2020-04-22 13:58:26 -04:00
|
|
|
+
|
|
|
|
.Propertis of `timing_stats`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`elapsed_time`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats-elapsed]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`iteration_time`::::
|
|
|
|
(integer)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-timing-stats-iteration]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End reg_timing_stats
|
|
|
|
|
|
|
|
//Begin reg_validation_loss
|
|
|
|
`validation_loss`::::
|
|
|
|
(object)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-validation-loss]
|
2020-04-22 13:58:26 -04:00
|
|
|
+
|
|
|
|
.Properties of `validation_loss`
|
|
|
|
[%collapsible%open]
|
|
|
|
=======
|
|
|
|
`fold_values`::::
|
|
|
|
(array of strings)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-validation-loss-fold]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`loss_type`::::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=dfas-validation-loss-type]
|
2020-04-22 13:58:26 -04:00
|
|
|
=======
|
|
|
|
//End reg_validation_loss
|
|
|
|
======
|
|
|
|
//End regression_stats
|
|
|
|
=====
|
|
|
|
//End analysis_stats
|
|
|
|
|
|
|
|
|
|
|
|
`assignment_explanation`:::
|
|
|
|
(string)
|
|
|
|
For running jobs only, contains messages relating to the selection of a node to
|
|
|
|
run the job.
|
|
|
|
|
|
|
|
//Begin data_counts
|
|
|
|
`data_counts`:::
|
|
|
|
(object)
|
|
|
|
An object that provides counts for the quantity of documents skipped, used in
|
|
|
|
training, or available for testing.
|
|
|
|
+
|
|
|
|
.Properties of `data_counts`
|
|
|
|
[%collapsible%open]
|
|
|
|
=====
|
|
|
|
`skipped_docs_count`:::
|
|
|
|
(integer)
|
|
|
|
The number of documents that are skipped during the analysis because they
|
|
|
|
contained values that are not supported by the analysis. For example,
|
|
|
|
{oldetection} does not support missing fields so it skips documents with missing
|
|
|
|
fields. Likewise, all types of analysis skip documents that contain arrays with
|
|
|
|
more than one element.
|
|
|
|
|
|
|
|
`test_docs_count`:::
|
|
|
|
(integer)
|
|
|
|
The number of documents that are not used for training the model and can be used
|
|
|
|
for testing.
|
|
|
|
|
|
|
|
`training_docs_count`:::
|
|
|
|
(integer)
|
|
|
|
The number of documents that are used for training the model.
|
|
|
|
=====
|
|
|
|
//End data_counts
|
|
|
|
|
|
|
|
`id`:::
|
|
|
|
(string)
|
|
|
|
The unique identifier of the {dfanalytics-job}.
|
|
|
|
|
|
|
|
`memory_usage`:::
|
|
|
|
(Optional, object)
|
|
|
|
An object describing memory usage of the analytics. It is present only after the
|
|
|
|
job is started and memory usage is reported.
|
|
|
|
+
|
|
|
|
.Properties of `memory_usage`
|
|
|
|
[%collapsible%open]
|
|
|
|
=====
|
2020-06-28 09:27:26 -04:00
|
|
|
`memory_reestimate_bytes`::::
|
|
|
|
(long)
|
|
|
|
This value is present when the `status` is `hard_limit` and it
|
|
|
|
is a new estimate of how much memory the job needs.
|
|
|
|
|
|
|
|
`peak_usage_bytes`::::
|
2020-04-22 13:58:26 -04:00
|
|
|
(long)
|
|
|
|
The number of bytes used at the highest peak of memory usage.
|
|
|
|
|
2020-06-28 09:27:26 -04:00
|
|
|
`status`::::
|
|
|
|
(string)
|
|
|
|
The memory usage status. May have one of the following values:
|
|
|
|
+
|
|
|
|
--
|
|
|
|
* `ok`: usage stayed below the limit.
|
|
|
|
* `hard_limit`: usage surpassed the configured memory limit.
|
|
|
|
--
|
|
|
|
|
|
|
|
`timestamp`::::
|
2020-04-22 13:58:26 -04:00
|
|
|
(date)
|
|
|
|
The timestamp when memory usage was calculated.
|
|
|
|
=====
|
|
|
|
|
|
|
|
`node`:::
|
|
|
|
(object)
|
|
|
|
Contains properties for the node that runs the job. This information is
|
|
|
|
available only for running jobs.
|
|
|
|
+
|
|
|
|
.Properties of `node`
|
|
|
|
[%collapsible%open]
|
|
|
|
=====
|
|
|
|
`attributes`:::
|
|
|
|
(object)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=node-attributes]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`ephemeral_id`:::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=node-ephemeral-id]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`id`:::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=node-id]
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`name`:::
|
|
|
|
(string)
|
|
|
|
The node name.
|
|
|
|
|
|
|
|
`transport_address`:::
|
|
|
|
(string)
|
2020-06-01 16:46:15 -04:00
|
|
|
include::{es-repo-dir}/ml/ml-shared.asciidoc[tag=node-transport-address]
|
2020-04-22 13:58:26 -04:00
|
|
|
=====
|
|
|
|
|
|
|
|
`progress`:::
|
|
|
|
(array) The progress report of the {dfanalytics-job} by phase.
|
|
|
|
+
|
|
|
|
.Properties of phase objects
|
|
|
|
[%collapsible%open]
|
|
|
|
=====
|
|
|
|
`phase`:::
|
|
|
|
(string) Defines the phase of the {dfanalytics-job}. Possible phases:
|
2020-05-11 03:22:30 -04:00
|
|
|
* `reindexing`,
|
|
|
|
* `loading_data`,
|
|
|
|
* `computing_outliers` (for {oldetection} only),
|
|
|
|
* `feature_selection` (for {regression} and {classification} only),
|
|
|
|
* `coarse_parameter_search` (for {regression} and {classification} only),
|
|
|
|
* `fine_tuning_parameters` (for {regression} and {classification} only),
|
|
|
|
* `final_training` (for {regression} and {classification} only),
|
2020-08-05 10:22:21 -04:00
|
|
|
* `writing_results`,
|
|
|
|
* `inference` (for {regression} and {classification} only).
|
2020-05-11 03:22:30 -04:00
|
|
|
+
|
|
|
|
To learn more about the different phases, refer to
|
|
|
|
{ml-docs}/ml-dfa-phases.html[How a {dfanalytics} job works].
|
2020-04-22 13:58:26 -04:00
|
|
|
|
|
|
|
`progress_percent`:::
|
|
|
|
(integer) The progress that the {dfanalytics-job} has made expressed in
|
|
|
|
percentage.
|
|
|
|
=====
|
|
|
|
|
|
|
|
`state`:::
|
|
|
|
(string) The status of the {dfanalytics-job}, which can be one of the following
|
|
|
|
values: `analyzing`, `failed`, `reindexing`, `started`, `starting`, `stopped`,
|
|
|
|
`stopping`.
|
|
|
|
====
|
|
|
|
//End of data_frame_analytics
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2019-07-26 05:39:59 -04:00
|
|
|
[[ml-get-dfanalytics-stats-response-codes]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-response-codes-title}
|
2019-07-26 05:39:59 -04:00
|
|
|
|
|
|
|
`404` (Missing resources)::
|
|
|
|
If `allow_no_match` is `false`, this code indicates that there are no
|
|
|
|
resources that match the request or only partial matches for the request.
|
|
|
|
|
2019-09-06 09:17:18 -04:00
|
|
|
|
2019-07-05 07:34:05 -04:00
|
|
|
[[ml-get-dfanalytics-stats-example]]
|
2020-07-20 16:06:29 -04:00
|
|
|
== {api-examples-title}
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2020-04-22 13:58:26 -04:00
|
|
|
The following API retrieves usage information for the
|
|
|
|
{ml-docs}/ecommerce-outliers.html[{oldetection} {dfanalytics-job} example]:
|
|
|
|
|
2019-09-09 12:35:50 -04:00
|
|
|
[source,console]
|
2019-07-05 07:34:05 -04:00
|
|
|
--------------------------------------------------
|
2020-04-22 13:58:26 -04:00
|
|
|
GET _ml/data_frame/analytics/ecommerce/_stats
|
2019-07-05 07:34:05 -04:00
|
|
|
--------------------------------------------------
|
2020-04-22 13:58:26 -04:00
|
|
|
// TEST[skip:Kibana sample data]
|
2019-07-05 07:34:05 -04:00
|
|
|
|
2019-09-06 09:17:18 -04:00
|
|
|
|
2019-07-05 07:34:05 -04:00
|
|
|
The API returns the following results:
|
|
|
|
|
2019-09-06 09:22:08 -04:00
|
|
|
[source,console-result]
|
2019-07-05 07:34:05 -04:00
|
|
|
----
|
|
|
|
{
|
2020-04-22 13:58:26 -04:00
|
|
|
"count" : 1,
|
|
|
|
"data_frame_analytics" : [
|
|
|
|
{
|
|
|
|
"id" : "ecommerce",
|
|
|
|
"state" : "stopped",
|
|
|
|
"progress" : [
|
2019-07-05 07:34:05 -04:00
|
|
|
{
|
2020-04-22 13:58:26 -04:00
|
|
|
"phase" : "reindexing",
|
|
|
|
"progress_percent" : 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"phase" : "loading_data",
|
|
|
|
"progress_percent" : 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"phase" : "analyzing",
|
|
|
|
"progress_percent" : 100
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"phase" : "writing_results",
|
|
|
|
"progress_percent" : 100
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"data_counts" : {
|
|
|
|
"training_docs_count" : 3321,
|
|
|
|
"test_docs_count" : 0,
|
|
|
|
"skipped_docs_count" : 0
|
|
|
|
},
|
|
|
|
"memory_usage" : {
|
|
|
|
"timestamp" : 1586905058000,
|
|
|
|
"peak_usage_bytes" : 279484
|
|
|
|
},
|
|
|
|
"analysis_stats" : {
|
|
|
|
"outlier_detection_stats" : {
|
|
|
|
"timestamp" : 1586905058000,
|
|
|
|
"parameters" : {
|
|
|
|
"n_neighbors" : 0,
|
|
|
|
"method" : "ensemble",
|
|
|
|
"compute_feature_influence" : true,
|
|
|
|
"feature_influence_threshold" : 0.1,
|
|
|
|
"outlier_fraction" : 0.05,
|
|
|
|
"standardization_enabled" : true
|
|
|
|
},
|
|
|
|
"timing_stats" : {
|
|
|
|
"elapsed_time" : 245
|
|
|
|
}
|
2019-07-05 07:34:05 -04:00
|
|
|
}
|
2020-04-22 13:58:26 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
]
|
2019-07-05 07:34:05 -04:00
|
|
|
}
|
|
|
|
----
|