Wednesday, November 25, 2015

Ruby SVM text classifier

There are several useful Ruby gems/libraries for using Support Vector Machines (SVM) and another to convert text into SVM style feature vectors. I recently packaged up what I needed with a Ruby script to fold the data for testing, etc.

Here is the github repository.

It took me a short while to get everything working together so hopefully this will save you several minutes of extra effort if you want to use SVM for text classification.

No comments: