From 7c44a4e4045bd28860b3ede872745d61d00fef56 Mon Sep 17 00:00:00 2001 From: happylittletree Date: Fri, 12 May 2023 10:50:11 +0100 Subject: [PATCH] Update 07-how-random-forests-really-work.ipynb corrected Gini explanation as it was backwards. --- 07-how-random-forests-really-work.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/07-how-random-forests-really-work.ipynb b/07-how-random-forests-really-work.ipynb index 7da2d3e604..b7e063821a 100644 --- a/07-how-random-forests-really-work.ipynb +++ b/07-how-random-forests-really-work.ipynb @@ -1243,7 +1243,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "What this calculates is the probability that, if you pick two rows from a group, you'll get the same `Survived` result each time. If the group is all the same, the probability is `1.0`, and `0.0` if they're all different:" + "What this calculates is the Gini impurity, which measures the probability that, if you pick two rows from a group, their `Survived` results will be different. If the group is all the same, the Gini impurity is `0.0`, and `1.0` if they're all different:" ] }, {