Type Alias SimilarityValue

SimilarityValue: {
    attributes: {
        [key: string]: number | SimilarityValue;
    };
    value: number;
}

Datatype for describing the similarity value between a pair of cases. Instead of a single value, this datatype stores the partial local similarity values employed to compute the global one

Type declaration

  • attributes: {
        [key: string]: number | SimilarityValue;
    }

    Local similarity values employed to compute the previous one

  • value: number

    The similarity value, represented as the global similarity