| Algorithm 1 Attribute weighted logistic regression |
| Input: training data 1: For each attribute xi in the training data - Compute following Equation (4) - Compute wi following Equation (6) 2: Incorporate attribute weights to train the weighted LR model (following Equation (3)) If wi = 0 then set aln(wi) = 1 × 10−10 Else if (βi > 0 and wi > 1) or (βi < 0 and wi < 1) then a = positive Else if (βi > 0 and wi < 1) or (βi < 0 and wi > 1) then a = negative |