From b1e1afaeaeae5543e1b741150500cee6f8e1d782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Ramnel=C3=B6v?= <felra653@student.liu.se> Date: Wed, 4 Dec 2024 14:32:11 +0100 Subject: [PATCH] Lab 2: Assignment 2 code cleanup --- lab2/assignment2.R | 3 --- 1 file changed, 3 deletions(-) diff --git a/lab2/assignment2.R b/lab2/assignment2.R index 6e4780a..941f441 100644 --- a/lab2/assignment2.R +++ b/lab2/assignment2.R @@ -102,9 +102,6 @@ optimal_tree <- prune.tree(fit2c, best = optimal_leaves) summary(optimal_tree) -plot(optimal_tree) -text(optimal_tree, pretty=0) - # ----4.---- TP <- function(x, x_pred) { -- GitLab