Data Science, Machine Learning, Regression, Evaluation Metric, Linear Regression.
variables. It is an indication of how well our model fits to the data. The formula is as follows: R² = 1 — [(Σ(Yᵢ — Ŷᵢ)²) ÷ (Σ(Yᵢ — Ȳ)²)] Where: Yᵢ = Represents the true value for the iᵗʰ sample Ŷᵢ = Represents the predicted value for iᵗʰ sample Ȳ = Represents the mean of the actual values Σ = Is