Skip to content

Commit

Permalink
Added Explained Variance Score Formula
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhanunjaya-Elluri authored and santiviquez committed Dec 9, 2024
1 parent 0dfb049 commit 3e94962
Showing 1 changed file with 16 additions and 5 deletions.
21 changes: 16 additions & 5 deletions book/2-regression.tex
Original file line number Diff line number Diff line change
Expand Up @@ -544,9 +544,9 @@ \subsection{Mean Poisson Deviance}
$
}
};
\draw[-latex,nmlred, semithick] ($(a.south)+(-2.2,0)$) to[bend left=15] node[pos=1, left] {number of samples} +(-1,-1);
\draw[-latex,nmlpurple, semithick] ($(a.north)+(0,0.0)$) to[bend left=15] node[pos=1, right] {actual value} +(1.5,.5);
\draw[-latex,nmlcyan, semithick] ($(a.south)+(1.3,0)$) to[bend right=15] node[pos=1, right] {predicted value} +(1.5,-1);
\draw[-latex,nmlred, semithick] ($(a.south)+(-2.2,0.2)$) to[bend left=15] node[pos=1, left] {number of samples} +(-1,-0.5);
\draw[-latex,nmlpurple, semithick] ($(a.north)+(1.3,0.0)$) to[bend left=15] node[pos=1, right] {actual value} +(1,.5);
\draw[-latex,nmlcyan, semithick] ($(a.south)+(1.3,0)$) to[bend right=15] node[pos=1, right] {predicted value} +(1,-0.5);
}
\end{center}

Expand Down Expand Up @@ -809,12 +809,23 @@ \subsection{Pinball Loss }
\section{Explained Variance Score}
\subsection{Explained Variance Score}

The Explained Variance Score is a regression evaluation metric that measures the proportion of variance in the target variable that is captured by the model’s predictions.
The Explained Variance Score (EVS) is a regression evaluation metric that measures the proportion of variance in the target variable that is captured by the model’s predictions.
It focuses specifically on how well the variability of the data is explained, rather than penalizing systematic biases or a lack of correlation between true and predicted values.

% formula
\begin{center}
[FORMULA GOES HERE]
\tikz{
\node[inner sep=2pt, font=\Large] (a) {
{
$\displaystyle
EVS = 1 - \frac{Var({\color{nmlcyan}Y} - {\color{nmlpurple}\hat{Y}})}{Var({\color{nmlcyan}Y})}
$
}
};

\draw[-latex,nmlcyan, semithick] ($(a.north)+(1.2,0)$) to[bend right=15] node[pos=1, left] {actual value} +(-1,.5);
\draw[-latex,nmlpurple, semithick] ($(a.north)+(2.3,0)$) to[bend left=15] node[pos=1, right] {predicted value} +(1,.5);
}
\end{center}

Explained Variance Score ranges from -infinity to 1, with 1 indicating that the model explains all variability in the target variable. Negative values suggest the model performs worse
Expand Down

0 comments on commit 3e94962

Please sign in to comment.