|
Algorithm 1: CL-RNMF. |
|
Require: , , , , , , and M.ss |
| 1: Compute the normalized magnitude spectrogram using Equation (11).ss |
| 2: Initialize , , , and with random non-negative values.ss |
| 3: Update the estimated wheezing basis matrix using Equation (14).ss |
| 4: Update the estimated respiratory basis matrix using Equation (15).ss |
| 5: Update the estimated wheezing activations matrix using Equation (16).ss |
| 6: Update the estimated respiratory activations matrix using Equation (17).ss |
| 7: Repeat Steps 3–6 until the algorithm converges (or until the maximum number of iterations M is reached).ss |
| 8: Compute the spectral energy distribution from using Equation (18).ss |
return
|