|
Algorithm 1: Solving RELAD regression (Equation (24)) by IRLS algorithm. |
-
1:
▷ Initialization of weights; is the identity matrix
-
2:
▷ Absolute losses of all data are initialized to infinity
-
3:
-
4:
repeat
-
5:
-
6:
▷ Closed-form WLS solution
-
7:
▷ Absolute losses
-
8:
▷ Preliminary estimate of the standard deviation of
-
9:
▷ The × operator is the scalar product
-
10:
-
11:
untilor
-
12:
▷ Return the converged
|