Algorithm.
Input: , , , d | |
Output: α | |
begin | |
0. | Obtain KMRS ← and KMRI ← |
1. | Obtain WMRI and WMRS using ; obtain Ŵ using Equation (6) |
2. | Initialize β = 0, q = 1 |
3. | while β = 1, compute K̂q = β × KMRI + (1 − β) × KMRS |
4. | Substitute K̂q and Ŵ in Equation (3) |
5. | Obtain d-dimensional αq by solving Equation (7) |
6. | return αq |
7. | β = β + 0.1, q = q + 1 |
8. | endwhile |
end |