Skip to content

Commit

Permalink
update component yaml
Browse files Browse the repository at this point in the history
Signed-off-by: wmqwxb <[email protected]>
  • Loading branch information
wmqwxb committed Dec 28, 2023
1 parent 4526e69 commit 5dff94d
Show file tree
Hide file tree
Showing 21 changed files with 138 additions and 133 deletions.
2 changes: 1 addition & 1 deletion static/coordinated_linr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: coordinated_linr
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: [ ]
roles:
- guest
Expand Down
2 changes: 1 addition & 1 deletion static/coordinated_lr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: coordinated_lr
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: [ ]
roles:
- guest
Expand Down
2 changes: 1 addition & 1 deletion static/data_split.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: data_split
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: [ ]
roles:
- guest
Expand Down
81 changes: 37 additions & 44 deletions static/dataframe_transformer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,67 +2,43 @@ component:
name: dataframe_transformer
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: []
roles:
- local
- guest
- host
parameters:
namespace:
type: parameter_namespace
type: str
default:
optional: true
description: ''
type_meta:
title: parameter_namespace
type: object
properties:
data:
title: Data
type: string
required:
- data
title: str
type: string
default:
description: ''
name:
type: parameter_name
type: str
default:
optional: true
description: ''
type_meta:
title: parameter_name
type: object
properties:
data:
title: Data
type: string
required:
- data
anonymous_role:
type: parameter_anonymous_role
default:
optional: true
description: ''
type_meta:
title: parameter_anonymous_role
type: object
properties:
data:
title: Data
type: string
required:
- data
anonymous_party_id:
type: parameter_anonymous_party_id
title: str
type: string
default:
description: ''
site_name:
type: str
default:
optional: true
description: ''
type_meta:
title: parameter_anonymous_party_id
type: object
properties:
data:
title: Data
type: string
required:
- data
title: str
type: string
default:
description: ''
input_artifacts:
data:
table:
Expand All @@ -73,6 +49,8 @@ component:
- default
roles:
- local
- guest
- host
description: ''
is_multi: false
model: {}
Expand All @@ -86,8 +64,23 @@ component:
- default
roles:
- local
- guest
- host
description: ''
is_multi: false
model: {}
metric: {}
metric:
metric:
types:
- json_metric
optional: false
stages:
- default
roles:
- local
- guest
- host
description: metric, invisible for user
is_multi: false
schema_version: v1

7 changes: 3 additions & 4 deletions static/evaluation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: evaluation
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: []
roles:
- guest
Expand Down Expand Up @@ -32,8 +32,8 @@ component:
default:
optional: true
description: predict data column name, if None(default), will use 'predict_score'
when use binary and regression default setting, and
use 'predict_result' on multi classification default setting
in the input dataframe when the default setting are binary and regression, and
use 'predict_result' if default setting is multi
type_meta:
title: str
type: string
Expand Down Expand Up @@ -82,4 +82,3 @@ component:
description: metric, invisible for user
is_multi: false
schema_version: v1

2 changes: 1 addition & 1 deletion static/feature_correlation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: feature_correlation
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: [ ]
roles:
- guest
Expand Down
2 changes: 1 addition & 1 deletion static/feature_scale.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: feature_scale
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: []
roles:
- guest
Expand Down
2 changes: 1 addition & 1 deletion static/hetero_feature_binning.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: hetero_feature_binning
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: [ ]
roles:
- guest
Expand Down
2 changes: 1 addition & 1 deletion static/hetero_feature_selection.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: hetero_feature_selection
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: [ ]
roles:
- guest
Expand Down
6 changes: 4 additions & 2 deletions static/hetero_nn.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: hetero_nn
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: []
roles:
- guest
Expand Down Expand Up @@ -53,6 +53,7 @@ component:
train_data:
types:
- dataframe
- data_directory
optional: false
stages:
- train
Expand All @@ -64,6 +65,7 @@ component:
validate_data:
types:
- dataframe
- data_directory
optional: true
stages:
- train
Expand All @@ -75,6 +77,7 @@ component:
test_data:
types:
- dataframe
- data_directory
optional: false
stages:
- predict
Expand Down Expand Up @@ -152,4 +155,3 @@ component:
description: metric, invisible for user
is_multi: false
schema_version: v1

49 changes: 25 additions & 24 deletions static/hetero_sbt.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ component:
name: hetero_secureboost
description: ''
provider: fate
version: 2.0.0-beta
version: 2.0.0
labels: []
roles:
- guest
Expand Down Expand Up @@ -76,21 +76,41 @@ component:
type: bool
default: false
optional: true
description: whether to use goss sampling
description: whether to use goss subsample
type_meta:
title: bool
type: boolean
default: true
description: whether output prediction result per cv fold
goss_start_iter:
type: ConstrainedNumberMeta
default: 0
default: 5
optional: true
description: start iteration of goss sampling
description: start iteration of goss subsample
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
minimum: 0
type: integer
top_rate:
type: ConstrainedNumberMeta
default: 0.2
optional: true
description: top rate of goss subsample
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
exclusiveMaximum: 1
type: number
other_rate:
type: ConstrainedNumberMeta
default: 0.1
optional: true
description: other rate of goss subsample
type_meta:
title: ConstrainedNumberMeta
exclusiveMinimum: 0
exclusiveMaximum: 1
type: number
l1:
type: ConstrainedNumberMeta
default: 0
Expand Down Expand Up @@ -205,24 +225,6 @@ 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:
Expand Down Expand Up @@ -393,4 +395,3 @@ component:
description: metric, invisible for user
is_multi: false
schema_version: v1

Loading

0 comments on commit 5dff94d

Please sign in to comment.