Skip to main content
. 2020 Oct 10;22(10):1143. doi: 10.3390/e22101143
Algorithm 2. The prediction phase of the CC algorithm
Input: Xtest, Cj, j=1,2,…,Q
Output: predicted label sets of each instance in Xtest
Steps
  1. for xi∈ Xtest, i=m+1,…,m+n;

  2. do;  

  3. yi′←{};

  4. for j=1 to Q;

  5. do yi′←yi′ U{(lj←Cj:(xi,l1,…,lj−1))};

  6. return (xi,yi′)·i=m+1,…,m+n/*the classified test samples */.