Skip to main content
. 2025 Feb 28;25(5):1480. doi: 10.3390/s25051480
Algorithm 2 The FA method for feature alignment
Input:
The source domain feature matrix XS=xS1,,xSNSRd×NS
The source domain label matrix TS=TS1,,TSNSRd×NS
The target domain feature matrix XT=xT1,,xTNTRd×NT
The transfer samples of source domain MS=mS1,,mSNmXS
The transfer samples of target domain MT=mT1,,mTNmXT
The regularization parameter λ
Output:
Transformation matrix P
New target domain XT
Recognition accuracy (%) of unlabeled data in new target domain
Procedure:
1: Calculate the basis transformation matrix P according to (8)
2: Calculate the new target domain XT according to XT =XTP
3: Calculate the predicted output of unlabeled samples of new target domain
TT ← SVMClassifier (XS,TS,XT)
4: Calculate the recognition accuracy (%) of unlabeled data in new target domain