Parameter optimization with boolean input


Is there any way to use parameter optimization node with Decision Tree to automatically change the input variable for boolean (checkbox) and string (dropdownlist)?

For example, I would like to compare the accuracy of decision tree if it using pruning or not, with binary nominal split enable or disable.


The dropdown flow variables are easy enough, in most cases you just need to map an index to the cases that you want to test (No pruning vs MDL).  For booleans, a sneaky trick is that you can use a flow variable with the value of either "TRUE" or "FALSE" to control their settings, even though we don't offically support the bool type in flow variables.  In both cases, I would likely reccomend to use the Rule Engine Variable node to make your case mappings.