# H2O AutoML Leaner

**URL:** <https://forum.knime.com/t/h2o-automl-leaner/62132>\
**Category:** KNIME Analytics Platform\
**Created:** [February 20, 2023, 1:03pm UTC](https://forum.knime.com/t/h2o-automl-leaner/62132 "2023-02-20T13:03:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![helfortuny](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/h/ec9cab/32.png) [@helfortuny](https://forum.knime.com/u/helfortuny)\
**Post date:** [February 20, 2023, 1:03pm UTC](https://forum.knime.com/t/h2o-automl-leaner/62132/1 "2023-02-20T13:03:10Z")

</div>

Hi!!!

I have a question. I’m trying to build a classification model. I’m using right now the H2O model, because with this model I am available to specify the weight of each row with an extra column. I’m interested with that option, becasue I have a very unbalanced dataset.

I have found a node called H20 AutoML Learner, which trains the dataset with all the models selected in the configuration and returns the leading model among these. Before, I was one by one implementing every model for classification, using a loop start and end to optimise its parameters and, at the end, I was comparing the accuracy among all the models. I understand that with this node I can do exactly the same: optimise parameters of the model and compare different models, right?

So it should be better to use that node than all the nodes I used before, right?

---

<div class="post-metadata">

**Author:** ![Daniel\_Weikert](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Daniel\_Weikert](https://forum.knime.com/u/Daniel_Weikert)\
**Post date:** [February 20, 2023, 5:40pm UTC](https://forum.knime.com/t/h2o-automl-leaner/62132/2 "2023-02-20T17:40:08Z")

</div>

This might depend on whether AUTOML also optimizes parameters or only benchmarks individual models.  
br

---

<div class="post-metadata">

**Author:** ![evert.homan\_scilifelab.se](https://forum-cdn.knime.com/user_avatar/forum.knime.com/evert.homan_scilifelab.se/32/18181_2.png) [@evert.homan\_scilifelab.se](https://forum.knime.com/u/evert.homan_scilifelab.se)\
**Post date:** [February 20, 2023, 8:28pm UTC](https://forum.knime.com/t/h2o-automl-leaner/62132/3 "2023-02-20T20:28:41Z")

</div>

[From the KNIME Hub:](https://hub.knime.com/knime/extensions/org.knime.features.ext.h2o/latest/org.knime.ext.h2o.nodes.learner.automl.classification.H2OAutoMLClassificationNodeFactory)

Learns the specified types of models using [H2O AutoML](https://docs.h2o.ai/h2o/latest-stable/h2o-docs/automl.html) and returns the leading model amongst these. As part of the learning process, **hyperparameters are automatically optimized by H2O** using a random grid search.

---

<div class="post-metadata">

**Author:** ![SimonS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/simons/32/3861_2.png) [@SimonS](https://forum.knime.com/u/SimonS)\
**Post date:** [February 21, 2023, 8:35am UTC](https://forum.knime.com/t/h2o-automl-leaner/62132/4 "2023-02-21T08:35:11Z")

</div>

Hi all,

as @evert.homan_scilifelab.se already pointed out, the [H2O AutoML Learner](https://kni.me/n/kcChJMLi6Kqwq0ZT) also optimizes hyperparameters. It is a very powerful node.

> [@helfortuny](#):
>
> So it should be better to use that node than all the nodes I used before, right?

There are few downsides with the AutoML learner:

1. It does not support all the models for which there are separate nodes for. You can see the list of models in the Algorithm Settings tab.
2. It needs more computational power and time to run than a single node.
3. It does not output a comparison of the performance for each hyperparameter and model combination. If you do it manually as before, you get more insights.

It depends on what you want to achieve. If you can live with the downsides or if the model it gives out works for you, the node might be perfect for you.  
The AutoML learner might also just be used to get a feeling of which model actually performs best. Afterwards, one could still do a manual optimization of that specific model.

Hope that helps a bit.  
Best,  
Simon

---

<div class="post-metadata">

**Author:** ![Daniel\_Weikert](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/d/e47c2d/32.png) [@Daniel\_Weikert](https://forum.knime.com/u/Daniel_Weikert)\
**Post date:** [February 21, 2023, 5:27pm UTC](https://forum.knime.com/t/h2o-automl-leaner/62132/5 "2023-02-21T17:27:15Z")

</div>

Thanks for the update @evert.homan_scilifelab.se  
br

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [February 28, 2023, 5:27pm UTC](https://forum.knime.com/t/h2o-automl-leaner/62132/6 "2023-02-28T17:27:53Z")

</div>

Closed on February 28, 2023, 5:27pm UTC

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
