Skip to content

Commit

Permalink
Merge pull request #46 from youngroklee-ml/45-correct-typo-ch8
Browse files Browse the repository at this point in the history
correct typo
  • Loading branch information
youngroklee-ml authored Mar 9, 2024
2 parents 844e0c2 + c5a398c commit 28a988d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion final/ch08_ex02_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ T2 <- snip.rpart(T1, toss = 7)
print(T2)

# the second pruning:
# nude number 3 is corresponding to t2 in the book
# node number 3 is corresponding to t2 in the book
T3 <- snip.rpart(T2, toss = 3)
print(T3)

Expand Down
2 changes: 1 addition & 1 deletion original/ch08_ex02_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ T1 <- tree_maximal
T2 <- snip.rpart(T1, toss = 7) # node number corresponding to t5 in the book
print(T2)

T3 <- snip.rpart(T2, toss = 3) # nude number corresponding to t2 in the book
T3 <- snip.rpart(T2, toss = 3) # node number corresponding to t2 in the book
print(T3)

# ex8.7
Expand Down
2 changes: 1 addition & 1 deletion revised/ch08_ex02_tree.R
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ T2 <- snip.rpart(T1, toss = 7)
print(T2)

# the second pruning:
# nude number 3 is corresponding to t2 in the book
# node number 3 is corresponding to t2 in the book
T3 <- snip.rpart(T2, toss = 3)
print(T3)

Expand Down

0 comments on commit 28a988d

Please sign in to comment.