10000 EllipticEnvelope does not work with a sparse matrix · Issue #14613 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
EllipticEnvelope does not work with a sparse matrix #14613
Closed
@kjanko

Description

@kjanko

The documentation for EllipticEnvelope fit method says:

X : numpy array or sparse matrix, shape (n_samples, n_features).

However, when trying to fit with a sparse CSR matrix, an exception is thrown:

TypeError: A sparse matrix was passed, but dense data is required. Use X.todense() to convert to a dense numpy array.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0