8000 Incorrect output shape in doc for OrthogonalMatchingPursuit · Issue #8070 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content
Incorrect output shape in doc for OrthogonalMatchingPursuit #8070
Closed
@zym1010

Description

@zym1010

Description

in https://github.com/scikit-learn/scikit-learn/blob/master/sklearn/linear_model/omp.py#L580, it says that coef_ has shape (n_features,) or (n_features, n_targets), but in practice I think it's (n_features,) or (n_targets, n_features), as the predict for the base linear model is used.

Metadata

Metadata

Assignees

No one assigned

    Labels

    DocumentationEasyWell-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