Skip to main content
. Author manuscript; available in PMC: 2021 Nov 5.
Published in final edited form as: J Mach Learn Res. 2021 Jan;22:55.

Algorithm 15.

Choice of number of clusters q and feature penalty α in Gecco+/iGecco+ using BIC

Initialize: s^=k=1Kpk, S^k={1,,pk}, α^=1.
1. Fit iGecco+ with a sequence of γ and fixed α^. Choose the number of clusters q^ using BIC.
q^=argminqnk=1Kπk,S^kk(XS^k(k),U^S^k(k))+qlog(s^n).
2. Fit iGecco+ with a sequence of α and fixed number of clusters q^. Choose number of features s using BIC. Get corresponding α^, active set S^k and total number of selected features s^=k=1K|S^k|.
s^=argminsnk=1Kj=1pkk(X.j(k),U^.j(k))k(X.j(k),X^.j(k))+sq^log(n).
3. Repeat Step 1 and 2 until q^ and α^ stabilize.