code: def learn(self, *args, **kwargs):
          
  
          warnings.warn("learn is deprecated, {}.fit_predict "
                        "instead".format(self.__class__.__name__))
          return self.fit_predict(*args, **kwargs)
docs: [DEPRECATED] Use 'fit_predict'.