|
Algorithm 2. Agile learning of Bayesian networks for congestion check in wearable system |
|
Initial: Time T= ()
|
|
Ensure: No congestion on Prediction data for
|
|
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) =
|
|
Return (No_Congestion)
|
| If ()
|
| M (O) = D(C)
|
|
//*D(C) = Data Congestion//*
|
| Return (Congestion)
|
| Break
|
| M (O) = Return (prediction check)
|
|
End if
|
| End if
|
| End While
|
| End begin
|