Skip to content

Built-in R2 (R-squared) metric #6983

@jameslamb

Description

@jameslamb

Description

LightGBM should add a built-in R^2 metric.

Benefits of this work

Acceptance criteria

  • LightGBM supports an r2 metric (on both CPU and GPU)

Approach

Do something like this to find where rmse shows up:

git grep -i rmse

And follow that as a guide for what to update.

At a minimum:

Notes

This should be the standard R^2, not the "adjusted" R^2 which penalizes models with more features.

See https://en.wikipedia.org/wiki/Coefficient_of_determination

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