Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scala Support Vector Machine library

I need a Support Vector Machine library for Scala.

I guess that I should have a look at both Scala and Java implementations, do you recommend me to use any of them in particular?

like image 757
mariosangiorgio Avatar asked Sep 21 '12 18:09

mariosangiorgio


3 Answers

SVMlight has JNI bindings for Java, available for download here. You shouldn't have any problems calling it from Scala code.

like image 156
Ash Wilson Avatar answered Sep 20 '22 11:09

Ash Wilson


Here are two alternatives:

  • https://github.com/zsxwing/scala-svm
  • https://github.com/cjlin1/libsvm (has both Java and C versions). Alternative link: https://www.csie.ntu.edu.tw/~cjlin/libsvm/

I ended up using the second one from Scala without problems. It is published to Maven Central, although not the latest source version.

like image 26
0__ Avatar answered Sep 22 '22 11:09

0__


This one looks promising. Looks like it's constantly updated

like image 30
Will Gu Avatar answered Sep 20 '22 11:09

Will Gu