PUBDEV-9: Port over changes to DeepLearning from h2o re. auto-tuning.