LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hyperplane between two classes of points

Hi there,

I would like to know if there is a simple algorithm to find the equation of a line that best separate two sets of points.

I have found some hints when reading documentation about SVM and clustering. I have found some algorithms to find a hyperplane (wich is a line in 2D problems) maximising the margin between the sets of points.

I know that classifiers in Ni Vision are based on this kind of things, but there is no simple function concerning 2D problems.

hyperplane.png

 

Just let me know if you have some ideas/solutions//VIs Smiley Happy

 

Thanks

NTA_LabView_certified_Developper.jpg
0 Kudos
Message 1 of 2
(2,447 Views)

HelloToto26,

 

Which version/edition of LabVIEW are you using ?

 

Have you tried the Linear Programming functions in the Mathematics VIs ? You have few functions that should help on this :

http://zone.ni.com/reference/en-XX/help/371361G-01/gmath/curve_fitting_vis/

http://zone.ni.com/reference/en-XX/help/371361G-01/gmath/linear_fit/

 

You also have and advanced functions sub-palette

http://zone.ni.com/reference/en-XX/help/371361G-01/gmath/advanced_curve_fitting_vis/

 

Here is also a tutorial with an overview of curve fitting models and methods in LabVIEW

http://zone.ni.com/devzone/cda/tut/p/id/6954

 

Is that answering to your question ?

 

Regards,

0 Kudos
Message 2 of 2
(2,408 Views)