Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EmpiricalCovariance user guide assume_centered tip incorrect #31705

Open
@rnowling

Description

@rnowling

Describe the issue linked to the documentation

The user guide documentation for EmpiricalCovariance currently states:

More precisely, if assume_centered=False, then the test set is supposed to have the same mean vector as the training set. If not, both should be centered by the user, and assume_centered=True should be used.

It doesn't make sense, however, that assume_centered=False would require data to be centered. Likewise, it would seem that the user would need to center the data OR use assume_centered=True -- not both.

Additionally, it doesn't seem like there are separate training and testing data for this.

Suggest a potential alternative/fix

I think it should read:

More precisely, if assume_centered=True, then the data set's mean vector should be zero. If not, the data should be centered by the user, or assume_centered=False should be used.

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