Research Article

Bias Modeling for Distantly Supervised Relation Extraction

Algorithm 1

MIML-dist.
(1) Training phase:
(1.1) foreach iteration in
(1.2) foreach instance in each bag
(1.3) foreach label in
(1.4) 
      
      
(1.5)  if   !=   then
(1.6)     
(1.7)   
(1.8)  end if
(1.9) end foreach
(1.10) 
(1.11) 
(1.12)   end foreach
(1.13)  
(1.14)  
(1.15) end foreach
(2) Testing phase:
(2.1) Predict the bag-level labels using Noisy-or model.