Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos in Decision Trees #313

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions book/dt.tex
Original file line number Diff line number Diff line change
Expand Up @@ -247,7 +247,7 @@ \section{The Decision Tree Model of Learning}
like this course.

More formally, you will consider each feature in turn. You might
consider the feature ``Is this a System's course?'' This feature has
consider the feature ``Is this a Systems course?'' This feature has
two possible value: no and yes. Some of the training examples have an
answer of ``no'' -- let's call that the ``NO'' set. Some of the
training examples have an answer of ``yes'' -- let's call that the
Expand All @@ -269,16 +269,16 @@ \section{The Decision Tree Model of Learning}
In the YES set (where you guessed ``hate'') you would classify $8$
(out of $10$) of them correctly. So overall you would classify $18$
(out of $20$) correctly. Thus, we'll say that the \emph{score} of the
``Is this a System's course?'' question is $18/20$.
``Is this a Systems course?'' question is $18/20$.

\thinkaboutit{How many training examples would you classify correctly
for each of the other three features from
Figure~\ref{fig:dt_histogram}?}

You will then repeat this computation for each of the available
features to us, compute the scores for each of them. When you must
choose which feature consider first, you will want to choose the one
with the highest score.
features to us and compute the scores for each of them. When you must
choose which feature you should consider first, you will want to choose
the one with the highest score.

But this only lets you choose the \emph{first} feature to ask about.
This is the feature that goes at the \emph{root} of the decision tree.
Expand Down
4 changes: 2 additions & 2 deletions book/perc.tex
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ \section{Bio-inspired Learning}
example. Otherwise it predicts a negative example.

The weights of this neuron are fairly easy to interpret. Suppose that
a feature, for instance ``is this a System's class?'' gets a zero
a feature, for instance ``is this a Systems class?'' gets a zero
weight. Then the activation is the same regardless of the value of
this feature. So features with zero weight are ignored. Features
with positive weights are indicative of positive examples because they
Expand All @@ -88,7 +88,7 @@ \section{Bio-inspired Learning}
decrease.

\thinkaboutit{What would happen if we encoded binary features like
``is this a System's class'' as no=$0$ and yes=$-1$ (rather than the
``is this a Systems class'' as no=$0$ and yes=$-1$ (rather than the
standard no=$0$ and yes=$+1$)?}

It is often convenient to have a non-zero \concept{threshold}. In
Expand Down