skshapes.types.FineToCoarsePolicy
- class skshapes.types.FineToCoarsePolicy(reduce: Literal['mean', 'max', 'min', 'sum'] = 'mean')
Bases:
NamedTupleParameters for the fine to coarse propagation scheme.
- Parameters:
reduce (str, default="mean") – The reduction operation to use when propagating the signal from the fine to the coarse resolutions. Possible values are “mean”, “max”, “min” and “sum”.
- __init__()
Methods
__init__()count(value, /)Return number of occurrences of value.
index(value[, start, stop])Return first index of value.
Attributes
Alias for field number 0
-
reduce:
Literal['mean','max','min','sum'] Alias for field number 0