lib svm 3 ruby ffi bindings
License
no0p/libsvmffi
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
== Introduction This is alpha grade software. Under development. But simple use cases may be worth checking out. http://www.csie.ntu.edu.tw/~cjlin/libsvm/ libsvm version 310 == Installation 1. download (see url above) 2. make lib 3. place .so in load path gem install libsvmffi == Usage #> require 'libsvmffi' #> m = Libsvmffi::Model.new #> m.add :good, {:height => 1, :width => 1, :length => 1} #> m.add :bad, {:height => 10, :width => 3, :length => 6} #> m.train #> m.classify({:height => 1, :width => 1.1, :length => 1}) #=> :good == Source Code https://github.com/bdigital/libsvmffi Assistance developing is welcome.
About
lib svm 3 ruby ffi bindings
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published