Package science.aist.jack.math.filter
Class SubsetSlidingWindow<T>
- java.lang.Object
-
- science.aist.jack.math.filter.SubsetSlidingWindow<T>
-
- Type Parameters:
T
- The input and output type inside the list for subset generation
- All Implemented Interfaces:
GenericSlidingWindow<T,List<T>>
public class SubsetSlidingWindow<T> extends Object implements GenericSlidingWindow<T,List<T>>
SubsetSlidingWindow
Subset Sliding Window allows to create a list of subselection by the kernel size to further apply filtering and aggregating on those windows.
- Since:
- 2.2.0
- Author:
- Baumgartner David 10.11.2020
-
-
Constructor Summary
Constructors Constructor Description SubsetSlidingWindow()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<List<T>>
filter(List<T> data, int kernel)
Uses the kernel to chain values in the list, the resulting subsets must be processed manually
-
-
-
Method Detail
-
filter
public List<List<T>> filter(List<T> data, int kernel)
Description copied from interface:GenericSlidingWindow
Uses the kernel to chain values in the list, the resulting subsets must be processed manually
- Specified by:
filter
in interfaceGenericSlidingWindow<T,List<T>>
- Parameters:
data
- the data to subsetkernel
- the kernel, or window size- Returns:
- a List of windows
-
-