Skip to main content
. 2019 Jul 9;19(13):3030. doi: 10.3390/s19133030
Algorithm 2. Agile learning of Bayesian networks for congestion check in wearable system
Initial: Time T= (T1,T2,T3,,Ti)
Ensure: No congestion on Prediction data for y={y1,y2,y3,,yi}
While (Logic “1”) for prediction check
    If (j<n) then
    M (O) =S (D);
//*M (O) = is the memory output layer//*
//*S (D) = Input datasets which are stored//*
    S (D) = y={y1,y2,y3,,yi}
Return (No_Congestion)
    If (Tn/m)
    M (O) = D(C)
//*D(C) = Data Congestion//*
      Return (Congestion)
      Break
  M (O) = Return (prediction check)
End if
    End if
      End While
        End begin