You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which is equalivalent to calculate the covaraince matrix for each class and then take the weighted average to get the tied covariance matrix. But in the code,
you are using sklearn.covariance.EmpiricalCovariance for all of the data (see line 117 X) but as per formulae you calculate the covariance for each class and then take the average. So I feel that we should apply sklearn.covariance.EmpiricalCovariance per class and then take the sum.
Thanks,
The text was updated successfully, but these errors were encountered:
As per the formulae given in the paper
which is equalivalent to calculate the covaraince matrix for each class and then take the weighted average to get the tied covariance matrix. But in the code,
deep_Mahalanobis_detector/lib_generation.py
Lines 107 to 120 in 90c2105
you are using
sklearn.covariance.EmpiricalCovariance
for all of the data (see line 117X
) but as per formulae you calculate the covariance for each class and then take the average. So I feel that we should applysklearn.covariance.EmpiricalCovariance
per class and then take the sum.Thanks,
The text was updated successfully, but these errors were encountered: