WIP: check inputs for gbrt