Esempio n. 1
0
 def __repr__(self):
     """String representation of `SKLLearnerWrapper`
     """
     return Classifier.__repr__(
         self,
         prefixes=[repr(self._learner),
                   'kwargs=%r' % (self._kwargs, )])
Esempio n. 2
0
 def __repr__(self):
     """String representation of `SKLLearnerWrapper`
     """
     prefixes = [repr(self._skl_learner)]
     if self.__tags__ != ['skl']:
         prefixes += ['tags=%r' % [t for t in self.__tags__ if t != 'skl']]
     prefixes += _repr_attrs(self, ['enforce_dim'])
     return Classifier.__repr__(self, prefixes=prefixes)
Esempio n. 3
0
 def __repr__(self):
     """String representation of `SKLLearnerWrapper`
     """
     prefixes = [repr(self._skl_learner)]
     if self.__tags__ != ['skl']:
         prefixes += ['tags=%r' % [t for t in self.__tags__ if t != 'skl']]
     prefixes += _repr_attrs(self, ['enforce_dim'])
     return Classifier.__repr__(self, prefixes=prefixes)
Esempio n. 4
0
 def __repr__(self):
     """String representation of `SKLLearnerWrapper`
     """
     return Classifier.__repr__(self,
         prefixes=[repr(self._learner),
                   'kwargs=%r' % (self._kwargs,)])