From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(960 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
(959 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
(899 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
(883 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
(849 Views)