Ejemplo n.º 1
0
 def __str__(self):
     samplesstr = 'x'.join(["%s" % x for x in self.shape])
     samplesstr += '@%s' % self.samples.dtype
     cols = [str(col).replace(col.__class__.__name__, label)
             for col, label in [(self.sa, 'sa'),
                                (self.fa, 'fa'),
                                (self.a, 'a')] if len(col)]
     # include only collections that have content
     return _str(self, samplesstr, *cols)
Ejemplo n.º 2
0
 def __str__(self):
     samplesstr = 'x'.join(["%s" % x for x in self.shape])
     samplesstr += '@%s' % self.samples.dtype
     cols = [str(col).replace(col.__class__.__name__, label)
                 for col, label in [(self.sa, 'sa'),
                                    (self.fa, 'fa'),
                                    (self.a, 'a')] if len(col)]
     # include only collections that have content
     return _str(self, samplesstr, *cols)
Ejemplo n.º 3
0
 def __str__(self, *args, **kwargs):
     if __debug__ and 'CLF_' in debug.active:
         return "%s / %s" % (repr(self), super(Classifier, self).__str__())
     else:
         return _str(self, *args, **kwargs)
Ejemplo n.º 4
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in sorted(self.keys())]))
Ejemplo n.º 5
0
 def __str__(self):
     return _str(self, str(self._amount), n=self._attr, count=self.count,
                 apply_selection=self._apply_selection)
Ejemplo n.º 6
0
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]))
Ejemplo n.º 7
0
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
Ejemplo n.º 8
0
 def __str__(self):
     return _str(self, ord=self.params.polyord)
Ejemplo n.º 9
0
 def __str__(self):
     return _str(self, str(self.clf))
Ejemplo n.º 10
0
 def __str__(self):
     return _str(self, ', '.join("%s=%s" % x for x in self._includes))
Ejemplo n.º 11
0
 def __str__(self):
     return _str(self, ord=self.params.polyord)
Ejemplo n.º 12
0
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
Ejemplo n.º 13
0
 def __str__(self):
     return _str(self,
                 self._pattr,
                 n=self.count,
                 limit=self._limit,
                 assure=self._assure_permute)
Ejemplo n.º 14
0
 def __str__(self):
     return _str(self, ord=self.__polyord)
Ejemplo n.º 15
0
 def __str__(self, *args, **kwargs):
     return _str(self, *args, **kwargs)
Ejemplo n.º 16
0
 def __str__(self):
     return _str(self,
                 str(self._amount),
                 n=self._attr,
                 count=self.count,
                 apply_selection=self._apply_selection)
Ejemplo n.º 17
0
 def __str__(self):
     return _str(self, ', '.join("%s=%s" % x for x in self._includes))
Ejemplo n.º 18
0
Archivo: base.py Proyecto: jgors/PyMVPA
 def __str__(self):
     return _str(self, str(self.nruns))
Ejemplo n.º 19
0
 def __str__(self):
     return _str(self, str(self.count))
Ejemplo n.º 20
0
 def __str__(self):
     return _str(self, str(self.count))
Ejemplo n.º 21
0
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
Ejemplo n.º 22
0
Archivo: node.py Proyecto: jgors/PyMVPA
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]))
Ejemplo n.º 23
0
 def __str__(self):
     return _str(self, str(self.clf))
Ejemplo n.º 24
0
 def __str__(self):
     # with slicearg it can quickly get very unreadable
     #return _str(self, str(self._slicearg))
     return _str(self)
Ejemplo n.º 25
0
 def __str__(self):
     # with slicearg it can quickly get very unreadable
     #return _str(self, str(self._slicearg))
     return _str(self)
Ejemplo n.º 26
0
Archivo: fx.py Proyecto: schoeke/PyMVPA
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
Ejemplo n.º 27
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
Ejemplo n.º 28
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in sorted(self.keys())]))
Ejemplo n.º 29
0
 def __str__(self, *args, **kwargs):
     return _str(self, *args, **kwargs)
Ejemplo n.º 30
0
 def __str__(self, *args, **kwargs):
     if __debug__ and 'CLF_' in debug.active:
         return "%s / %s" % (repr(self), super(Classifier, self).__str__())
     else:
         return _str(self, *args, **kwargs)
Ejemplo n.º 31
0
	def _str_(self):
		return _str(self)
Ejemplo n.º 32
0
 def __str__(self):
     return _str(self)
Ejemplo n.º 33
0
 def __str__(self):
     return _str(self, self._pattr, n=self.count, limit=self._limit,
                 assure=self._assure_permute)
Ejemplo n.º 34
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
Ejemplo n.º 35
0
 def __str__(self):
     return _str(self, ord=self.__polyord)