Research Article

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

Algorithm 4
Find labels’ optimized chain order:
Input: Variable
Output:
(1)Calculate mutual information according to Definition 1
(2)
(3)
(4)  
(5)  
(6) End for
(7)End for
(8)Make a fully connected graph
(9)
(10)Determine the root node by PageRank
(11)
(12)Get the maximum weight label Tree
(13)
(14)Get the optimal sequence
(15)
(16)Return OS