Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Training missing outliers (75%) on DAGMM throws Exception #79

Closed
maxifischer opened this issue Jun 13, 2018 · 2 comments
Closed

Training missing outliers (75%) on DAGMM throws Exception #79

maxifischer opened this issue Jun 13, 2018 · 2 comments

Comments

@maxifischer
Copy link
Contributor

/home/maxi/.local/lib/python3.6/site-packages/numpy/linalg/linalg.py:1874: RuntimeWarning: invalid value encountered in det
  r = _umath_linalg.det(a, signature=signature)
2018-06-13 06:23:52 [ERROR] src.evaluation.evaluator: An exception occured while training DAGMM on Syn Extreme Outliers (mis=0.75): Threshold is NaN
2018-06-13 06:23:52 [ERROR] src.evaluation.evaluator: Traceback (most recent call last):
  File "../src/evaluation/evaluator.py", line 68, in evaluate
    score = det.predict(X_test)
  File "../src/algorithms/dagmm.py", line 262, in predict
    raise Exception("Threshold is NaN")
Exception: Threshold is NaN

/home/maxi/.local/lib/python3.6/site-packages/numpy/lib/function_base.py:4291: RuntimeWarning: Invalid value encountered in percentile
  interpolation=interpolation)
@Chaoste
Copy link
Contributor

Chaoste commented Jun 13, 2018

Already inspected this error. The variable z is alread an array with nan values. I guess the calculations of std and mean in the lib are broken.

@WGierke
Copy link
Contributor

WGierke commented Jul 14, 2018

Fixed via #123

@WGierke WGierke closed this as completed Jul 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants