Distributed in-memory ML platform · AutoML + scalable estimators · verified against H2O-3 3.46 (2026)

H2O cheat sheet

H2O-3 is an open-source, distributed, in-memory ML platform. A Java backend cluster does the compute; the Python client drives it. You load data into an H2OFrame, and either let H2OAutoML train & rank many models automatically, or fit individual scalable estimators (GBM, RF, GLM, XGBoost, Deep Learning). Strong on tabular data at scale, with built-in explainability and MOJO export for production. This sheet targets H2O-3 3.46.

cluster & frames data prep AutoML estimators explain & deploy gotcha most common

Verified 2026-08-24 against the official docs at docs.h2o.ai (H2O-3 3.46 Python module). Needs Java for the backend cluster; the Python client talks to it over REST.

Outline

Start the cluster, load an H2OFrame, then AutoML (easy) or a specific estimator (control). Data & models live in the cluster — the Python objects are handles.

Start

  1. 1 · Install & init
  2. 2 · H2OFrame
  3. 3 · Data prep

Model

  1. 4 · AutoML
  2. 5 · Estimators
  3. 6 · Performance

Ship

  1. 7 · Explainability
  2. 8 · Save & MOJO
  3. 9 · Gotchas
  4. Worth memorizing

Start

Bring up the cluster and get data in.

1Install & init3.46
2H2OFramedata in the cluster
3Data prepbefore training

Model

AutoML for a quick strong baseline; estimators for control.

4AutoMLthe easy button
5Estimatorsspecific models
6Performanceevaluate

Ship

Explain and deploy.

7Explainabilityunderstand models
8Save & MOJOproduction
!Common gotchasread before shipping

Worth memorizing

h2o.init() starts the clusterJava backend; Python client drives it
H2OFrame lives in the clusterimport_file loads there; as_data_frame() pulls it local
asfactor() for classificationnumeric target = regression (silent trap)
train by column namesy = target name, x = predictor name list
H2OAutoML.train then .leaderranked leaderboard incl. stacked ensembles
nfolds for built-in CVno manual loop
model_performance(test)auc/rmse/confusion_matrix
explain() = full reportvarimp + SHAP + PDP in one call
download_mojo for productionportable, cluster-free, version-stable scoring