(self)
return (
            getattr(self.get_learner(self.CLASSIFICATION), 'supports_weights', False) and
            getattr(self.get_learner(self.REGRESSION), 'supports_weights', False)
        )
The fitter supports weights if both the classification and
        regression learners support weights.
The fitter supports weights if both the classification and
        regression learners support weights.
The fitter supports weights if both the classification and regression learners support weights .
def supports_weights(self):
        """The fitter supports weights if both the classification and
        regression learners support weights."""
        return (
            getattr(self.get_learner(self.CLASSIFICATION), 'supports_weights', False) and
            getattr(self.get_learner(self.REGRESSION), 'supports_weights', False)
        )
def supports_weights ( self ) : return ( getattr ( self . get_learner ( self . CLASSIFICATION ) , 'supports_weights' , False ) and getattr ( self . get_learner ( self . REGRESSION ) , 'supports_weights' , False ) )