DIF model: duplicate normalization
ValeZ1 opened this issue · comments
Valentina commented
On the DIF (Deep Isolation Forest) model, in the fit
function, the variable X
is normalized. Then it is passed to decision_function
to compute the decision_scores_
, where it is normalized again. This results in a mismatch between decision_scores_
and scores obtained by calling decision_function(X)
on the same X
.
Normalization:
Lines 173 to 175 in 690a0f2
decision_function
call:
Lines 215 to 216 in 690a0f2
Normalization in decision_function
:
Line 241 in 690a0f2