Skip to content

ChunkyPastaSauce/LabVIEW-libsvm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Palette

Description

A LabVIEW wrapper for libsvm (320). An interface to liblinear (1.19) is also included. The wrapper can currently be considered experimental, as it has not been extensively tested.

Although there exists an old wrapper for libsvm, it uses the (now) unsupported CIN interface and passes data through text files. This implementation uses Call Library Function Nodes, and passes data directly.

The implementation is thread-safe, which means that multiple cross-validation/training/predicting can be executed simultaneously. This can for example be done quick and dirty by placing the VIs in a parallel for loop.

Installation

The easiest way to install the library is through the pre-built VIPM package found under releases. This installs both the VIs and binary components to vi.lib. Currently the only supported system is windows, but unix support will be added at a later point.

The supplied binaries are compiled using Visual Studio 2013. The wrapper is developed in LabVIEW 2014, but the distributed VIPM packages are compatible with LabVIEW 2011 and later. Let me know if you would like me to extend support for previous versions.

Dependencies

Usage

Currently there are three examples included in the palette. Look at the libsvm/liblinear documentation if something should be unclear. The documentation for the python wrapper in scikit-learn is also very useful.

The library primarily consists of VIs that more or less wrap the functions exposed through the libsvm/liblinear API. The data structures used for these calls are relatively similar.

About

A LabVIEW wrapper for libsvm.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 84.4%
  • LabVIEW 14.7%
  • Other 0.9%