Skip to content

Bug in the scikit-learn LDA function - results with non-zero correlation #3500

Closed
@rasbt

Description

@rasbt

scikit-learn LDA produces incorrect results when used for dimensionality reduction. I went back and implemented an LDA step-by-step, and compared my results with Matlab's and R's LDA functions on the same dataset (Iris). There is definitely something weird about the scikit-function.

untitled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions