8000 the contradiction in docstring in LocalOutlierFactor class · Issue #8048 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
the contradiction in docstring in LocalOutlierFactor class #8048
Closed
@AlanJun

Description

@AlanJun

Description

the docstring of function "fit_predict" in LocalOutlierFactor class says "returns the labels
(1 inlier, -1 outlier)"
however in the latter Returns part, it says "Returns 1 for anomalies/outliers and -1 for inliers"
kind of misleading, fortunately it's easy to fix
Thx

Steps/Code to Reproduce

Expected Results

Actual Results

Versions

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugDocumentationEasyWell-defined and straightforward way to resolve

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0