Research Article

Improved Double-Layer Structure Multilabel Classification Model via Optimal Sequence and Attention Mechanism

Algorithm 5
D is the training set, L is the labels’ number
TRAINING
(1)Train the first-layer classifier
(2)
(3)
(4)
(5)
(6)
(7)end for
(8)Use the OSS algorithm to obtain the label priority order to guide the training of the second-layer classifier
(9)
(10)
(11)
(12)Compute attribute value weights using the attention mechanism
(13)  
(14)  
(15)  
(16)  
(17)  
(18)  
(19)End for