(self)
return missing_x or bn.anynan(self._Y)
Return `True` if there are any missing attribute or class values.
Return `True` if there are any missing attribute or class values.
Return True if there are any missing attribute or class values .
def has_missing(self):
        """Return `True` if there are any missing attribute or class values."""
        missing_x = not sp.issparse(self.X) and bn.anynan(self.X)  # do not check for sparse X
        return missing_x or bn.anynan(self._Y)
def has_missing ( self ) : missing_x = not sp . issparse ( self . X ) and bn . anynan ( self . X ) # do not check for sparse X return missing_x or bn . anynan ( self . _Y )