Sha256: b8884ebcb7d8302e339d69ccb9d1e2f6b50b7695f75a28345a5b8eb8ce7264b8

Contents?: true

Size: 335 Bytes

Versions: 11

Compression:

Stored size: 335 Bytes

Contents

require 'libsvm/version'
require 'libsvm/libsvm_ext'
require 'libsvm/node'

module Libsvm
  module CoreExtensions
    module Collection
      def to_example
        Node.features(self)
      end
    end
  end
end

class Hash
  include Libsvm::CoreExtensions::Collection
end
class Array
  include Libsvm::CoreExtensions::Collection
end

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
rb-libsvm-1.2.0 lib/libsvm.rb
rb-libsvm-1.1.5 lib/libsvm.rb
rb-libsvm-1.1.4 lib/libsvm.rb
rb-libsvm-1.1.3 lib/libsvm.rb
rb-libsvm-1.1.2 lib/libsvm.rb
rb-libsvm-1.1.1 lib/libsvm.rb
rb-libsvm-1.1.0 lib/libsvm.rb
rb-libsvm-1.0.11 lib/libsvm.rb
rb-libsvm-1.0.10 lib/libsvm.rb
rb-libsvm-1.0.9 lib/libsvm.rb
rb-libsvm-1.0.8 lib/libsvm.rb