OS: Windows 10 Enterprise
KNIME Version: 3.7.1
Node: Random Forest Learner (similar behavior found in Gradient Boosted Trees Learner)
Bug Description:
When working with a dataset that contains a column labeled “id”, the node does not allow the “id” column to be excluded while the “Enforce exclusion” option is enabled. When the “id” column is moved to the Excluded columns section, and the “Enforce exclusion” is enabled, the node resets that column to the Include section when you go back to configure node.
Steps to reproduce bug:
[1] Connect a dataset that contains a column labeled “id”.
[2] Attach the data to a Random Forest Learner node.
[3] Configure the Random Forest Learner node to exclude the “id” column, and enable “Enforce exclusion”
[4] Click Apply/Ok to close node’s configuration window.
[5] Open the configuration window of the Random Forest Learner node again, and inspect the excluded columns. The “id” column has been placed into the “Include” section again.
The inverse problem occurs when you attempt to Include the “id” column while Enforcing Inclusion… the “id” column is reset into the Excluded section…
This issue is specific to columns labeled “id”.