Adding more distance weights to k nearest neighbor classifier

Can someone assist me in adding some more distance-weights to the k nearest neighbor node? I can't event locate the source code for this node (which seems to be KNIME Core node).

Hi Torczyk,

In case you would like to use a certain distance function check Distance Matrix Calculate and K Nearest Neighbor (Distance Function) nodes. In case you would like to include additional distance, the source code of KNN nodes is on github 

Hope it helps!

Best, Daria

Hello Daria,

Do you know which package is the KNN code (Distance Function)?

Regards, Laura

1 Like