Skip to main content
. 2024 Feb 19;14:4104. doi: 10.1038/s41598-024-53964-7

Table 2.

The training algorithm flow of the SAE-HFCM model.

Algorithm: SAE-HFCM model training algorithm

Input: ε: training accuracy of SAE-FCM; X,Y: training data;

Output: W1, W2, W3, Wx, b1 and b2

1: Get Z from input data X with SAE, and record W1 and b1
2: Randomly initialize W2, Wx and b2, and get Z from H
3: Calculate W3 by ridge regression
4: Fix W1, b1 and W3, and update W2, Wx and b2
5: while Training accuracy < ε do < 
6:             Update W1 and b1
7:             Update W2, Wx and b2
8:             Update W3
9: end while
10: return W1,W2, W3, Wx, b1 and b2