Exemple #1
0
    def column_structural_typicality(self, X_L_list, col_id):
        """Returns the typicality (opposite of anomalousness) of given column.

        :param col_id: id of the target col
        :type col_id: int

        :returns: float, the typicality, from 0 to 1
        """
        return su.column_structural_typicality(X_L_list, col_id)
Exemple #2
0
    def column_structural_typicality(self, X_L_list, col_id):
        """
        Returns the typicality (opposite of anomalousness) of the given column.

        :param X_L_list: list of the latent variables associated with the latent state
        :type X_L_list: list of dict
        :param col_id: id of the target col
        :type col_id: int
        :returns: float, the typicality, from 0 to 1
        """
        return su.column_structural_typicality(X_L_list, col_id)