07-07-2016 10:06 AM
Hello,
I am trying to use the kNN of MLT of Labview but I get always the error above. Few people asked in the forum asked the question but the answer is still mysterious. I tried to build a 1 #D array of variants after converting 2D array to cluster but it is not working.
Could you please help me? I attached a simple VI of the kNN.
Thanks,
Zied
07-07-2016 10:59 AM
Well, I (for one) have no idea what "the kNN of MLT" means. I looked at your VI, and there are four missing sub-VIs, no explanation of what is supposed to be happening, no understanding why you need variants (seems to be needed by k-Nearest Neighbor, which might explain kNN ...).
Incidentally, if we can't know the "input of the kNN", we can't advise you why your variant is incompatible except to say "you made it wrong" ...
Bob Schor
07-07-2016 04:34 PM
07-08-2016 09:07 AM
Hi again, you can find attached the VI with its dependencies.
Thanks,
Zied
07-11-2016 03:34 PM
Hi Zied,
I'm not sure if you saw this thread, but it looks like they were having the same issue you are, and there's a solution listed in the responses. Go take a look and let us know if that solution doesn't work for you.
07-14-2016 06:07 AM
Hi,
I read all the post in the forum about the SVM but the answer is still confusing and it did not work for me. And yes I am talking about the LabVIEW Machine Learning Toolkit.
Thanks,
Zied
07-14-2016 07:16 AM
Error Code 91 will be generated if you are trying to convert the variant data to a Cluster or any other data type without any data is feed to varaiant.
Make sure your varaiant contains expetced data before converting to data