Table 2.
Algorithm1: Attentional matching |
---|
For each H′ from Multi-CNN: 1. Calculate label representation vector D; D = (Wgyg+b) 2. The ai Measures how informative each n-gram is for the i-th label.; 3. Calculate the weighted average vi of the rows in H′ forming a vector representation of the clinic text for the i-th label; |