Skip to main content
. 2022 Nov 22;22(23):9044. doi: 10.3390/s22239044
Algorithm 1. Derivation of new source feature space
Input: (1) Offline sample Dof; (2) Target domain DT; (3) The number of instances nT;
Output: Source domain DS
1. DS=[]
2. for l=1,2,,L do
3.   for m=1,2,,nT do
4.      for i=1,2,,nof do
5.         Compute co-occurrence C(m,i) using Equation (2)
6.      end for
7.     Obtain the co-occurrence vector of the mth target sample
8.    end for
9. end for
10. for i=1,2,,nS do
11.   Find i,m s.t C(m,i)=maxCmip
12.  xofp=xSp/,yofp=ySp/
13.  DS={(xSp/,ySp/)}
14. end for
15. return DS