Description Usage Arguments References
Calculates the coefficient of determination.
1 | r_squared(fit_model, X, y)
|
fit_model |
A fitted model |
X |
Validation data as a 2D matrix of (observations, features) |
y |
True labels as a 1D vector |
http://scikit-learn.org/stable/modules/model_evaluation.html#r2-score-the-coefficient-of-determination
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.