Skip to main content
. 2024 Jan 19;24(2):0. doi: 10.3390/s24020636
Algorithm 1 Training strategy of FPIRST
Input: Given R  videos from the HNUFD video dataset, feature parameter image training sample X=X1,X2,,XM after data processing and their type labels Y=Y1,Y2,,YM .
Output: The well-trained model FPIRST.
1: Construct the FPIRST method shown in Figure 1;
2: Initialize the parameters;
3: Repeat
4:   Randomly select a batch of instances Xb from X ;
5:   Forward learn training samples through the FPIST model;
6:   Compute the error Lθ by Lθ=yty^t22;
7:   Propagate the error back through FPIST and update the parameters;
8:   Find θ by minimizing Lθ with Xb ;
9: Until the end condition is satisfied.