From ead6eee35f808fb25746ccd96a43f32c76acbd4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Istv=C3=A1n=20Zolt=C3=A1n=20Szab=C3=B3?= Date: Thu, 4 Mar 2021 11:31:57 +0100 Subject: [PATCH] Reviews data frame analytics UI text (#93033) (#93562) Co-authored-by: Lisa Cawley --- .../components/advanced_step/advanced_step_form.tsx | 2 +- .../components/advanced_step/outlier_hyper_parameters.tsx | 6 +++--- .../configuration_step/configuration_step_form.tsx | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx index 71770dcf952d9..21243351dab7d 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/advanced_step_form.tsx @@ -560,7 +560,7 @@ export const AdvancedStepForm: FC = ({ })} helpText={i18n.translate('xpack.ml.dataframe.analytics.create.maxNumThreadsHelpText', { defaultMessage: - 'The maximum number of threads to be used by the analysis. The default value is 1', + 'The maximum number of threads to be used by the analysis. The default value is 1.', })} isInvalid={maxNumThreads === 0} error={ diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx index d591c8c602753..d347a8147469d 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/advanced_step/outlier_hyper_parameters.tsx @@ -30,7 +30,7 @@ export const OutlierHyperParameters: FC = ({ actions, state, advancedPara })} helpText={i18n.translate('xpack.ml.dataframe.analytics.create.methodHelpText', { defaultMessage: - 'Sets the method that outlier detection uses. If not set, uses an ensemble of different methods and normalises and combines their individual outlier scores to obtain the overall outlier score. We recommend to use the ensemble method', + 'Sets the method that outlier detection uses. If not set, uses an ensemble of different methods, normalizes and combines their individual outlier scores to obtain the overall outlier score. It is recommended to use the ensemble method.', })} isInvalid={advancedParamErrors[ANALYSIS_ADVANCED_FIELDS.METHOD] !== undefined} error={advancedParamErrors[ANALYSIS_ADVANCED_FIELDS.METHOD]} @@ -56,7 +56,7 @@ export const OutlierHyperParameters: FC = ({ actions, state, advancedPara })} helpText={i18n.translate('xpack.ml.dataframe.analytics.create.nNeighborsHelpText', { defaultMessage: - 'The value for how many nearest neighbors each method of outlier detection will use to calculate its outlier score. When not set, different values will be used for different ensemble members. Must be a positive integer', + 'The value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score. When not set, different values are used for different ensemble members. Must be a positive integer.', })} isInvalid={advancedParamErrors[ANALYSIS_ADVANCED_FIELDS.N_NEIGHBORS] !== undefined} error={advancedParamErrors[ANALYSIS_ADVANCED_FIELDS.N_NEIGHBORS]} @@ -66,7 +66,7 @@ export const OutlierHyperParameters: FC = ({ actions, state, advancedPara 'xpack.ml.dataframe.analytics.create.nNeighborsInputAriaLabel', { defaultMessage: - 'The value for how many nearest neighbors each method of outlier detection will use to calculate its outlier score.', + 'The value for how many nearest neighbors each method of outlier detection uses to calculate its outlier score.', } )} data-test-subj="mlAnalyticsCreateJobWizardnNeighborsInput" diff --git a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx index aa008192bbce0..206fb511a4d25 100644 --- a/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx +++ b/x-pack/plugins/ml/public/application/data_frame_analytics/pages/analytics_creation/components/configuration_step/configuration_step_form.tsx @@ -539,7 +539,7 @@ export const ConfigurationStepForm: FC = ({ 'xpack.ml.dataframe.analytics.create.scatterplotMatrixLabelHelpText', { defaultMessage: - 'Visualizes the relationships between pairs of selected included fields', + 'Visualizes the relationships between pairs of selected included fields.', } )} fullWidth