Control columns in input in loop

Hi all!

I need to give all the different permutation of columns of my input to a loop to train a machine learning alghoritm over them. I’m trying to figure out the best nodes to do the task. Are there any particular nodes that can do the trick for me?
Thanks in advance for the replys!!

Have a good day everyone!

Hi @qwerty1

Interesting question, take a look at this workflow Control variables in a loop.knwf (731.9 KB) . I needed a little python code to create all possible combinations of input columns. In my example I used the Boston Housing set data, to train a simple model and write the scorer output for every combination of variables.


Screenshot from 2020-07-10 22-01-46
gr. Hans

4 Likes

Hi @HansS
Thank you very much for the reply and the workspace. Interesting solution I’ll take a look at it!

2 Likes

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