Skip to content

book1, typo page 5 - Inconsistent decision rule inequality in Iris decision tree example: <= 2.45 vs < 2.45 #721

Description

@chenyangsu

Hi ProbML team,

I noticed a small inconsistency in the Iris decision tree example in Section 1.2.1.3, Learning a classifier.

In Figure 1.4(a), the root node of the decision tree uses the rule:

petal length (cm) <= 2.45

However, in the text immediately below, the corresponding decision rule is written as:

Setosa if petal length < 2.45
Versicolor or Virginica otherwise

So the inequality differs between the figure and the text - the figure uses <= 2.45, while the text uses < 2.45.

Suggested correction: update the text to match the figure, e.g.

Setosa if petal length <= 2.45
Versicolor or Virginica otherwise

Thanks for maintaining this excellent resource!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions