SimonDedman / gbm.auto

Machine-learning Boosted Regression Tree software suite for species distribution modelling in R
https://doi.org/10.1371/journal.pone.0188955
Other
18 stars 6 forks source link

Loop: Yaxis ranges wrong, ave&min factor plot lines #31

Closed SimonDedman closed 6 years ago

SimonDedman commented 6 years ago

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.

SimonDedman commented 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.

SimonDedman commented 6 years ago

FIXED