Description Usage Arguments Value Examples
RSquare
This is also called as coefficient of determination. It tells how close are data to the fitted regression line. Highest score can be 1.0 and it indicates that the predictors perfectly accounts for variation in the target. Score 0.0 indicates that the predictors do not account for variation in the target. It can also be negative if the model is worse.
1 2 3 4 5 6 | metric_rsquare(
name = "r_square",
dtype = tf$float32,
...,
multioutput = "uniform_average"
)
|
name |
(Optional) String name of the metric instance. |
dtype |
(Optional) Data type of the metric result. Defaults to 'tf$float32'. |
... |
additional arguments to pass |
multioutput |
one of the following: "raw_values", "uniform_average", "variance_weighted" |
r squared score: float
1 2 3 4 5 6 7 8 9 10 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.