Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
 
 
 
 

README

Hi Everybody,

Thanks for listening to my talk about support vector machines

If you would like to play around in this load up svm.rb in jruby and use the classes SvmTrain and SvmPrediction


An example would be:

`problem = [[5, {1 => 1, 4 => 1987}], [3, {2 => 1, 4 => 1978}], [2, {3 => 1, 4 => 1988}]]`
`svm_model = SvmTrain.new(problem)`
`svm_predictor = SvmPrediction.new(svm_model)`
`svm_predictor.predict(1 => 1) # yields 5 stars`

About

No description, website, or topics provided.

Resources

Releases

No releases published

Languages

You can’t perform that action at this time.