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