Skip to main content
. 2024 Feb 20;24(5):1354. doi: 10.3390/s24051354
Algorithm 1 Proposed meta-learning recognition module
  • Input: Training and testing dataset S, inner step size α,

    meta update step size β

    Output: Few-shot gesture classification model

    While not done do

  •     Task generation Ti=(TiS,TiQ) from S

  •     Compute prototype ϵn

  •     Generate classifier initialization ωn

  •     Set θ=ωn,θg(x)

  •     for TiT do

  •         Calculate loss LossTiS

  •         Update the parameter θTi=θαθLossTiS(θ)

  •     end

  •     Update θ=θβθi=1MLossTiQ(θTi)

  •   end