Skip to content

Commit

Permalink
add note that fit() does nothing
Browse files Browse the repository at this point in the history
  • Loading branch information
Justin Kiggins committed Nov 20, 2017
1 parent 51d1796 commit dd2b59b
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
7 changes: 7 additions & 0 deletions neuroglia/nwb.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,13 @@ class SpikeTablizer(BaseEstimator,TransformerMixin):
neuroglia.spike.Smoother
neuroglia.spike.Binner
Notes
-----
This estimator is stateless (besides constructor parameters), the
fit method does nothing but is useful when used in a pipeline.
"""
def __init__(self):
pass
Expand Down
13 changes: 13 additions & 0 deletions neuroglia/spike.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,13 @@ class Binner(BaseEstimator,TransformerMixin):
neuroglia.spike.Smoother
neuroglia.nwb.SpikeTablizer
Notes
-----
This estimator is stateless (besides constructor parameters), the
fit method does nothing but is useful when used in a pipeline.
"""
def __init__(self,sample_times):
self.sample_times = sample_times
Expand Down Expand Up @@ -131,6 +138,12 @@ class Smoother(BaseEstimator,TransformerMixin):
neuroglia.spike.Binner
neuroglia.nwb.SpikeTablizer
Notes
-----
This estimator is stateless (besides constructor parameters), the
fit method does nothing but is useful when used in a pipeline.
"""
def __init__(self,sample_times,kernel='gaussian',tau=DEFAULT_TAU):

Expand Down

0 comments on commit dd2b59b

Please sign in to comment.