oysstu / labview-libsvm Goto Github PK
View Code? Open in Web Editor NEWA LabVIEW wrapper for libsvm and liblinear.
License: Other
A LabVIEW wrapper for libsvm and liblinear.
License: Other
I am getting linker error for 'libsvm.lib'. Could you please help me to rebuild the dll?
error LNK1181: cannot open input file 'libsvm.lib'
Thanks in advance.
Hi,
I used LibSVM Dense Train.vi (Epsion-SVR) in my project, All the result is consistent with the model generated by MATLAB LibSVM library. Specifically, I noticed that the Model that it generated has nSV as empty.
When I use svmdense_predict.vi (Predict), it generate error message "Uninitialized model passed to libsvm". I located this error code in
LabVIEW-libsvm/cpp/LabVIEW-libsvm-dense/LabVIEW-libsvm-dense.cpp
in line 437.
I suspect that it is because the model created by LibSVM Dense Train.vi (Epsilon-SVR) has nSV as empty. (see line 436 checking if nSV is empty, throw error if it is empty)
I will appreciate it if you can take a look. Since I am not an expert in LibSVM implementation, I am not certain how to handle nSV in case of regression prediction.
Thanks in advance
Hi oysstu,I am a graduate student from Hefei University of Technology.I need to use the libsvm module in LabVIEW, but I am having some problems with it. Do you have a detailed introduction to the use of this module?
I have been having difficulties getting it installed in Labview 2015 64-bit. This is my first time installing a labview library, and I am not sure if the problems I have been having is due to my inexperience. I downloaded the .zip file from github. Then double clicked LVLibSVM.vipb in the folder titled VIPM Build. Then I used the VI Package Manager to build and install libsvm. Everything seemed to work fine until I tried to use one of the examples. I opened LVLibSVM.lvproj in the folder titled LabVIEW. And then I went to LibSVM DenseExamplesSVMDense_Crossvalidation_FromFile.vi. When I opened this vi though it said that it can’t find LabVIEW-libsvm-dense.dll. For some reason it can’t find the .dll files needed to run this example. And I can’t seem to find the .dll file anywhere in the downloaded directory. How do I go about fixing this problem? Any advice you could provide is appreciated.
Hey,
Thanks for this great lib support on LabVIEW, and I also want to try it on NI LinuxRTOS. Do you try this before? or and guidacne you could provide to let me try to compile the compatible so file?
Thanks.
When using LabVIEW to build an executable or installer, it is tricky to include the right DLLs. LabVIEW does not automatically include DLLs used within DLLs. For 32 bit libsvm on Windows, one needs to include msvcp120.dll and msvcr120.dll from C:\Windows\System32 in the project, and also LabVIEW-libsvm.dll. In the Destinations tab of a Build specification, add the folder that will contain the .exe as a new destination. On the Source File Settings tab, make sure all these DLLs will go to that folder.
oysstu, you have already included a nice LabVIEW project file. You could add the above mentioned DLLs into the project's file list, and add the above info to the Readme.
Hi oysstu,
Great code! Just a little detail I noticed, SVMDense_GridSearch_FromFile.vi has the labels C and gamma reversed on its graph. And its subVI Gridsearch Visualization. And SVM_GridSerach_From File. The selection of the optimal C, gamma pair is still correct.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.