Class: OpenTox::Algorithm::Lazar

Inherits:
Object
  • Object
show all
Includes:
OpenTox::Algorithm
Defined in:
lib/algorithm.rb

Overview

Create lazar prediction model

Instance Attribute Summary

Attributes included from OpenTox

#metadata, #uri

Instance Method Summary collapse

Methods included from OpenTox::Algorithm

effect, gauss, get_cdk_descriptors, get_jl_descriptors, get_ob_descriptors, isnull_or_singular?, load_ds_csv, min_frequency, numeric?, pc_descriptors, #run, sum_size, #to_rdfxml, zero_variance?

Methods included from OpenTox

#add_metadata, all, #delete, #load_metadata, sign_in, text_to_html, #to_rdfxml

Constructor Details

#initialize(subjectid = nil) ⇒ Lazar

Initialize lazar algorithm



190
191
192
193
# File 'lib/algorithm.rb', line 190

def initialize(subjectid=nil)
  super File.join(CONFIG[:services]["opentox-algorithm"], "lazar")
  (subjectid)
end