# AuotML Node Stopped Executing: Training/Testing Models failed

**URL:** <https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474>\
**Category:** KNIME Analytics Platform\
**Tags:** machine-learning\
**Created:** [April 11, 2024, 7:34pm UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474 "2024-04-11T19:34:23Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![RishalJ](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/9de053/32.png) [@RishalJ](https://forum.knime.com/u/RishalJ)\
**Post date:** [April 11, 2024, 7:34pm UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/1 "2024-04-11T19:34:23Z")

</div>

While developing our workflow, we encountered an issue where the AutoML Node stopped executing with an error: “Training and/or testing for all models failed, try to select more models or change input features” during the process of determining the optimal machine learning model.

 ![pasted image 0](https://forum-cdn.knime.com/uploads/default/original/3X/6/0/6044240d12337a2157553d0480d8bc23443d3598.png)  
Various tried options for the Model

AutoML Best Model

 ![pasted image 0 (1)](https://forum-cdn.knime.com/uploads/default/original/3X/4/b/4bbc158ba8531ccbef00ea5848056f52c6e4ee49.png)

AutoML Best Model \> Detect Models Static Predictions

 ![pasted image 0 (2)](https://forum-cdn.knime.com/uploads/default/original/3X/2/8/28a21a83edba3a3cd68ab3953179fff3a52816df.png)

AutoML Best Model \> Detect Models \>Breakpoint

 ![pasted image 0 (3)](https://forum-cdn.knime.com/uploads/default/original/3X/3/2/3278899414565be003984061fb1a1dcd96dada74.png)

We have decreased the number of models, but the issue is still appears.

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [April 11, 2024, 7:52pm UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/2 "2024-04-11T19:52:03Z")

</div>

@RishalJ welcome to the KNIME forum. Can you tell us more about your data. And would [other models work](https://hub.knime.com/-/spaces/-/~0dXvsD0vMrv_w6Fw/current-state/) and what result would they give.

And just to be sure you might try and exclude the target from the feature list.

Also try a different metric.

---

<div class="post-metadata">

**Author:** ![RishalJ](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/9de053/32.png) [@RishalJ](https://forum.knime.com/u/RishalJ)\
**Post date:** [April 11, 2024, 8:15pm UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/3 "2024-04-11T20:15:16Z")

</div>

Hello @mlauber71,

Thank you for your response. We are currently using this [AutoML Component](https://hub.knime.com/knime/spaces/Examples/00_Components/Automation/AutoML~33fQGaQzuZByy6hE/current-state) and plugging in this data (Attached). Our target column in “mismatch” which we are trying to predict.  
[processedData.xlsx](https://forum.knime.com/uploads/short-url/8NibgbxDv2r2WThVcxQlcW7KIYh.xlsx) (3.0 MB)

---

<div class="post-metadata">

**Author:** ![rfeigel](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/7ea924/32.png) [@rfeigel](https://forum.knime.com/u/rfeigel)\
**Post date:** [April 12, 2024, 12:36am UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/4 "2024-04-12T00:36:01Z")

</div>

Have you tried to feed your data to a simpler model? This might help isolate the problem.

> **[AutoML Regression and Classification Examples – knime](https://hub.knime.com/knime/spaces/Examples/09_Enterprise/04_Integrated_Deployment/03_AutoML_Deployment/02_AutoML_Regression_and_Classification_Examples~ifIPg5Pr0hCk62GS/most-recent)**
>
> This application is a simple example of AutoML with KNIME Software for regression and classification tasks. The key of this example is the “AutoML (Regression)…

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [April 12, 2024, 4:43am UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/5 "2024-04-12T04:43:04Z")

</div>

@RishalJ I just see that the size of your training set is set to 99% - maybe change that to 80 or 70 and leave out the Keras deep learning model.

---

<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:** [April 12, 2024, 5:08pm UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/6 "2024-04-12T17:08:42Z")

</div>

Have you tried any base model before to have a benchmark?  
br

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [April 12, 2024, 7:41pm UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/7 "2024-04-12T19:41:03Z")

</div>

@RishalJ I took a look at the data you provided. You have 80 Rows, 12 Target cases and +4k features. I do not think one can build a model with this. Is this meant as a sample?

---

<div class="post-metadata">

**Author:** ![RishalJ](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/r/9de053/32.png) [@RishalJ](https://forum.knime.com/u/RishalJ)\
**Post date:** [April 13, 2024, 4:30am UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/8 "2024-04-13T04:30:14Z")

</div>

Hi @mlauber71 ,

We tried adjusting the set to around 65% to 70% along with singling out models one at a time, however it would still break either at of the Detect Models nodes. We have tried the AutoML Regression posted above and it was able to execute successfully.

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [April 13, 2024, 4:54am UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/9 "2024-04-13T04:54:55Z")

</div>

@RishalJ the mismatch variable is formatted as a number so technically you can treat it as a regression problem. You should carefully examine if this is a good idea.

Also maybe convert it to a string and see if the other models would work then.

---

<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:** [July 12, 2024, 4:55am UTC](https://forum.knime.com/t/auotml-node-stopped-executing-training-testing-models-failed/78474/10 "2024-07-12T04:55:28Z")

</div>

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