Sha256: c8213baa7c33042e7ee7351a17088e0f8e411859e616ba0b8da0e4c20f9af9ef

Contents?: true

Size: 460 Bytes

Versions: 2

Compression:

Stored size: 460 Bytes

Contents

# dependencies
require "ffi"

# stdlib
require "csv"
require "fileutils"
require "tempfile"

# modules
require "xlearn/utils"
require "xlearn/dmatrix"
require "xlearn/model"
require "xlearn/ffm"
require "xlearn/fm"
require "xlearn/linear"
require "xlearn/version"

module XLearn
  class Error < StandardError; end

  class << self
    attr_accessor :ffi_lib
  end
  self.ffi_lib = ["xlearn_api"]

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xlearn-0.1.1 lib/xlearn.rb
xlearn-0.1.0 lib/xlearn.rb