R-squared Value

R^2 Formula

R2=1−Var(y^)Var(y¯)=Var(y¯)−Var(y^)Var(y¯)where Var(z)=∑i(yi−z)2And y¯ = mean and y^ = predicted y

  • R2=0.81 means 81% relation is explained by the features than mean


Related Notes