Skip to content

Commit 072a8a7

Browse files
steelblue/orange in cls2 predictor selection irrelevant plot
1 parent 29ef8bf commit 072a8a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/classification2.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1436,7 +1436,7 @@ res_tmp <- res %>% pivot_longer(cols=c("accs", "fixedaccs"),
14361436
plt_irrelevant_nghbrs <- ggplot(res_tmp) +
14371437
geom_line(mapping = aes(x=ks, y=accuracy, color=Type)) +
14381438
labs(x = "Number of Irrelevant Predictors", y = "Accuracy") +
1439-
scale_color_discrete(labels= c("Tuned K", "K = 3")) +
1439+
scale_color_manual(labels= c("Tuned K", "K = 3"), values = c("darkorange", "steelblue")) +
14401440
theme(text = element_text(size = 17), axis.title=element_text(size=17))
14411441
14421442
plt_irrelevant_nghbrs

0 commit comments

Comments
 (0)