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
├── fabhmecl
│   ├── assigned_comp_id
│   └── component
│       ├── 0
│       │   ├── predict
│       │   └── score
│       ├── 1
│       │   ├── predict
│       │   └── score
│        .
│        .
│        .
│
└── binary_classification
    ├── actual
    ├── predict
    └── score

<component_id>_actual, <component_id>_predict, <component_id>_predict_c<hme_comp_id>

positive_map

Mapping between a positive value and a positive label.

<component_id>_actual, <component_id>_predict, <component_id>_predict_c<hme_comp_id>

negative_map

Mapping between a negative value and a negative label.

<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

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>

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": "integer", "is_excluded": false,
         "cid": "fab1", "cindex": 0, "values": null, "is_kept": false,
         "context": {
             "positive_map": {"1": ["Iris-setosa"]},
             "field_path": ["binary_classification", "actual"],
             "negative_map": {"-1": ["Iris-versicolor"]}
         }
        },
        {"aid": "fab1[1]", "name": "fab1_predict", "scale": "integer", "is_excluded": false,
         "cid": "fab1", "cindex": 1, "values": null, "is_kept": false,
         "context": {
             "positive_map": {"1": ["Iris-setosa"]},
             "field_path": ["binary_classification", "predict"],
             "negative_map": {"-1": ["Iris-versicolor"]}
         }
        },
        {"aid": "fab1[2]", "name": "fab1_score", "scale": "real", "is_excluded": false,
         "cid": "fab1", "cindex": 2, "values": null, "is_kept": false,
         "context": {
             "field_path": ["binary_classification", "score"]
         }
        },
        {"aid": "fab1[3]", "name": "fab1_assigned_comp_id", "scale": "integer",
         "is_excluded": false, "cid": "fab1", "cindex": 3, "values": null, "is_kept": false,
         "context": {
             "active_comp_ids": [7, 13, 17, 19, 22], "field_path": ["fabhmecl", "assigned_comp_id"]
         }
        },
        {"aid": "fab1[4]", "name": "fab1_predict_c7", "scale": "integer", "is_excluded": false,
         "cid": "fab1", "cindex": 4, "values": null, "is_kept": false,
         "context": {
             "positive_map": {"1": ["Iris-setosa"]},
             "field_path": ["fabhmecl", "component", 7, "predict"],
             "negative_map": {"-1": ["Iris-versicolor"]}
         }
        },
        {"aid": "fab1[5]", "name": "fab1_score_c7", "scale": "real", "is_excluded": false,
         "cid": "fab1", "cindex": 5, "values": null, "is_kept": false,
         "context": {
             "field_path": ["fabhmecl", "component", 7, "score"]
         }
        },

         ...

     ],
    "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