Sha256: 686dae231be37e2345e8b920f9e2ea03a74e598793524434cf77f17e2810e3fd

Contents?: true

Size: 340 Bytes

Versions: 3

Compression:

Stored size: 340 Bytes

Contents

module DF #:nodoc:
  # Turns Data Frame into a feeder for Carl Youngblood's Simple Bayesian classifier.  
  # Will install it if you don't have it.
  module SBN
    begin
      gem 'sbn'
      require 'sbn'
    rescue
      `sudo gem install sbn`
      gem 'sbn'
      require 'sbn'
    end
  end
end

class DataFrame
  include DF::SBN
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
davidrichards-data_frame-0.0.19 lib/data_frame/sbn.rb
davidrichards-data_frame-0.0.20 lib/data_frame/sbn.rb
data_frame-0.1.8 lib/data_frame/sbn.rb