Algorithm 1.
Alternating Imputation and Correction Method (AICM)
Hyperparameter: Dropping rate r, maximum iteration iter, regularization term λr, and hard constraint term λh. |
Input: Two data matrices, of both n drugs and p cell-lines with summarized sensitivity data, denote as . We denote jth column of two matrices as aj; bj, j ∈ {1, 2,…,p} respectively. We denote the entry at ith row and jth column as Aij and Bij respectively, {i, j} ∈ {1, 2,…,n} × {1, 2,…, p}. |
Initialization: For each j ∈ {1, 2,…,p} for all i ∈ {1, 2,…,n} such that Bij is missing while Aij is not, we denote such set as , we fit a linear model such that αj, βj maximizes and then impute the missing values as . Then swap the role of A and B and repeat the above process. Now we have two matrices with same missing indices. |
for k in {1, 2,… Iter} do |
Swap: A → B, B → A. |
Drop: Randomly drop r × n × p data uniformly from A, we denote the indices of the dropped data as , and hence dropped data as a set . In a similar fashion, we denote dropped data of column k as , we denote the corresponding data in kth column of B as . We fit a set of parameters , for each j with the following objective function: |
Correction: Set or each j. We denote the set of corrected value as . |
Threshold: For , we set{AIMP}ij to |
end for |