The metadata of the output attributes is created with the following rules.
Context Rule¶
Attribute Name |
Context Name |
Description |
---|---|---|
All the output attributes of this component |
field_path |
List of the superordinate concepts of each output attribute based on the following hierarchical structure of the output attributes: root
├── fabhmemcl
│ ├── assigned_comp_id
│ └── component
│ ├── 0
│ │ ├── predict
│ │ └── score
│ │ ├── *<target_class_0>*
│ │ ├── *<target_class_1>*
│ │ .
│ │ .
│ │ .
│ │
│ ├── 1
│ │ ├── predict
│ │ └── score
│ │ ├── *<target_class_0>*
│ │ ├── *<target_class_1>*
│ │ .
│ │ .
│ │ .
│ .
│ .
│ .
│
└── multiclass_classification
├── actual
├── predict
└── score
├── *<target_class_0>*
├── *<target_class_1>*
.
.
.
|
<component_id>_assigned_comp_id |
active_comp_ids |
List of component IDs corresponding to each prediction formula. |
Derivation Rule¶
Attribute Name |
Derived From |
---|---|
<component_id>_actual |
Derived from the target attribute. |
<component_id>_predict |
Derived from the attributes which have non-zero coefficients in any prediction formula. |
<component_id>_score_<target_class> |
Derived from the attributes which have non-zero coefficients in any prediction formula. |
<component_id>_assigned_comp_id |
Derived from the attributes used in the gating functions. |
<component_id>_predict_c<hme_comp_id> |
Derived from the attributes which have non-zero coefficients in the prediction formula of component ID, <hme_comp_id>. |
<component_id>_score_c<hme_comp_id>_<target_class> |
Derived from the attributes which have non-zero coefficients in the prediction formula of component ID, <hme_comp_id>. |
Example¶
{
"nodes": [
{"aid": "_sid", "name": "_sid", ... },
{"aid": "dl1[0]", "name": "sepal_length_in_cm", ... },
{"aid": "dl1[1]", "name": "sepal_width_in_cm", ... },
{"aid": "dl1[2]", "name": "petal_length_in_cm", ... },
{"aid": "dl1[3]", "name": "petal_width_in_cm", ... },
{"aid": "dl1[4]", "name": "class", ... },
{"aid": "fab1[0]", "name": "fab1_actual", "scale": "nominal", "is_excluded": false,
"cid": "fab1", "cindex": 0, "is_kept": false,
"values": ["Iris-setosa", "Iris-versicolor", "Iris-virginica"],
"context": {
"field_path": ["multiclass_classification", "actual"]
},
},
{"aid": "fab1[1]", "name": "fab1_predict", "scale": "nominal", "is_excluded": false,
"cid": "fab1", "cindex": 1, "is_kept": false,
"values": ["Iris-setosa", "Iris-versicolor", "Iris-virginica"],
"context": {
"field_path": ["multiclass_classification", "predict"]
}
},
{"aid": "fab1[2]", "name": "fab1_score_Iris-setosa", "scale": "real", "is_excluded": false,
"cid": "fab1", "cindex": 2, "values": null, "is_kept": false,
"context": {
"field_path": ["multiclass_classification", "score", "Iris-setosa"]
}
},
{"aid": "fab1[3]", "name": "fab1_score_Iris-versicolor", "scale": "real", "is_excluded": false,
"cid": "fab1", "cindex": 3, "values": null, "is_kept": false,
"context": {
"field_path": ["multiclass_classification", "score", "Iris-versicolor"]
}
},
{"aid": "fab1[4]", "name": "fab1_score_Iris-virginica", "scale": "real", "is_excluded": false,
"cid": "fab1", "cindex": 4, "values": null, "is_kept": false,
"context": {
"field_path": ["multiclass_classification", "score", "Iris-virginica"]
}
},
{"aid": "fab1[5]", "name": "fab1_assigned_comp_id", "scale": "integer",
"is_excluded": false, "cid": "fab1", "cindex": 5, "values": null, "is_kept": false,
"context": {
"active_comp_ids": [7, 13, 17, 19, 22], "field_path": ["fabhmemcl", "assigned_comp_id"]
}
},
{"aid": "fab1[6]", "name": "fab1_predict_c7", "scale": "nominal", "is_excluded": false,
"cid": "fab1", "cindex": 6, "is_kept": false,
"values": ["Iris-setosa", "Iris-versicolor", "Iris-virginica"],
"context": {
"field_path": ["fabhmemcl", "component", 7, "predict"]}
}
},
{"aid": "fab1[7]", "name": "fab1_score_c7_Iris-setosa", "scale": "real", "is_excluded": false,
"cid": "fab1", "cindex": 7, "values": null, "is_kept": false,
"context": {
"field_path": ["fabhmemcl", "component", 7, "score", "Iris-setosa"]
}
},
{"aid": "fab1[8]", "name": "fab1_score_c7_Iris-versicolor", "scale": "real", "is_excluded": false,
"cid": "fab1", "cindex": 8, "values": null, "is_kept": false,
"context": {
"field_path": ["fabhmemcl", "component", 7, "score", "Iris-versicolor"]
}
},
{"aid": "fab1[9]", "name": "fab1_score_c7_Iris-virginica", "scale": "real", "is_excluded": false,
"cid": "fab1", "cindex": 9, "values": null, "is_kept": false,
"context": {
"field_path": ["fabhmemcl", "component", 8, "score", "Iris-virginica"]
}
},
...
],
"links": [
{"source": "dl1[1]", "target": "fab1[2]"},
{"source": "dl1[1]", "target": "fab1[1]"},
{"source": "dl1[1]", "target": "fab1[3]"},
{"source": "dl1[0]", "target": "fab1[5]"},
{"source": "dl1[0]", "target": "fab1[12]"},
{"source": "dl1[0]", "target": "fab1[4]"},
{"source": "dl1[0]", "target": "fab1[8]"},
{"source": "dl1[0]", "target": "fab1[2]"},
{"source": "dl1[0]", "target": "fab1[9]"},
{"source": "dl1[0]", "target": "fab1[3]"},
{"source": "dl1[0]", "target": "fab1[6]"},
{"source": "dl1[0]", "target": "fab1[13]"},
{"source": "dl1[0]", "target": "fab1[7]"},
{"source": "dl1[0]", "target": "fab1[10]"},
{"source": "dl1[0]", "target": "fab1[1]"},
{"source": "dl1[0]", "target": "fab1[11]"},
{"source": "dl1[2]", "target": "fab1[2]"},
{"source": "dl1[2]", "target": "fab1[1]"},
{"source": "dl1[2]", "target": "fab1[3]"},
{"source": "dl1[3]", "target": "fab1[2]"},
{"source": "dl1[3]", "target": "fab1[1]"},
{"source": "dl1[3]", "target": "fab1[3]"},
{"source": "dl1[4]", "target": "fab1[0]"}
]
}
See also
Attribute metadata file format in Attribute Metadata File Specification