mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-04 21:36:45 +08:00
DOC: Add repr for CustomFactor.
This commit is contained in:
@@ -245,6 +245,9 @@ class CustomTermMixin(object):
|
||||
out[~mask] = nan
|
||||
return out
|
||||
|
||||
def short_repr(self):
|
||||
return type(self).__name__ + '(%d)' % self.window_length
|
||||
|
||||
|
||||
class CompositeTerm(Term):
|
||||
inputs = NotSpecified
|
||||
|
||||
Reference in New Issue
Block a user