module BatchExperiment::UKP5Extractor

@private Extractor for the output of the run_ukp5.out program available at github.com/henriquebecker91/masters. Not of interest for the majority of the users of this gem. Kept as example, and for this gem author personal use.

Public Class Methods

extract_from_lines(lines) click to toggle source

(see BatchExperiment::Extractor#extract_from_lines)

# File lib/batch_experiment/sample_extractors.rb, line 40
def self.extract_from_lines(lines)
  ['Seconds', 'ext_time', 'ext_mem', 'opt'].map do | label |
    Extractor.get_field(lines, label)
  end
end
names() click to toggle source

(see BatchExperiment::Extractor#names)

# File lib/batch_experiment/sample_extractors.rb, line 35
def self.names
  ['internal_time', 'external_time', 'external_memory', 'opt']
end