Sha256: 497c9e10fe4b4cb05ce0b808ce4dbe57a95d24bbbb7faa9ce9fc66fb6bd7c7e3
Contents?: true
Size: 325 Bytes
Versions: 1
Compression:
Stored size: 325 Bytes
Contents
require_relative 'interface_helper' # # FeatureVector interface # # @author Andreas Eger class FeatureVector < InterfaceHelper attribute :word_data attribute :classification_arrays attribute :labels def label labels[classification] end def data word_data + classification_arrays[classification] end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
svm_helper-0.1.0 | lib/svm_helper/feature_vector.rb |