@@ -172,7 +172,7 @@ p_nleaves_vanilla <- df_nleaves[ind_vanilla,] %>%
172172 ylab(" Number of leaves" ) +
173173 xlab(" Boosting iteration" ) +
174174 ggtitle(" Method: Vanilla" ) +
175- scale_x_continuous(trans = ' log2' , breaks = 2 ^ seq(2 ,10 ,2 )) +
175+ scale_x_continuous(trans = ' log2' , breaks = 2 ^ seq(0 ,10 ,2 )) +
176176 scale_y_continuous(trans = ' log2' , limits = c(2 , y_axis_max )) +
177177 scale_color_manual(values = cbp2 [4 : 1 ], breaks = c(" 100" , " 1000" , " 10000" , " 100000" )) +
178178 theme(# legend.position=c(1,1),legend.justification=c(1,1),
@@ -195,7 +195,7 @@ p_nleaves_gsub <- df_nleaves[ind_gsub,] %>%
195195 ylab(" Number of leaves" ) +
196196 xlab(" Boosting iteration" ) +
197197 ggtitle(" Method: Global-subset" ) +
198- scale_x_continuous(trans = ' log2' , breaks = 2 ^ seq(2 ,10 ,2 )) +
198+ scale_x_continuous(trans = ' log2' , breaks = 2 ^ seq(0 ,10 ,2 )) +
199199 scale_y_continuous(trans = ' log2' , limits = c(2 , y_axis_max )) +
200200 scale_color_manual(values = cbp2 [4 : 1 ], breaks = c(" 100" , " 1000" , " 10000" , " 100000" )) +
201201 theme(# legend.position=c(1,1),legend.justification=c(1,1),
@@ -238,10 +238,10 @@ df_convergence$model[df_convergence$model == "gsub1e+05"] = "global-subset-10000
238238p_convergence <- df_convergence %> %
239239 ggplot(aes(x = iteration , y = loss , group = model )) +
240240 # geom_point() +
241- geom_line(aes(linetype = model , colour = model ), size = 1 ) +
241+ geom_line(aes(linetype = model , colour = model ), size = 0.8 ) +
242242 ylab(" Test loss" ) +
243243 xlab(" Boosting iteration" ) +
244- scale_x_continuous(trans = ' log2' , breaks = 2 ^ seq(2 ,10 ,2 )) +
244+ scale_x_continuous(trans = ' log2' , breaks = 2 ^ seq(0 ,10 ,2 )) +
245245 theme_bw() +
246246 scale_color_manual(values = col_conv ) +
247247 scale_linetype_manual(values = ltype_conv ) +
0 commit comments