forked from feathr-ai/feathr
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathfeathr.conf
More file actions
60 lines (54 loc) · 1.01 KB
/
Copy pathfeathr.conf
File metadata and controls
60 lines (54 loc) · 1.01 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
sources: {
ptSource: {
type: "PASSTHROUGH"
}
}
anchors: {
anchor1: {
source: "src/test/generated/mockData/a_feature_data"
key: "IdInFeatureData"
features: {
aa: {
def: "a"
default: 2
type: "CATEGORICAL"
}
bb: {
def: "b"
default: 3
type: "NUMERIC"
}
cc: {
def: "a"
default: 4
type: "NUMERIC"
}
dd: {
def: "c"
type: "DENSE_VECTOR"
}
ee: {
def: "c"
type: "DENSE_VECTOR"
default: [7,8,9]
}
ff: {
def: "c"
default: [6,7]
}
}
}
anchor2: {
source: "src/test/generated/mockData/a_feature_data"
extractor: "com.linkedin.feathr.offline.anchored.anchorExtractor.TestxFeatureDataExtractor"
features: [ z ]
}
}
derivations: {
multiply_a_b: "toNumeric(aa) * toNumeric(bb)"
categorical_b: {
key: [foo]
inputs: { foo_b: { key: foo, feature: bb } }
definition: "toCategorical(foo_b)"
}
}