Skip to content

Typo in "novelty_detection.py" #4

@HelloSeeing

Description

@HelloSeeing

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions