Skip to main content
. Author manuscript; available in PMC: 2022 Jul 1.
Published in final edited form as: Med Image Anal. 2021 Mar 4;71:102026. doi: 10.1016/j.media.2021.102026

Algorithm 1.

Efficient algorithm for constructing SFNsimplex

Input: Normalized data Xn×p, and parameter λG.
Output : Sp×p
1: Initialize c(0), αi(0)
2: for each region i (i = 1, ..., p) do
3:  Set k = 0
4: While no convergence do
5:   k = k + 1
6:   βi(k)=minβi12βiαi(k1)22s.t.βi0,βiT1=1,
7:   αi(k)=zi(k)tf(zi(k)), wheref(βi(k))=X(:,i)TX(:,i)βi(k)+λGLsnβi(k)X(:,i)X(:,i)
8:   zi(k)=βi(k)+c(k)1c(k+1)(βi(k)βi(k1))
9:   c(k)=1+1+4c(k1)22
10: end
11: βı^=[β1,,βi1,0,βi+1,,βp]
12: end for
13: S=[β1^,,βp^]
14: SFNsimplex=S+ST2