Skip to content
Snippets Groups Projects
Commit b1e1afae authored by Felix Ramnelöv's avatar Felix Ramnelöv
Browse files

Lab 2: Assignment 2 code cleanup

parent 2c46589c
No related branches found
No related tags found
No related merge requests found
...@@ -102,9 +102,6 @@ optimal_tree <- prune.tree(fit2c, best = optimal_leaves) ...@@ -102,9 +102,6 @@ optimal_tree <- prune.tree(fit2c, best = optimal_leaves)
summary(optimal_tree) summary(optimal_tree)
plot(optimal_tree)
text(optimal_tree, pretty=0)
# ----4.---- # ----4.----
TP <- function(x, x_pred) { TP <- function(x, x_pred) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment