(self, data)
return sorted(probs, key = lambda x:x[0] , reverse = True)[0]
对输入数据进行预测
            params:
                data
            return 
                label 数据标记
            raise
                None
对输入数据进行预测
            params:
                data
            return 
                label 数据标记
            raise
                None
对输入数据进行预测 params : data return label 数据标记 raise None
def predict(self, data):
        """对输入数据进行预测
            params:
                data
            return 
                label 数据标记
            raise
                None
        """
        probs = [( self._predict(data , label),label ) for label in self.label_status.keys() ]
        return sorted(probs, key = lambda x:x[0] , reverse = True)[0]
def predict ( self , data ) : probs = [ ( self . _predict ( data , label ) , label ) for label in self . label_status . keys ( ) ] return sorted ( probs , key = lambda x : x [ 0 ] , reverse = True ) [ 0 ]