NI Labs Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

k-nearest neighbour implementation

I am trying to implement the k-nn algortihm to train the datasets to recognise inputs and classify them into the right class. However, I keep receiving the error stating 'The data type of the variant is not compatible with the data type wired to the type input'. Any ideas as to what could possibly be the problem?

I have attached my coding for reference.

0 Kudos
Message 1 of 1
(3,051 Views)