-
Notifications
You must be signed in to change notification settings - Fork 177
/
Copy pathBayesianLinearModelAvro.avsc
48 lines (48 loc) · 1.35 KB
/
BayesianLinearModelAvro.avsc
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
{
"name": "BayesianLinearModelAvro",
"namespace": "com.linkedin.photon.avro.generated",
"type": "record",
"doc": "a generic schema to describe a Bayesian linear model with means and variances",
"fields": [
{
"name": "modelId",
"type": "string"
},
{
"default": null,
"name": "modelClass",
"type": [
"null",
"string"
],
"doc": "The fully-qualified class name of enclosing GLM model class. E.g.: com.linkedin.photon.ml.supervised.classification.LogisticRegressionModel"
},
{
"name": "means",
"type": {
"items": "NameTermValueAvro",
"type": "array"
}
},
{
"default": null,
"name": "variances",
"type" : [
"null",
{
"items" : "NameTermValueAvro",
"type" : "array"
}
]
},
{
"default": null,
"name": "lossFunction",
"type": [
"null",
"string"
],
"doc": "The loss function used for training as the class name. E.g.: com.linkedin.photon.ml.function.LogisticLossFunction"
}
]
}