Skip to content

Commit 7c76270

Browse files
committed
fixed rendering issues
1 parent e404e6a commit 7c76270

3 files changed

Lines changed: 4 additions & 6 deletions

File tree

notebooks/21_advanced_ml_sklearn.ipynb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,6 @@
220220
]
221221
},
222222
{
223-
"attachments": {},
224223
"cell_type": "markdown",
225224
"metadata": {},
226225
"source": [
@@ -537,11 +536,11 @@
537536
"\n",
538537
"- **Precision**: The amount of examples of class $c$ **we got right** over the total number of examples **we predicted** were of class $c$.\n",
539538
"\n",
540-
"$$ TP \\over {TP+FP} $$\n",
539+
"$$ \\frac{TP}{TP+FP} $$\n",
541540
"\n",
542541
"- **Recall**: The amount of examples of class $c$ **we got right** over the **total number of class $\\mathbf c$ instances** there were.\n",
543542
"\n",
544-
"$$ TP \\over {TP+FN} $$\n",
543+
"$$ \\frac{TP}{TP+FN} $$\n",
545544
"\n",
546545
"In order to obtain a single value indicating the performance of the classifier on class $c$, we usually take the harmonic mean of the above two, or the [f1-score](https://en.wikipedia.org/wiki/F1_score) as its called.\n",
547546
"\n",

notebooks/22_clustering.ipynb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@
101101
]
102102
},
103103
{
104-
"attachments": {},
105104
"cell_type": "markdown",
106105
"metadata": {},
107106
"source": [
@@ -1284,7 +1283,7 @@
12841283
"The smaller the value of $I_C$, the less the variance in cluster $C$, meaning that the cluster is more \"compact\". Metrics like this are called **inertia**. To calculate the total inertia, we can just sum the inertia of each cluster.\n",
12851284
"\n",
12861285
"$$\n",
1287-
"Ι = \\sum_{C = 1}^k{I_C}\n",
1286+
"I = \\sum_{C = 1}^k{I_C}\n",
12881287
"$$\n",
12891288
"\n",
12901289
"Many times, this is be divided with the total variance of the data.\n",

notebooks/23_clustering_application_nlp.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@
593593
"\\end{array} \\right)\n",
594594
"$$\n",
595595
"\n",
596-
"Each element **$x_{ij}$** represents **how many times term $t_j$ appears in document $d_i$**."
596+
"Each element $x_{ij}$ represents **how many times term $t_j$ appears in document $d_i$**."
597597
]
598598
},
599599
{

0 commit comments

Comments
 (0)