Module: ThunderSVM

Defined in:
lib/thundersvm.rb,
lib/thundersvm/ffi.rb,
lib/thundersvm/model.rb,
lib/thundersvm/version.rb,
lib/thundersvm/regressor.rb,
lib/thundersvm/classifier.rb

Defined Under Namespace

Modules: FFI Classes: Classifier, Error, Model, Regressor

Constant Summary collapse

VERSION =
"0.1.4"

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.ffi_libObject

Returns the value of attribute ffi_lib.



16
17
18
# File 'lib/thundersvm.rb', line 16

def ffi_lib
  @ffi_lib
end

Class Method Details

.load_model(path) ⇒ Object



32
33
34
35
36
# File 'lib/thundersvm.rb', line 32

def self.load_model(path)
  model = Model.new
  model.load_model(path)
  model
end