Skip to main content
. Author manuscript; available in PMC: 2024 May 5.
Published in final edited form as: IEEE Int Conf Smart Cloud. 2023 Dec 18;2023:164–169. doi: 10.1109/smartcloud58862.2023.00036

Algorithm 1.

Feature selection for the GMM or the k-means

Input: Data set 𝒟={x1,,xn} and the number of clusters k
Output: labels 1,,k for each xi𝒟 with the best A
Initialization
1: Determine the first jmin(1) by (7) with loss(A)=d(𝒞,𝒞A) given by (5) if the GMM method is adopted or loss(A)=d˜(𝒞,𝒞A) given by (6) if the k-means method is adopted
Begin Iteration
2: Let A(t1)={jmin(1),jmin(2),,jmin(t1)} be the previous set of important features and determine the current jmin(t) by (8) and update A(t)=A(t1){jmin(t)}
3: Stop if t=p or no important feature is found; otherwise continue
End Iteration
4: Output