indicator constant

The tensor is a list of binaries representing whether a feature exists or not (1 indicates existence). InputMetadata.index_feature_mapping must be provided for this encoding. For example:

input = [1, 0, 1, 0, 1]
index_feature_mapping = ["a", "b", "c", "d", "e"]

Implementation

static const indicator = ExplanationMetadata_InputMetadata_Encoding(
  'INDICATOR',
);