Skip to content

Commit

Permalink
update yaml
Browse files Browse the repository at this point in the history
Signed-off-by: wmqwxb <[email protected]>
  • Loading branch information
wmqwxb committed Dec 19, 2023
1 parent e84af00 commit f5ccba9
Show file tree
Hide file tree
Showing 3 changed files with 331 additions and 5 deletions.
61 changes: 61 additions & 0 deletions static/download.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
component:
name: download
description: ''
provider: fate_flow
version: 2.0.0
labels: []
roles:
- guest
- host
- local
parameters:
name:
type: str
default:
optional: false
description: ''
type_meta:
title: str
type: string
default:
description: ''
namespace:
type: str
default:
optional: false
description: ''
type_meta:
title: str
type: string
default:
description: ''
path:
type: str
default:
optional: false
description: ''
type_meta:
title: str
type: string
default:
description: ''
input_artifacts:
data: {}
model: {}
output_artifacts:
data: {}
model: {}
metric:
metric:
types:
- json_metric
optional: false
stages:
- default
roles:
- guest
- host
- local
description: metric, invisible for user
is_multi: false
schema_version: v1
132 changes: 127 additions & 5 deletions static/hetero_secureboost.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
component:
name: hetero_sbt
name: hetero_secureboost
description: ''
provider: fate
version: 2.0.0-beta
Expand Down Expand Up @@ -35,6 +35,16 @@ component:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
type: integer
complete_secure:
type: ConstrainedNumberMeta
default: 0
optional: true
description: number of trees to use guest features only in the complete secure
mode, 0 means no complete secure
type_meta:
title: ConstrainedNumberMeta
minimum: 0
type: integer
max_bin:
type: ConstrainedNumberMeta
default: 32
Expand Down Expand Up @@ -62,14 +72,42 @@ component:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
type: integer
goss:
type: bool
default: false
optional: true
description: whether to use goss sampling
type_meta:
title: bool
type: boolean
default: true
description: whether output prediction result per cv fold
goss_start_iter:
type: ConstrainedNumberMeta
default: 0
optional: true
description: start iteration of goss sampling
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
type: integer
l1:
type: ConstrainedNumberMeta
default: 0
optional: true
description: L1 regularization
type_meta:
title: ConstrainedNumberMeta
minimum: 0
type: number
l2:
type: ConstrainedNumberMeta
default: 0.1
optional: true
description: L2 regularization
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
minimum: 0
type: number
min_impurity_split:
type: ConstrainedNumberMeta
Expand Down Expand Up @@ -116,7 +154,7 @@ component:
title: bool
type: boolean
default: true
description: whether to use histogram subtraction
description: whether output prediction result per cv fold
split_info_pack:
type: bool
default: true
Expand All @@ -126,7 +164,7 @@ component:
title: bool
type: boolean
default: true
description: whether to use histogram subtraction
description: whether output prediction result per cv fold
hist_sub:
type: bool
default: true
Expand All @@ -136,7 +174,7 @@ component:
title: bool
type: boolean
default: true
description: whether to use histogram subtraction
description: whether output prediction result per cv fold
he_param:
type: HEParam
default:
Expand Down Expand Up @@ -167,6 +205,68 @@ component:
key_length: 1024
description: homomorphic encryption param, support paillier, ou and mock in
current version
top_rate:
type: ConstrainedNumberMeta
default: 0.2
optional: true
description: top rate of goss sampling
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
type: number
other_rate:
type: ConstrainedNumberMeta
default: 0.1
optional: true
description: other rate of goss sampling
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
type: number
cv_param:
type: CVParam
default:
n_splits: 5
shuffle: false
random_state:
optional: true
description: cross validation param
type_meta:
title: CVParam
$ref: '#/definitions/abc__CVParam'
definitions:
abc__CVParam:
title: CVParam
type: object
properties:
n_splits:
title: N Splits
exclusiveMinimum: 1
type: integer
shuffle:
title: Shuffle
default: false
type: boolean
random_state:
title: Random State
type: integer
required:
- n_splits
default:
n_splits: 5
shuffle: false
random_state:
description: cross validation param
output_cv_data:
type: bool
default: true
optional: true
description: whether output prediction result per cv fold
type_meta:
title: bool
type: boolean
default: true
description: whether output prediction result per cv fold
input_artifacts:
data:
train_data:
Expand Down Expand Up @@ -202,6 +302,17 @@ component:
- host
description: ''
is_multi: false
cv_data:
types:
- dataframe
optional: false
stages:
- cross_validation
roles:
- guest
- host
description: ''
is_multi: false
model:
train_model_input:
types:
Expand Down Expand Up @@ -249,6 +360,17 @@ component:
- host
description: ''
is_multi: false
cv_output_datas:
types:
- dataframe
optional: true
stages:
- cross_validation
roles:
- guest
- host
description: ''
is_multi: true
model:
train_model_output:
types:
Expand Down
Loading

0 comments on commit f5ccba9

Please sign in to comment.