SvmHelper
Shared helper classes for usage in context of SVM at experteer
Installation
Add this line to your application's Gemfile:
gem 'svm_helper'
And then execute:
$ bundle
Or install it yourself as:
$ gem install svm_helper
Usage
Dataflow is normally something like this:
Job --Preprocessor--> PreprocessedData --Selector--> FeatureVector
The FeatureVector can now be used for training or prediction in a (libsvm) SVM.
Be aware that a FeatureVector has two Attributes:
data: the feature array itself
label: 1 for true, 0 for false
Contributing
- Fork it
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create new Pull Request