[ML] Adds context sensitive placeholder text to dependent variable on data frame analytics configuration page (#103086)
This commit is contained in:
parent
523cd0fbe5
commit
bcba263f37
3 changed files with 16 additions and 8 deletions
|
@ -598,12 +598,22 @@ export const ConfigurationStepForm: FC<ConfigurationStepProps> = ({
|
|||
defaultMessage: 'Enter field to be used as dependent variable.',
|
||||
}
|
||||
)}
|
||||
placeholder={i18n.translate(
|
||||
'xpack.ml.dataframe.analytics.create.dependentVariablePlaceholder',
|
||||
{
|
||||
defaultMessage: 'dependent variable',
|
||||
}
|
||||
)}
|
||||
placeholder={
|
||||
jobType === ANALYSIS_CONFIG_TYPE.REGRESSION
|
||||
? i18n.translate(
|
||||
'xpack.ml.dataframe.analytics.create.dependentVariableRegressionPlaceholder',
|
||||
{
|
||||
defaultMessage: 'Select the numeric field that you want to predict.',
|
||||
}
|
||||
)
|
||||
: i18n.translate(
|
||||
'xpack.ml.dataframe.analytics.create.dependentVariableClassificationPlaceholder',
|
||||
{
|
||||
defaultMessage:
|
||||
'Select the numeric, categorical, or boolean field that you want to predict.',
|
||||
}
|
||||
)
|
||||
}
|
||||
isDisabled={isJobCreated}
|
||||
isLoading={loadingDepVarOptions}
|
||||
singleSelection={true}
|
||||
|
|
|
@ -13990,7 +13990,6 @@
|
|||
"xpack.ml.dataframe.analytics.create.dependentVariableMaxDistictValuesError": "無効です。 {message}",
|
||||
"xpack.ml.dataframe.analytics.create.dependentVariableOptionsFetchError": "フィールドの取得中にエラーが発生しました。ページを更新して再起動してください。",
|
||||
"xpack.ml.dataframe.analytics.create.dependentVariableOptionsNoNumericalFields": "このインデックスパターンの数値型フィールドが見つかりませんでした。",
|
||||
"xpack.ml.dataframe.analytics.create.dependentVariablePlaceholder": "従属変数",
|
||||
"xpack.ml.dataframe.analytics.create.destinationIndexHelpText": "この名前のインデックスがすでに存在します。この分析ジョブを実行すると、デスティネーションインデックスが変更されます。",
|
||||
"xpack.ml.dataframe.analytics.create.destinationIndexInputAriaLabel": "固有の宛先インデックス名を選択してください。",
|
||||
"xpack.ml.dataframe.analytics.create.destinationIndexInvalidError": "無効なデスティネーションインデックス名。",
|
||||
|
|
|
@ -14172,7 +14172,6 @@
|
|||
"xpack.ml.dataframe.analytics.create.dependentVariableMaxDistictValuesError": "无效。{message}",
|
||||
"xpack.ml.dataframe.analytics.create.dependentVariableOptionsFetchError": "获取字段时出现问题。请刷新页面并重试。",
|
||||
"xpack.ml.dataframe.analytics.create.dependentVariableOptionsNoNumericalFields": "没有为此索引模式找到任何数值类型字段。",
|
||||
"xpack.ml.dataframe.analytics.create.dependentVariablePlaceholder": "因变量",
|
||||
"xpack.ml.dataframe.analytics.create.destinationIndexHelpText": "已存在具有此名称的索引。请注意,运行此分析作业将会修改此目标索引。",
|
||||
"xpack.ml.dataframe.analytics.create.destinationIndexInputAriaLabel": "选择唯一目标索引名称。",
|
||||
"xpack.ml.dataframe.analytics.create.destinationIndexInvalidError": "目标索引名称无效。",
|
||||
|
|
Loading…
Reference in a new issue