Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

6 Commits

Repository files navigation

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

Stars

12 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages