04-23-2016 12:35 AM
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 !
Solved! Go to Solution.
04-24-2016 10:10 AM - edited 04-24-2016 10:11 AM
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...
04-24-2016 11:41 AM
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!!
04-24-2016 04:47 PM
04-25-2016 06:23 AM
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.
04-26-2016 04:39 AM
Thankyou !!!
Issue solved.
04-26-2016 04:47 AM
04-26-2016 05:32 AM
Yes sir.....it's done.