キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

Kernel function in SVM

解決済み
解決策を見る

Hello all,

 

I am using SVM available in machine learning toolkit. In SVM, there is one input 'kernel function' in SVM learn. Another VI 'Default Kernel matrix' provides this kernel function. In this VI, there is one block 'open VI reference' which is accepting 'Distance VI' (a strictly typed VI Reference) as an input.

 

I want to create another Distance VI according to my desired data type. How can i create new distance VI or modify that only?

 

Please suggest the way...

 

Thanks & regards ! 

0 件の賞賛
メッセージ1/8
5,092件の閲覧回数

What the code is doing is loading the Distance VI dynamically. In order to create your own function you need to create one that has the exact same connections as the strictly typed VI reference you see. Next, there is another input to the open VI reference function that is the path to the VI to be opened. This value needs to point to your VI.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 件の賞賛
メッセージ2/8
5,055件の閲覧回数

Thank you for the prompt reply !

 

I couldn't understand what the distance VI is doing or what is their in its block diagram.........so that i could create another distance VI according to my data types. As this distance VI is having variant data type whereas i need 2-D array type. How can i see block diagram of distance VI to make the modifications in it?

 

Regards!!

0 件の賞賛
メッセージ3/8
5,035件の閲覧回数
解決策
受理者 akanksha91
Well the value wired to the VI path on the open reference function should tell you where their version of the VI is.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 件の賞賛
メッセージ4/8
5,014件の閲覧回数

Sorry....but i couldn't understand.

 

The path going to input 'vi path' is 'ml_Kernel_Guassian Kernel.vi'. I am not getting the function of distance VI or what does its block diagram contain so that i can create new refnum having different data types not the variant as in distance VI.  My 'ml_Kernel_Gaussian Kernel is attached'. Below is the image of 'Default Kernel Function.vi' showing the distance VI encircled in red. 

 

Please suggest from where i can edit the distance VI....or create a new one as refnum, having 2-D array data type instead of variant.

 

Inline image 3

0 件の賞賛
メッセージ5/8
4,992件の閲覧回数

Thankyou !!!

 

Issue solved.

0 件の賞賛
メッセージ6/8
4,965件の閲覧回数
If the path is just a VI name then the VI in question is already in memory.

Mike...

Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
0 件の賞賛
メッセージ7/8
4,959件の閲覧回数

Yes sir.....it's done.

0 件の賞賛
メッセージ8/8
4,953件の閲覧回数