Class 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 Detail

      • SubsetSlidingWindow

        public SubsetSlidingWindow()
    • 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 interface GenericSlidingWindow<T,​List<T>>
        Parameters:
        data - the data to subset
        kernel - the kernel, or window size
        Returns:
        a List of windows