More cleaning up of equations

This commit is contained in:
mhjensen
2018-10-11 11:27:08 +02:00
parent 0549cbb95b
commit 8f4b87d5bd
10 changed files with 26 additions and 48 deletions
+5 -7
View File
@@ -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}$$
<p>
This is the accuracy provided by Scikit-learn when using <b>sklearn.metrics.accuracyscore</b>.
+5 -7
View File
@@ -867,14 +867,12 @@ where \( I(y_i = \hat{y}_i) \) is the indicator function given by
<p>&nbsp;<br>
$$
\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}$$
<p>&nbsp;<br>
<p>
+5 -7
View File
@@ -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}$$
<p>
This is the accuracy provided by Scikit-learn when using <b>sklearn.metrics.accuracyscore</b>.
+5 -7
View File
@@ -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}$$
<p>
This is the accuracy provided by Scikit-learn when using <b>sklearn.metrics.accuracyscore</b>.
+4 -18
View File
@@ -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": [
"<!-- Equation labels as ordinary links -->\n",
"<div id=\"_auto9\"></div>\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": {},
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+2 -2
View File
@@ -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