Skip to main content
. 2024 Jul 11;11(7):703. doi: 10.3390/bioengineering11070703
Algorithm 1: Algorithm of difficult airway classification with DMF-Net
Input: multi-view data χ=X(1),X(2),X(3),X(4),X(5); the label of data is y=y1,y2,,yN.
Initialize: randomly initialize model parameters θFEM,θMFFM,θHCAM, θCPP,θCSP,θCLS.
While not converged, perform the following:
  • 1:

    Concatenate three front views as x1 and two side views as x2 on the channel dimension;

  • 2:

    Obtain feature vectors {f1gap,f2gap} by utilizing the Feature Extractor Module, Multi-Scale Feature Fusion Module and Hybrid Co-Attention Module with Equations (1)–(4);

  • 3:

    Obtain feature vectors {z1cpp,z2cpp} and {z1csp,z2csp} by utilizing the Complementarity Projection Head and Consistency Projection Head with Equations (5) and (6);

  • 4:

    Concatenate {f1gap,f2gap} and input into the Classier Module to obtain final outputs p with Equation (7);

  • 5:

    Calculate Lfocal with Equations (9)–(11) and Lcomple, Lconsist with Equations (12)–(14); then, calculate L with Equation (8);

  • 6:

    Update the parameters θFEM,θMFFM,θHCAM, θCPP,θCSP,θCLS of the model by utilizing the Gradient Descent Algorithm;

end
Output: trained parameters θFEM,θMFFM,θHCAM, θCPP,θCSP,θCLS.