There were two releases shortly after one another. First, on December 21st, there was a minor (fix) release 3.22.0.3 immediately followed by a more major release (but still on 3.22 branch) codename Xu, named after mathematician Jinchao Xu, whose work is focused on deep neural networks besides many other fields of research.

Of course, the new 3.22.1.1 release with codename Xu contains all the fixes present in the previous fix release, 3.22.0.3. The following points are highlights of the most impactful changes. For a complete list of changes, fixes, and improvements, please read the recent changes section.

Support for CDH 6.x

H2O now declares support for Cloudera distributions based on Hadoop 3. This includes releases by Cloudera CDH 6.0, CDH 6.1. Support for releases by Hortonworks HDP 3.0 and HDP 3.1are going to be added shortly in one of the releases to follow.

Partial Dependence Plots Can Be Exported

The API to plot partial dependence graphs has been enhanced with the ability to directly export (save to disk) the plots. For both R and Python API, a new parameter named save_to_file has been added. The parameter accepts a string representing a path on a filesystem.

Python

The existing method partial_plot callable on any Model able has been modified by adding the new save_to_file parameter. All the plots are saved into one image file.

R

H2O provides function h2o.partialPlot in R to create the plots. A new optional parameter named save_to has been introduced for this function. In R, different plots are traditionally represented by a separate pointer to a separate image. To honor this contract in H2O R API, the plots are not saved into one file, but one file is created per each feature.

That is the reason why the string containing the filesystem path does not include png suffix. It is added automatically. If the suffix is added accidentally, it is stripped by H2O automatically.

Monotonicity Constraints for GBM

H2O users now have the ability to affect GBM splits by stating monotonic relationships of a feature to the predicted variable. Any subset of features used during model training phase might be restricted with monotonicity constraints.

R

A new argument named monotone_constraints has been added to h2o.gbm(..) function. This argument is optional and accepts a list of key:value. The key is the name of the feature and value is one of {-1,0,1}, where -1 represents decreasing constraint, 0 represents no constraint and 1 represents increasing constraint.

Python

A new argument named monotone_constraints has been added to the H2OXGBoostEstimator’s constructor. This argument is optional and accepts a list of key:value. The key is the name of the feature and value is one of {-1,0,1}, where -1 represents decreasing constraint, 0 represents no constraint and 1 represents increasing constraint.

AutoML Performance Improvement

In version 3.22.0.3, the performance of all models in the AutoML run has been improved. AutoML previously automatically partitioned the training set, setting aside 10% of the data to be used for an early stopping. This dataset was not being used, so now AutoML simply uses the full training dataset to train the models, leading to better model performance. All details, including the actual fixes done, are to be found in PUBDEV-6079 JIRA.

Custom Metrics for Early Stopping

Specification for custom stopping metrics is now supported for GBM, DRF, and GLM algorithms.

There are two new stopping criteria:

custom — for custom metric functions where “less is better”, it is expected that the lower bound is 0

custom_increasing — for custom metric functions where “more is better”

Exporting Checkpoints in AutoML

Throughout the AutoML experiments and Grid searches, resulting models can now be checkpointed. By specifying export_checkpoints_dir value, which is a string pointing to a directory int he filesystem, checkpoints are saved automatically as new models are created.