Wifi_Activity_Recognition
Wifi_Activity_Recognition copied to clipboard
Some question in "cross_vali_data_convert_merge"
What are the purposes of setting the following parameters?
window_size = 1000 threshold = 60 slide_size = 200
Many thanks!
"y = np.zeros(((len(tmp2) + 1 - 2 * window_size)//slide_size+1,8))" Line 46
I feel confused, Could you help me?
"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.
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.