Skip to content

Commit

Permalink
Merge pull request fastai#92 from misteroak/misteroak-more-typos
Browse files Browse the repository at this point in the history
Few more typo fixes
  • Loading branch information
jph00 authored Aug 21, 2023
2 parents 5880fa7 + 1a0070f commit c3f072c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 07-how-random-forests-really-work.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,7 @@
"\n",
"We've just re-invented the [OneR](https://link.springer.com/article/10.1023/A:1022631118932) classifier (or at least, a minor variant of it), which was found to be one of the most effective classifiers in real-world datasets, compared to the algorithms in use in 1993. Since it's so simple and surprisingly effective, it makes for a great *baseline* -- that is, a starting point that you can use to compare your more sophisticated models to.\n",
"\n",
"We found earlier that out OneR rule had an error of around `0.215`, so we'll keep that in mind as we try out more sophisticated approaches."
"We found earlier that our OneR rule had an error of around `0.215`, so we'll keep that in mind as we try out more sophisticated approaches."
]
},
{
Expand All @@ -908,7 +908,7 @@
"source": [
"How can we improve our OneR classifier, which predicts survival based only on `Sex`?\n",
"\n",
"How about we take each of our two groups, `female` and `male`, and create one more binary split for each of them. That is: fine the single best split for females, and the single best split for males. To do this, all we have to do is repeat the previous section's steps, once for males, and once for females.\n",
"How about we take each of our two groups, `female` and `male`, and create one more binary split for each of them. That is: find the single best split for females, and the single best split for males. To do this, all we have to do is repeat the previous section's steps, once for males, and once for females.\n",
"\n",
"First, we'll remove `Sex` from the list of possible splits (since we've already used it, and there's only one possible split for that binary column), and create our two groups:"
]
Expand Down

0 comments on commit c3f072c

Please sign in to comment.