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

cod_exp missing #3

Open
fischerscode opened this issue Jul 22, 2023 · 2 comments
Open

cod_exp missing #3

fischerscode opened this issue Jul 22, 2023 · 2 comments

Comments

@fischerscode
Copy link

You import cod_exp twice. Unfortunately this file seems to be missing.

from models.cod_exp import COD

from models.cod_exp import COD

@yzhao062
Copy link
Collaborator

please use the latest version here: https://github.com/yzhao062/pyod/blob/master/examples/copod_example.py

@fischerscode
Copy link
Author

Thanks for your response and I'm sorry for my late reply.

I tried to reproduce the results of your paper.

But I think I figured it out now. It seems like I just have to adjust this line to use the different 'versions' of COPOD. And as far as I can tell, the current default is some kind of experimental approach.

self.O = np.maximum(self.U_skew, np.add(self.U_l, self.U_r)/2)

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

2 participants