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

Typo in "novelty_detection.py" #4

Open
HelloSeeing opened this issue Mar 18, 2019 · 0 comments
Open

Typo in "novelty_detection.py" #4

HelloSeeing opened this issue Mar 18, 2019 · 0 comments

Comments

@HelloSeeing
Copy link

HelloSeeing commented Mar 18, 2019

Thanks for the author's sharing! When I run the code, I find a typo in "novelty_detection.py" in Line 526~531:

        minp, maxP = -maxP, -minP
        X1 = [-x for x in X1]
        Y1 = [-x for x in Y1]
        auprout = 0.0
        recallTemp = 1.0
        for e in np.arange(minP, maxP, 0.2):

There defined a minp = -maxP, however, the parameter in np.arange is minP.

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

1 participant