Sha256: 0017e5289aff17e3621cd98e58b4aecaee3828aa49a6d551f4fba72a71513a5e

Contents?: true

Size: 401 Bytes

Versions: 2

Compression:

Stored size: 401 Bytes

Contents

# dependencies
require "ffi"

# modules
require "vowpalwabbit/model"
require "vowpalwabbit/classifier"
require "vowpalwabbit/regressor"
require "vowpalwabbit/version"

module VowpalWabbit
  class Error < StandardError; end

  class << self
    attr_accessor :ffi_lib
  end
  self.ffi_lib = ["vw_c_wrapper", "libvw_c_wrapper.so.0"]

  # friendlier error message
  autoload :FFI, "vowpalwabbit/ffi"
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
vowpalwabbit-0.2.0 lib/vowpalwabbit.rb
vowpalwabbit-0.1.3 lib/vowpalwabbit.rb