R² regression score (R2)¶
Computes the R² regression score. Best possible score is 1.0 and it can be negative (because the model can be arbitrarily bad). A constant model that always predicts the expected value of y, disregarding the input features, would get a R² score of 0.0)
Documentation¶
Computes the R² regression score. Best possible score is 1.0 and it can be negative (because the model can be arbitrarily bad). A constant model that always predicts the expected value of y, disregarding the input features, would get a R² score of 0.0)
Configuration:
Attributes:
- Input ports:
- Y-probtable
Y-prob
- Y-truetable
Y-true
- Output ports:
- r2 scoretable
r2 score
Definition¶
Some of the docstrings for this module have been automatically extracted from the scikit-learn library and are covered by their respective licenses.