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
Archivo: base.py Proyecto: esc/PyMVPA
 def __str__(self):
     if __debug__ and 'CLF_' in debug.active:
         return "%s / %s" % (repr(self), super(Classifier, self).__str__())
     else:
         return _str(self)
Ejemplo n.º 4
0
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]).replace('Mapper', ''))
Ejemplo n.º 5
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
Ejemplo n.º 6
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in self.keys()]))
Ejemplo n.º 7
0
Archivo: fx.py Proyecto: esc/PyMVPA
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
Ejemplo n.º 8
0
 def __str__(self):
     mapperlist = "%s" % "-".join([str(m) for m in self])
     return _str(self,
                 mapperlist.replace('Mapper', ''))
Ejemplo n.º 9
0
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
Ejemplo n.º 10
0
 def __str__(self):
     return _str(self, ord=self.__polyord)
Ejemplo n.º 11
0
 def __str__(self):
     return _str(self)
Ejemplo n.º 12
0
 def __str__(self):
     # with slicearg it can quickly get very unreadable
     #return _str(self, str(self._slicearg))
     return _str(self)
Ejemplo n.º 13
0
 def __str__(self):
     return _str(self, self._amount, n=self._attr, count=self.nruns,
                 apply_selection=self._apply_selection)
Ejemplo n.º 14
0
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
Ejemplo n.º 15
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
Ejemplo n.º 16
0
Archivo: node.py Proyecto: esc/PyMVPA
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]))
Ejemplo n.º 17
0
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
Ejemplo n.º 18
0
 def __str__(self):
     return _str(self, self._pattr, n=self.nruns, limit=self._limit,
                 assure=self._assure_permute)
Ejemplo n.º 19
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in self.keys()]))
Ejemplo n.º 20
0
 def __str__(self):
     return _str(self)
Ejemplo n.º 21
0
Archivo: base.py Proyecto: esc/PyMVPA
 def __str__(self):
     return _str(self, ', '.join("%s=%s" % x for x in self._includes))
Ejemplo n.º 22
0
 def __str__(self):
     return _str(self, str(self.clf))
Ejemplo n.º 23
0
Archivo: base.py Proyecto: esc/PyMVPA
 def __str__(self):
     return _str(self, self.count)
Ejemplo n.º 24
0
 def __str__(self):
     return _str(self, ord=self.__polyord)
Ejemplo n.º 25
0
 def __str__(self):
     mapperlist = "%s" % "-".join([str(m) for m in self])
     return _str(self, mapperlist.replace('Mapper', ''))