Skip to content

r2_score returns r correlation coefficient not R2 coefficient of determination #10543

Closed
@lkettle

Description

@lkettle

r2_score returns r correlation coefficient not r2 coefficient of determination.

Your documentation indicates in
http://scikit-learn.org/stable/modules/generated/sklearn.metrics.r2_score.html

that r2_score can return negative results with examples. This means you are actually producing the r , or correlation coefficient, indicating negative and positive correlation.

an R2 is between 0-1 and is never negative.

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