About 24,800,000 results
Open links in new tab
  1. What is Sliding Window Algorithm? Examples? - Stack Overflow

    Nov 25, 2011 · While solving a geometry problem, I came across an approach called Sliding Window Algorithm. Couldn't really find any study material/details on it. What is the algorithm about?

  2. How do I do calculations with a sliding window while being memory ...

    Aug 24, 2024 · 6 Since using sliding_window_view is not efficient for your use case, I will provide an alternative using Numba. First, to simplify the implementation, define the following argmax alternative.

  3. How to create a sliding window for 30 mins to calculate total number …

    Mar 6, 2025 · I need to create an incremental window of 30 mins to show total number of events in that time frame in BigQuery. I am sharing a sample table and the desired output for the reference. The …

  4. python - Rolling or sliding window iterator? - Stack Overflow

    If you're looking to perform some kind of operation on each window as you iterate (e.g. sum() or max()) it is worth bearing in mind that there are efficient algorithms to compute the new value for each window …

  5. Sliding window of M-by-N shape numpy.ndarray - Stack Overflow

    Mar 31, 2013 · The multiple of 2 makes the sliding window slide 2 units at a time which is necessary for sliding over each tuple. Using numpy array slicing you can pass the sliding window into the flattened …

  6. Pair-wise iteration in C#, or sliding window enumerator

    Pair-wise iteration in C#, or sliding window enumerator Asked 16 years, 10 months ago Modified 11 months ago Viewed 23k times

  7. How can I calculate a rolling / moving average using Python + NumPy ...

    37 Starting in NumPy 1.20, the sliding_window_view provides a way to slide/roll through windows of elements. Windows that you can then individually average. For instance, for a 4 -element window:

  8. Sliding window in Python - Stack Overflow

    Dec 2, 2015 · Where did you get this code from? It differs materially from the solutions on Rolling or sliding window iterator in Python

  9. Max in a sliding window in NumPy array - Stack Overflow

    Apr 9, 2017 · 8 Starting in Numpy 1.20, the sliding_window_view provides a way to slide/roll through windows of elements. Windows that you can then find the max for:

  10. Rolling window for 1D arrays in Numpy? - Stack Overflow

    Jul 25, 2011 · The standard deviation is trivial with numpy.std, but the rolling window part completely stumps me. I found this blog post regarding a rolling window in Numpy, but it doesn't seem to be for …