|
Algorithm 8 Compute Adaptive Weights |
Require:
Initialize as a zero vector of length
for to do
indices where
mean absolute error of from 1
end for
Normalize by its maximum value
Initialize as an empty dictionary
for to do
for to do
if then
else
if in or in then
end if
end if
end for
end forreturn
|