K Nearest Neighbor Assistance

Hello Knime Community,

I need assistance with troubleshooting my algorithm. When trying to connect the Partitioning to the K Nearest Neighbor, I presented with an error message "The Dialog cannot be opened for the following reason: No column in spec compatible to “NominalValue”.

I am trying to do the following steps:

  • Partitioning Node: Using the Partitioning node to split the data into training and test sets. Set the partitioning to 70% Training and 20% Test for records 1-300.

  • k-Nearest Neighbor Node: Creating a k-Nearest Neighbor node and connect it to the Training data output from the Partitioning node.

  • Scorer Node: Connect a Scorer node to the k-Nearest Neighbor node. This will evaluate the model’s accuracy using the Test data from the partition.

  • Table Node: Attach a Table node to the second output port of the Scorer node to view the accuracy results.

  • Run Model for k Values: Configure the k-Nearest Neighbor node to run the model for k values ranging from 3 to 6.

Would someone be kind enough to check that I have not missed a step?, I have been working on this item for the past week and have search through every single source without a solution.

Thank you kindly,

Justin