[ML] DF Analytics: UI improvements (#71949)
* make hyper parameters one word * update analytics job types help text * update job type text * ensure long description has word break to prevent overflow
This commit is contained in:
parent
46eba14669
commit
acf0617762
|
@ -249,7 +249,7 @@ export const AdvancedStepDetails: FC<{ setCurrentStep: any; state: State }> = ({
|
|||
<EuiTitle size="xs">
|
||||
<h3>
|
||||
{i18n.translate('xpack.ml.dataframe.analytics.create.hyperParametersDetailsTitle', {
|
||||
defaultMessage: 'Hyper parameters',
|
||||
defaultMessage: 'Hyperparameters',
|
||||
})}
|
||||
</h3>
|
||||
</EuiTitle>
|
||||
|
|
|
@ -408,7 +408,7 @@ export const AdvancedStepForm: FC<CreateAnalyticsStepProps> = ({
|
|||
<EuiTitle size="xs">
|
||||
<h3>
|
||||
{i18n.translate('xpack.ml.dataframe.analytics.create.hyperParametersSectionTitle', {
|
||||
defaultMessage: 'Hyper parameters',
|
||||
defaultMessage: 'Hyperparameters',
|
||||
})}
|
||||
</h3>
|
||||
</EuiTitle>
|
||||
|
|
|
@ -21,24 +21,21 @@ export const JobType: FC<Props> = ({ type, setFormState }) => {
|
|||
const outlierHelpText = i18n.translate(
|
||||
'xpack.ml.dataframe.analytics.create.outlierDetectionHelpText',
|
||||
{
|
||||
defaultMessage:
|
||||
'Outlier detection jobs require a source index that is mapped as a table-like data structure and analyze only numeric and boolean fields. Use the advanced editor to add custom options to the configuration.',
|
||||
defaultMessage: 'Outlier detection identifies unusual data points in the data set.',
|
||||
}
|
||||
);
|
||||
|
||||
const regressionHelpText = i18n.translate(
|
||||
'xpack.ml.dataframe.analytics.create.outlierRegressionHelpText',
|
||||
{
|
||||
defaultMessage:
|
||||
'Regression jobs analyze only numeric fields. Use the advanced editor to apply custom options, such as the prediction field name.',
|
||||
defaultMessage: 'Regression predicts numerical values in the data set.',
|
||||
}
|
||||
);
|
||||
|
||||
const classificationHelpText = i18n.translate(
|
||||
'xpack.ml.dataframe.analytics.create.classificationHelpText',
|
||||
{
|
||||
defaultMessage:
|
||||
'Classification jobs require a source index that is mapped as a table-like data structure and support fields that are numeric, boolean, text, keyword, or ip. Use the advanced editor to apply custom options, such as the prediction field name.',
|
||||
defaultMessage: 'Classification predicts labels of data points in the data set.',
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
@ -75,7 +75,11 @@ export const DetailsStepDetails: FC<{ setCurrentStep: any; state: State }> = ({
|
|||
<EuiDescriptionList compressed listItems={detailsFirstCol} />
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiDescriptionList compressed listItems={detailsSecondCol} />
|
||||
<EuiDescriptionList
|
||||
style={{ wordBreak: 'break-word' }}
|
||||
compressed
|
||||
listItems={detailsSecondCol}
|
||||
/>
|
||||
</EuiFlexItem>
|
||||
<EuiFlexItem grow={false}>
|
||||
<EuiDescriptionList compressed listItems={detailsThirdCol} />
|
||||
|
|
Loading…
Reference in a new issue