|
Algorithm 1 Feature Engineering Generator Algorithm. |
Require:
The original low-frequency time domain component L.
The original high-frequency time domain component H.
The number of samples in each data segment M.
The number of categories of data from different types of UAVs with flight modes N.
The points of moving average filter for the low-frequency and high-frequency components and , respectively.
Ensure:
The Feature Engineering Generator preprocessed frequency domain data D.
-
1:
forn in N
do
-
2:
Extract the time domain low-frequency component and high-frequency component of category n.
-
3:
Resegment , into new segments with M samples per segment , , respectively.
-
4:
for l in do
-
5:
Fourier transform l.
-
6:
-point moving average filter l.
-
7:
end for l
-
8:
for h in do
-
9:
Fourier transform h.
-
10:
-point moving average filter h.
-
11:
end for h
-
12:
.
-
13:
.
-
14:
.
-
15:
end forn
-
16:
.
|