neuroglia.tensor.ResponseReducer(func, dim='sample_times')[source]¶Reduces a response tensor by performing a function along one dimension
| Parameters: |
|
|---|
Notes
This estimator is stateless (besides constructor parameters), the fit method does nothing but is useful when used in a pipeline.
__init__(func, dim='sample_times')[source]¶x.__init__(…) initializes x; see help(type(x)) for signature
Methods
__init__(func[, dim]) |
x.__init__(…) initializes x; see help(type(x)) for signature |
fit(X[, y]) |
Do nothing and return the estimator unchanged |
fit_transform(X[, y]) |
Fit to data, then transform it. |
get_params([deep]) |
Get parameters for this estimator. |
set_params(**params) |
Set the parameters of this estimator. |
transform(X) |
Reduces a response tensor by performing a function along one dimension |