Get ML model after hyperparameter tuning

Hi all,
we are using a Parameter Optimization Loop for hyperpararmeter tuning of certain machine learning models. The workflow looks (very roughly) like this:

Is there any way to obtain (after the loop has terminated) not only the optimized parameters but also the optimized model itself that has been built with these optimal parameters?
Currently I don’t see any other way than having another Learner node after the loop which builds the optimal model again. This seems a bit inefficient to me (because that same model has been created already), especially when the learning part takes long…

Any comments/ideas? :slight_smile:


Hello @atothep,

don’t think so. You need to use Table Row to Variable to get best parameters and apply them to Learner node.

There is already a ticket in system (Internal reference: AP-11486) for Parameter Optimization Loop End node to save best model and will note there your request.



Alright, thanks for confirming that this is the only way to do it at the moment!
Good to read that you have that issue on your list already :wink:

1 Like

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