Algorithm 1 Training phase
|
Input: raw dataset without annotation , prelabeled dataset , max iterations T, nearest neighbor number k, outlier threshold
|
Output: personalized MGD models
Preprocess the dataset through the Butterworth low-pass filter and dividing by sensitivity coefficient .
Segment the data into overlapping windows.
Extract the features and normalization.
Save the results from step 1 and step 2 as .
Initialize K-Means clustering centroids by Equation (3).
For t = 1 to T do the following:
Assign samples that belong to the kth cluster by Equation (4).
Update kth centroids by Equation (5).
If there is no change in the assignment step
break
end if
end for
For i = 1 to M do the following:
if
remove from
end if
end for
Using Equation (9) and (10), compute by the LIA cluster , compute by the MIA cluster , and compute by the VIA cluster .
Establish the personalized MGD models: , , and
|