Parameter Optimization for categorical parameters?

How would I go about creating an optimization loop that chooses different categorical parameters? e.g. finding optimal kernel type in an SVM. It seems like you can only create parameters to search that are numerical.

Thanks

Hi there @HFulcher,

welcome to KNIME Community!

There is a ticket for this and will add +1 on it for you. Also check this topic where it was discussed:

Br,
Ivan

1 Like

Great, thanks very much @ipazin! Looking forward to seeing this get put into KNIME

1 Like

Hi @HFulcher,
if you want to do grid search, you can also define your parameters using multiple Table Creators, then cross join the tables and use a Table Row To Variable Loop Start for your optimization loop. Just collect the metric you want to maximize in the Loop End and then choose the set of parameters that has the highest score. It does not give you all the other nice optimization options that the Parameter Optimization Loop has, but works just as well for grid search.
Kind regards
Alexander

4 Likes

Hi @AlexanderFillbrunn, that’s really helpful, thanks!

1 Like

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