Skip to main content
. 2023 Jul 27;23(15):6723. doi: 10.3390/s23156723
Algorithm 1 A-JoCoR

Input: Network f with Θ={Θ1,Θ2}, learning rate η, training set D, epoch Tmax, iteration Imax, initial sample abandonment rate τ1, the estimated noise rate σ;

for  t=1,2,,Tmax do

   Shuffle training set D;

   for  n=1,2,,Imax do

     Fetch mini-batch Dn from D;

      p1=f(x,Θ1),xDn;

      p2=f(x,Θ2),xDn;

     Calculate the joint loss l of p1 and p2 by Equation (3);

     Obtain small-loss sets D˜n by D˜n=argminDn:|Dn|R(t)|Dn|l(Dn)// from Dn;

     Calculate the average loss L of D˜n by L=1|D˜|xD˜l(x);

     Update Θ=ΘηL;

   end for

   Obtain pteva;

   Update σ=pteva;

   Update τt+1=τtρ(τt(1σ));

   Update R(t+1)=1τt+1;

  end for

Output:  wf and wg