Sha256: 951bd0cb4a024111097ca5e92fde6eb9a36e94c1550712b3884f7b423e2ea52e

Contents?: true

Size: 249 Bytes

Versions: 2

Compression:

Stored size: 249 Bytes

Contents

require_relative 'interface_helper'
#
# FeatureVector interface
#
# @author Andreas Eger
class FeatureVector < InterfaceHelper
  attribute :word_data
  attribute :classification
  attribute :label

  def data
    word_data + classification
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
svm_helper-0.2.1 lib/svm_helper/feature_vector.rb
svm_helper-0.1.1 lib/svm_helper/feature_vector.rb