ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Machine Learning KNN

Hello everyone, I would like to ask if anyone has ever used the KNN machine learning tools in Labview, I would like to use them but I don't know. can i do a test data test with the training data i have created? Please help me

frhnnmhd_0-1665049290350.png

 

0 Kudos
Message 1 of 5
(1,841 Views)

or I need to get the equation by testing the test data with the training data first with another application like matlab?

0 Kudos
Message 2 of 5
(1,840 Views)

in the 2011 version, 2 examples are provided

 

alexderjuengere_0-1665061504402.png

 

 

and I guess in the 2018 version,

there are also examples included

 

 

 


@frhnnmhd wrote:

 can i do a test data test with the training data i have created?

 


yes you can - usually you would use:

alexderjuengere_1-1665061829576.png

 

 

 

0 Kudos
Message 3 of 5
(1,780 Views)

thanks for the answer sir, do you have an exampleVI using mlt tools for testing machine learning data? can you attach the VI so i can see

0 Kudos
Message 4 of 5
(1,764 Views)

@frhnnmhd wrote:

thanks for the answer sir, do you have an exampleVI using mlt tools for testing machine learning data? can you attach the VI so i can see


I don't have a KNN.vi or an KNN.vi example at hand.

 

A Machine Learning demo using a Trainingset to learn the ML model  and a Testset for a first external validation of the trained model, could look like this

 

alexderjuengere_0-1665230728494.png

 

0 Kudos
Message 5 of 5
(1,730 Views)