pyod icon indicating copy to clipboard operation
pyod copied to clipboard

some PyOD models will fail while being used with SUOD

Open yzhao062 opened this issue 3 years ago • 1 comments

The reason is sklearn.clone will lead to issues if the hyperparameters are not well used.

Problem can be reproduced by cloning models:

This includes:

  • COD

yzhao062 avatar Jan 14 '21 22:01 yzhao062

I don't know if this is related, or there is another cause, but LOF also fails when used with SUOD, raising the following error:

ZeroDivisionError: float division by zero

Code to reproduce the error: the exact template provided in https://pyod.readthedocs.io/en/latest/fast_train.html

Dataset: https://raw.githubusercontent.com/numenta/NAB/master/data/artificialNoAnomaly/art_daily_small_noise.csv

However, LOF works correctly with this dataset when used normally, without SUOD.

yerbby avatar Jun 17 '22 12:06 yerbby