Questions tagged [sliding-window]

In data analysis, sliding windows are advancing sub-lists inside lists which allow, e.g., computation of a record's change from the previous record or next record. In networking, a sliding window may refer to a flow control technique that maintains windows of sequential frames sent or received without a corresponding acknowledgement.

In data analysis, sliding windows are advancing sub-lists inside lists which allow, e.g., computation of a record's change from the previous record or next record. In SQL in particular, the analytic functions LEAD(), LAG(), and computations OVER() a changing subset of query results involve sliding windows.

In networking, a sliding window may refer to a flow control technique that maintains windows of sequential frames sent or received without a corresponding acknowledgement.

583 questions
0
votes
1 answer

Overlapping Sliding windows over image

My objective is to have a sliding window slide over an image in overlapping steps so that I can run a classifier in each window and detect if an interesting object is there. For that, I need to make sure that windows I extract for classification…
user961627
  • 12,379
  • 42
  • 136
  • 210
0
votes
1 answer

Implementation sliding time window in Java

I have a csv file in the following structure: time (milliseconds), "x", "y", "z" 1389776970139,"-0.042138","0.0531513","8.28537" ........ 1389776970833,"-0.0124942","-0.00338816","0.704891" I have used an ArrayList to save each data set…
0
votes
1 answer

Image contrast estimation. How to speed up this code?

I have to create a contrast map about images. The method is easy: estimate the contrast (C=SD/Mean) in a 5x5 (sliding) window. Move the window pixel by pixel trough the entire picture and save the results in a new matrix. I created this script to…
0
votes
1 answer

R: How to apply user defined functions to multiple columns of data table and evaluate in a sliding window, i.e. moving average

I would like to have a sliding window to calculate several quantities (min, max, total, mean) on a whole data table that has about 130 columns. The window slides over groups of data set by the first key. The following code works for one column, but…
user3969377
0
votes
1 answer

How to make multiple size of detection on sliding window?

I am doing a research on people detection using HOG and LBP. I would like to detect multiple size people on image. I am using a loop on scale for the window size of detection then it will proceed by sliding window detection to detect the matching…
0
votes
1 answer

How to make a temporal sliding window for video processing in Matlab?

How do i process several frames (say 30) of a video during real-time acquisition to get a certain value, and then shift 1 frame in the video to calculate it again, thus using the 2nd-31st frames? In other words, how do i make a sliding temporal…
0
votes
1 answer

Mimicing TCP with UDP - Anything wrong with using packets instead of 'bytes' for window size?

I'm writing a TCP implementation, using UDP sockets. My initial algorithm will be based off TCP Reno. My question is, since packets are byte-sized anyways, would there be any significant downsides to implementing the sliding window using maxNum…
MrDuk
  • 16,578
  • 18
  • 74
  • 133
0
votes
1 answer

Unable to run (R not resolved) for SlidingLayer Library

I am trying to run the SlidingLayerSample - github code. I downloaded the entire repository (including folder 'Library' & 'SlidingLayerSample') and imported them to eclipse. Then I added 'Library' as a "library" for the sample in eclipse. The…
user1406716
  • 9,565
  • 22
  • 96
  • 151
0
votes
0 answers

receiver tell old packet from new in sliding window protocol (Selective Repeat)

Let's say the sender and the receiver got a 16 size buffer with a 7 size window. In other words, each side has a buffer, an array, where they can store 16 frames. Each frame has an id that fits in the 16 frames buffer (index in the array). The…
Horse SMith
  • 1,003
  • 2
  • 12
  • 25
0
votes
1 answer

Dynamic window creation at run time - Drools Fusion 6 / Esper

I need to achieve a dynamic sliding window of length (5) where I have incoming flight statuses from various flights coming into one stream. Based on the flight_id property from various flights - dynamic windows of length 5 have to be created at run…
0
votes
1 answer

How to write drools rules in sliding window for following condition?

I am new in Drools-fusion. I want to write rules with following condition. Event data comes regularly to drools engine with two attribute named "eventId" and "state". Ex:- "data":{"eventId":"evet123","state":1} When first time event come it stores…
Raj
  • 252
  • 1
  • 5
  • 20
0
votes
3 answers

Sliding window protocol, calculation of sequence number bits

I am preparing for my exams and was solving problems regarding Sliding Window Protocol and I came across these questions.. A 1000km long cable operates a 1MBPS. Propagation delay is 10 microsec/km. If frame size is 1kB, then how many bits are…
Rupesh
  • 3,415
  • 2
  • 26
  • 30
0
votes
1 answer

Sliding Window x-axis

I already do sliding window in order to calculate some parameters of networks. In this case, I'm working with a financial network based in daily returns of 140 companies. I already have all my calculations, but when I plot my results I obtain the…
wipitillo
  • 11
  • 1
  • 4
0
votes
1 answer

How to deal with the remaining elements in sliding window smoothing?

I am implementing a sliding window as a LPF to smooth my data. As long as I have a window size of W, my final W elements (window slides from the beginning to the end) or first W elements (window slides from the end to beginning) will not be able to…
Sibbs Gambling
  • 19,274
  • 42
  • 103
  • 174
0
votes
1 answer

Sliding window using R

I have a data frame with daily data in R (148 columns by 6230 rows). I want to find the correlations coefficients using sliding windows with length of 600 (days) with windows displacement of 5 (days) and trying to generate 1220 correlation matrices…
wipitillo
  • 11
  • 1
  • 4