(self, attributes, matrix)
return attributes[mask], matrix[:, mask]
Filter out variables which shouldn't be visualized.
Filter out variables which shouldn't be visualized.
Filter out variables which shouldn t be visualized .
def __filter_attributes(self, attributes, matrix):
        """Filter out variables which shouldn't be visualized."""
        attributes, matrix = np.asarray(attributes), matrix
        mask = [idx for idx, attr in enumerate(attributes)
                if not isinstance(attr, self.HIDDEN_VAR_TYPES)]
        return attributes[mask], matrix[:, mask]
def __filter_attributes ( self , attributes , matrix ) : attributes , matrix = np . asarray ( attributes ) , matrix mask = [ idx for idx , attr in enumerate ( attributes ) if not isinstance ( attr , self . HIDDEN_VAR_TYPES ) ] return attributes [ mask ] , matrix [ : , mask ]