Wifi_Activity_Recognition icon indicating copy to clipboard operation
Wifi_Activity_Recognition copied to clipboard

Some question in "cross_vali_data_convert_merge"

Open beyond96 opened this issue 4 years ago • 3 comments

What are the purposes of setting the following parameters?

window_size = 1000 threshold = 60 slide_size = 200

Many thanks!

beyond96 avatar Oct 30 '20 01:10 beyond96

"y = np.zeros(((len(tmp2) + 1 - 2 * window_size)//slide_size+1,8))" Line 46

I feel confused, Could you help me?

beyond96 avatar Oct 30 '20 02:10 beyond96

"window_size" means the number of sampling point for the input data. (30 channels x 3 antenna x 1000 sampling points will be the input.)

"slide_size" means how many points will be overlapped for the input data. In this case, 1 to 1000, 200 to 1200, 400 to 1400... will be input data.

"threshould" means how much percent of data should be included to activity data. If 60 percent of "bed" label is included in the window, it will be "bed" label.

Hirokazu-Narui avatar Oct 30 '20 04:10 Hirokazu-Narui

Thanks for your reply! Another question,:Would you mind shaing your code of Figure4 in your paper?Why can't I get the result of Figure 4 when I use STFT?

I am so sorry to disturb you.

beyond96 avatar Oct 30 '20 06:10 beyond96