I have created the following workflow where i try to find the best subset of features to analyze using the feature selection loop. I use a K-NN node as my classifier and wanted to add a phase of hyperparameter tuning by trying out different possible values for k. I know how to do this 2 steps separately but when i try to connect all the nodes the second loop end doesn’t seem to see the Accuracy metric so i can’t maximize it
Can someone tell me how to set the accuracy as a flow variable so the parameter optimization loop end node can see it ?
Hi @gaeruo and welcome to the forum.
At first glance, I can see a type mismatch in your last screenshot - scoreVariable is looking for a string a you are providing a double, Accuracy.
Are you able to upload your workflow with an example dataset so someone can take a closer look? Screenshots only get us so far
1 Like