Icon

11_​H2O_​AutoML_​Regression_​Model

H2O AutoML for Regression

This example shows how to build a regression model with H2O AutoML, predict new data and score the regression metrics for model evaluation.

1. Prepare:
Load the Combined Cycle Power Plant data, import the resulting KNIME Table to H2O and partition the data for test and train set 20/80.

2. Learn:
We learn the regression model using the "H2O AutoML Learner (Regression)" node using the default algorithm settings but limiting the max runtime to 60 seconds. The node learns and optimizes multiple different models and selects automatically the best one. The node outputs are the selected model and a leaderboard showing the metrics for the different models. The first row of the leaderboard is the selected model.

3. Predict:
Make predictions on test data using the selected model.

4. Score:
In order to evaluate our model, we assess different metrics by scoring the predictions made on the test data.

Training a regression model with H2O AutoMLThis workflow shows how to train a regression model using H2O AutoML inKNIME. We will train a model and predict the reponse of the CombinedCycle Power Plant dataset. Finally we score the performance of our model.Respective H2O tutorial: https://docs.h2o.ai/h2o-tutorials/latest-stable/h2o-world-2017/automl/index.htmlDataset: http://archive.ics.uci.edu/ml/datasets/Combined+Cycle+Power+Plant 1. Prepare 2. Learn 4. Score 3. Predict Start local H2O NodePredictScore predictionLoad Combined Cycle Power Plant data H2O Local Context H2O Predictor(Regression) H2O Numeric Scorer Import to H2O andpartition data Excel Reader H2O AutoML Learner(Regression) Training a regression model with H2O AutoMLThis workflow shows how to train a regression model using H2O AutoML inKNIME. We will train a model and predict the reponse of the CombinedCycle Power Plant dataset. Finally we score the performance of our model.Respective H2O tutorial: https://docs.h2o.ai/h2o-tutorials/latest-stable/h2o-world-2017/automl/index.htmlDataset: http://archive.ics.uci.edu/ml/datasets/Combined+Cycle+Power+Plant 1. Prepare 2. Learn 4. Score 3. Predict Start local H2O NodePredictScore predictionLoad Combined Cycle Power Plant data H2O Local Context H2O Predictor(Regression) H2O Numeric Scorer Import to H2O andpartition data Excel Reader H2O AutoML Learner(Regression)

Nodes

Extensions

Links