Closed SimonDedman closed 6 years ago
linesfiles.csv created by gbm.auto Y values are wrong. Shape is correct. Looks like each value is having ~2.3 subtracted from it?! So nothing to change in loop, fix linesfiles & it'll be fine? (Bin_best_lin_VARAIBLE) L542 plotgrid object wrong probably? match call incorrect? https://stats.stackexchange.com/questions/122721/r-partial-dependency-plots-from-gbm-package-values-and-y-axis/342102#342102 GNG answer: images created by gbm.plot, linesfiles created by plot.gbm. NOT the same, gbm.plot is a wrapper over plot.gbm that does some funky stuff to it.
FIXED
Y axis ranges should be plotted based on the full range of all 3 datasets (min max ave) and the actual values look wrong: compare marginal effect scores for loops vs individual plots.