diff --git a/doc/pub/LogReg/html/._LogReg-bs021.html b/doc/pub/LogReg/html/._LogReg-bs021.html index a68abcf55..e7ea967dc 100644 --- a/doc/pub/LogReg/html/._LogReg-bs021.html +++ b/doc/pub/LogReg/html/._LogReg-bs021.html @@ -159,14 +159,12 @@ where \( I(y_i = \hat{y}_i) \) is the indicator function given by $$ \begin{align} - I(x = y) = \begin{cases} - 1 & x = y, -\tag{8}\\ + I(x = y) = \begin{array}{cc} + 1 & x = y, \\ 0 & x \neq y. - \end{cases} -\tag{9} -\end{align} -$$ + \end{array} +\tag{8} +\end{align}$$

This is the accuracy provided by Scikit-learn when using sklearn.metrics.accuracyscore. diff --git a/doc/pub/LogReg/html/LogReg-reveal.html b/doc/pub/LogReg/html/LogReg-reveal.html index 0f29f3800..2f41dca82 100644 --- a/doc/pub/LogReg/html/LogReg-reveal.html +++ b/doc/pub/LogReg/html/LogReg-reveal.html @@ -867,14 +867,12 @@ where \( I(y_i = \hat{y}_i) \) is the indicator function given by

 
$$ \begin{align} - I(x = y) = \begin{cases} - 1 & x = y, -\tag{8}\\ + I(x = y) = \begin{array}{cc} + 1 & x = y, \\ 0 & x \neq y. - \end{cases} -\tag{9} -\end{align} -$$ + \end{array} +\tag{8} +\end{align}$$

 

diff --git a/doc/pub/LogReg/html/LogReg-solarized.html b/doc/pub/LogReg/html/LogReg-solarized.html index cdb78873d..0e21bf0a9 100644 --- a/doc/pub/LogReg/html/LogReg-solarized.html +++ b/doc/pub/LogReg/html/LogReg-solarized.html @@ -755,14 +755,12 @@ where \( I(y_i = \hat{y}_i) \) is the indicator function given by $$ \begin{align} - I(x = y) = \begin{cases} - 1 & x = y, -\label{_auto8}\\ + I(x = y) = \begin{array}{cc} + 1 & x = y, \\ 0 & x \neq y. - \end{cases} -\label{_auto9} -\end{align} -$$ + \end{array} +\label{_auto8} +\end{align}$$

This is the accuracy provided by Scikit-learn when using sklearn.metrics.accuracyscore. diff --git a/doc/pub/LogReg/html/LogReg.html b/doc/pub/LogReg/html/LogReg.html index 17d00292d..abf1d112a 100644 --- a/doc/pub/LogReg/html/LogReg.html +++ b/doc/pub/LogReg/html/LogReg.html @@ -760,14 +760,12 @@ where \( I(y_i = \hat{y}_i) \) is the indicator function given by $$ \begin{align} - I(x = y) = \begin{cases} - 1 & x = y, -\label{_auto8}\\ + I(x = y) = \begin{array}{cc} + 1 & x = y, \\ 0 & x \neq y. - \end{cases} -\label{_auto9} -\end{align} -$$ + \end{array} +\label{_auto8} +\end{align}$$

This is the accuracy provided by Scikit-learn when using sklearn.metrics.accuracyscore. diff --git a/doc/pub/LogReg/ipynb/LogReg.ipynb b/doc/pub/LogReg/ipynb/LogReg.ipynb index 835cad9c5..5a9d85a4f 100644 --- a/doc/pub/LogReg/ipynb/LogReg.ipynb +++ b/doc/pub/LogReg/ipynb/LogReg.ipynb @@ -976,29 +976,15 @@ "\n", "$$\n", "\\begin{equation}\n", - " I(x = y) = \\begin{cases}\n", - " 1 x = y, \n", + " I(x = y) = \\begin{array}{cc}\n", + " 1 & x = y, \\\\\n", + " 0 & x \\neq y.\n", + " \\end{array}\n", "\\label{_auto8} \\tag{8}\n", "\\end{equation}\n", "$$" ] }, - { - "cell_type": "markdown", - "metadata": {}, - "source": [ - "\n", - "

\n", - "\n", - "$$\n", - "\\begin{equation} \n", - " 0 x \\neq y.\n", - " \\end{cases}\n", - "\\label{_auto9} \\tag{9}\n", - "\\end{equation}\n", - "$$" - ] - }, { "cell_type": "markdown", "metadata": {}, diff --git a/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz b/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz index 81585084e..61efa7037 100644 Binary files a/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz and b/doc/pub/LogReg/ipynb/ipynb-LogReg-src.tar.gz differ diff --git a/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf b/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf index 2aa78af95..70a0ba35f 100644 Binary files a/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf and b/doc/pub/LogReg/pdf/LogReg-beamer-handouts2x3.pdf differ diff --git a/doc/pub/LogReg/pdf/LogReg-beamer.pdf b/doc/pub/LogReg/pdf/LogReg-beamer.pdf index d5c376136..f7bb75e08 100644 Binary files a/doc/pub/LogReg/pdf/LogReg-beamer.pdf and b/doc/pub/LogReg/pdf/LogReg-beamer.pdf differ diff --git a/doc/pub/LogReg/pdf/LogReg-minted.pdf b/doc/pub/LogReg/pdf/LogReg-minted.pdf index 2ffffaae2..e6188fed3 100644 Binary files a/doc/pub/LogReg/pdf/LogReg-minted.pdf and b/doc/pub/LogReg/pdf/LogReg-minted.pdf differ diff --git a/doc/src/LogisticRegression/LogReg.do.txt b/doc/src/LogisticRegression/LogReg.do.txt index a22273019..a3c08ca14 100644 --- a/doc/src/LogisticRegression/LogReg.do.txt +++ b/doc/src/LogisticRegression/LogReg.do.txt @@ -595,10 +595,10 @@ where $I(y_i = \hat{y}_i)$ is the indicator function given by !bt \begin{align} - I(x = y) = \begin{cases} + I(x = y) = \begin{array}{cc} 1 & x = y, \\ 0 & x \neq y. - \end{cases} + \end{array} \end{align} !et