classification/decision.py
def str_apply(self, value: float) -> str:
        """
        See whether the condition of this node holds for the value, and print the result.
        """
        passed = self.apply(value)
        if passed:
            return None
        else:
            return "The {} of the sample is not {}; it's {}.".\
                format(self.feature_str(), self.signstr(), value)

        See whether the condition of this node holds for the value, and print the result.
        
See whether the condition of this node holds for the value, and print the result.
See whether the condition of this node holds for the value and print the result .
def str_apply(self, value: float) -> str:
        passed = self.apply(value)
        if passed:
            return None
        else:
            return "The {} of the sample is not {}; it's {}.".\
                format(self.feature_str(), self.signstr(), value)
def str_apply ( self , value : float ) -> str : passed = self . apply ( value ) if passed : return None else : return "The {} of the sample is not {}; it's {}." . format ( self . feature_str ( ) , self . signstr ( ) , value )
See whether the condition of this node holds for the value, and print the result.
See whether the condition of this node holds for the value and print the result .
"""
        See whether the condition of this node holds for the value, and print the result.
        """
self
value
float