コード例 #1
0
ファイル: dataset.py プロジェクト: B-Rich/PyMVPA
 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)
コード例 #2
0
ファイル: dataset.py プロジェクト: heqing-psychology/PyMVPA
 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)
コード例 #3
0
ファイル: base.py プロジェクト: 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)
コード例 #4
0
ファイル: base.py プロジェクト: B-Rich/PyMVPA
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]).replace('Mapper', ''))
コード例 #5
0
 def __str__(self):
     return _str(self, bl=self.boxlength)
コード例 #6
0
ファイル: collections.py プロジェクト: arokem/PyMVPA
 def __str__(self):
     return _str(self, ','.join([str(k) for k in self.keys()]))
コード例 #7
0
ファイル: fx.py プロジェクト: esc/PyMVPA
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
コード例 #8
0
ファイル: base.py プロジェクト: geeragh/PyMVPA
 def __str__(self):
     mapperlist = "%s" % "-".join([str(m) for m in self])
     return _str(self,
                 mapperlist.replace('Mapper', ''))
コード例 #9
0
ファイル: fx.py プロジェクト: heqing-psychology/PyMVPA
 def __str__(self):
     return _str(self, fx=self.__fx.__name__)
コード例 #10
0
ファイル: detrend.py プロジェクト: arokem/PyMVPA
 def __str__(self):
     return _str(self, ord=self.__polyord)
コード例 #11
0
 def __str__(self):
     return _str(self)
コード例 #12
0
ファイル: slicing.py プロジェクト: esc/PyMVPA
 def __str__(self):
     # with slicearg it can quickly get very unreadable
     #return _str(self, str(self._slicearg))
     return _str(self)
コード例 #13
0
ファイル: resampling.py プロジェクト: esc/PyMVPA
 def __str__(self):
     return _str(self, self._amount, n=self._attr, count=self.nruns,
                 apply_selection=self._apply_selection)
コード例 #14
0
ファイル: filter.py プロジェクト: geeragh/PyMVPA
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
コード例 #15
0
ファイル: boxcar.py プロジェクト: B-Rich/PyMVPA
 def __str__(self):
     return _str(self, bl=self.boxlength)
コード例 #16
0
ファイル: node.py プロジェクト: esc/PyMVPA
 def __str__(self):
     return _str(self, '-'.join([str(n) for n in self]))
コード例 #17
0
ファイル: filters.py プロジェクト: heqing-psychology/PyMVPA
 def __str__(self):
     return _str(self, chunks_attr=self.__chunks_attr)
コード例 #18
0
ファイル: permutation.py プロジェクト: B-Rich/PyMVPA
 def __str__(self):
     return _str(self, self._pattr, n=self.nruns, limit=self._limit,
                 assure=self._assure_permute)
コード例 #19
0
 def __str__(self):
     return _str(self, ','.join([str(k) for k in self.keys()]))
コード例 #20
0
ファイル: flatten.py プロジェクト: B-Rich/PyMVPA
 def __str__(self):
     return _str(self)
コード例 #21
0
ファイル: base.py プロジェクト: esc/PyMVPA
 def __str__(self):
     return _str(self, ', '.join("%s=%s" % x for x in self._includes))
コード例 #22
0
ファイル: base.py プロジェクト: B-Rich/PyMVPA
 def __str__(self):
     return _str(self, str(self.clf))
コード例 #23
0
ファイル: base.py プロジェクト: esc/PyMVPA
 def __str__(self):
     return _str(self, self.count)
コード例 #24
0
ファイル: detrend.py プロジェクト: heqing-psychology/PyMVPA
 def __str__(self):
     return _str(self, ord=self.__polyord)
コード例 #25
0
 def __str__(self):
     mapperlist = "%s" % "-".join([str(m) for m in self])
     return _str(self, mapperlist.replace('Mapper', ''))