I'm fitting SciKit-Learn's KNeighborsRegressor
on a 5 dimensional space and my model performance is peaking at a score of $\sim 0$.
In their documentation they say that the score they're using is the following:
$$R^2 = (1 - \frac{u}{v})$$
which I believe is the formula for the Coefficient of Determination, making:
$$u = \sum^N_i(y_{p,i} - y_{t,i}), \\ v=\sum^N_i(y_{t,i} - \bar y_{t,i})$$
where $N$ is the number of samples, $y_{p, i}$ is the predicted value of sample $i$, $y_{t, i}$ is the true value of sample $i$, and $\bar y_{t, i}$ is the mean of the true samples.
This makes $R^2$ the "unexplained variance of the dataset". I'm struggling to understand what that means for my model's performance, and the SciKit-Learn documentation isn't much help:
The best possible score is 1.0 and it can be negative (because the model can be arbitrarily worse). A constant model that always predicts the expected value of y, disregarding the input features, would get a $R^2$ score of 0.0.
When measuring model performance using the Coefficient of Determination, $R^2$, what is a good score?
sklearn
seems neither here nor there. $\endgroup$