Skip to content

Commit 7b650ca

Browse files
committed
Minor copy-edits
1 parent 5268aad commit 7b650ca

3 files changed

+5
-4
lines changed

notebooks/03.02-Data-Indexing-and-Selection.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -185,7 +185,7 @@
185185
"cell_type": "markdown",
186186
"metadata": {},
187187
"source": [
188-
"``DataFrame`` objects can even be modified with a dictionary-like syntax.\n",
188+
"``Series`` objects can even be modified with a dictionary-like syntax.\n",
189189
"Just as you can extend a dictionary by assigning to a new key, you can extend a ``Series`` by assigning to a new index value:"
190190
]
191191
},

notebooks/05.03-Hyperparameters-and-Model-Validation.ipynb

+1-1
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@
425425
"metadata": {},
426426
"source": [
427427
"To look at this in another light, consider what happens if we use these two models to predict the y-value for some new data.\n",
428-
"In the following figures, the red points indicate data that is omitted from the training set:\n",
428+
"In the following diagrams, the red/lighter points indicate data that is omitted from the training set:\n",
429429
"\n",
430430
"![](figures/05.03-bias-variance-2.png)\n",
431431
"[figure source in Appendix](06.00-Figure-Code.ipynb#Bias-Variance-Tradeoff-Metrics)\n",

notebooks/05.08-Random-Forests.ipynb

+3-2
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@
145145
"cell_type": "markdown",
146146
"metadata": {},
147147
"source": [
148-
"Notice that after the first split, every point in the upper branch is yellow, so there is no need to further subdivide this branch.\n",
148+
"Notice that after the first split, every point in the upper branch remains unchanged, so there is no need to further subdivide this branch.\n",
149149
"Except for nodes that contain all of one color, at each level *every* region is again split along one of the two features."
150150
]
151151
},
@@ -519,7 +519,7 @@
519519
"cell_type": "markdown",
520520
"metadata": {},
521521
"source": [
522-
"Here the true model is shown in the smooth gray curve, while the random forest model is shown in red.\n",
522+
"Here the true model is shown in the smooth gray curve, while the random forest model is shown by the jagged red curve.\n",
523523
"As you can see, the non-parametric random forest model is flexible enough to fit the multi-period data, without us needing to specifying a multi-period model!"
524524
]
525525
},
@@ -727,6 +727,7 @@
727727
}
728728
],
729729
"metadata": {
730+
"anaconda-cloud": {},
730731
"kernelspec": {
731732
"display_name": "Python 3",
732733
"language": "python",

0 commit comments

Comments
 (0)