Browse Source

Merge pull request '合并' (#245) from dev-zw into dev-check

pull/268/head
cp3hnu 8 months ago
parent
commit
7715ee272d
1 changed files with 9 additions and 3 deletions
  1. +9
    -3
      react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfig.tsx

+ 9
- 3
react-ui/src/pages/AutoML/components/CreateForm/ExecuteConfig.tsx View File

@@ -30,7 +30,13 @@ const classificationAlgorithms = [
'LightGBMClassification',
'XGBoostClassification',
'StackingClassification',
].map((name) => ({ label: name, value: name }));
].map((name) => {
if (name === 'mlp') {
return { label: 'tablenet', value: name };
} else {
return { label: name, value: name };
}
});

// 回归算法
const regressorAlgorithms = [
@@ -280,9 +286,9 @@ function ExecuteConfig() {
<Form.Item
label="集成模型数量"
name="ensemble_size"
tooltip="集成模型数量,如果设置为0,则没有集成。默认50"
tooltip="集成模型数量,必须是大于等于1的整数,默认50"
>
<InputNumber placeholder="请输入集成模型数量" min={0} precision={0} />
<InputNumber placeholder="请输入集成模型数量" min={1} precision={0} />
</Form.Item>
</Col>
</Row>


Loading…
Cancel
Save