diff options
author | Christoph Helma <helma@in-silico.de> | 2010-01-07 12:22:47 +0100 |
---|---|---|
committer | Christoph Helma <helma@in-silico.de> | 2010-01-07 12:22:47 +0100 |
commit | c4d68eb599a6b563ac9967d3884ea31b0d619e38 (patch) | |
tree | 7fae9829ab42e04e39e34635b604ea8932c333bd /lib/algorithm.rb | |
parent | f178a17d3318082dfa923582715b39d72bd07c32 (diff) | |
parent | be07d3be0cc3236a22a47f0905c99f96508c9587 (diff) |
find method fixed
Diffstat (limited to 'lib/algorithm.rb')
-rw-r--r-- | lib/algorithm.rb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/lib/algorithm.rb b/lib/algorithm.rb index 7fe08fa..9918110 100644 --- a/lib/algorithm.rb +++ b/lib/algorithm.rb @@ -1,7 +1,7 @@ module OpenTox module Algorithm - class Fminer #< OpenTox + class Fminer include Owl def initialize @@ -20,7 +20,7 @@ module OpenTox end end - class Lazar #< OpenTox + class Lazar include Owl def initialize @@ -37,6 +37,11 @@ module OpenTox { :scope => "mandatory", :value => "feature_generation_uri" } } end + + def self.create_model(params) + @uri = RestClient.post File.join(@@config[:services]["opentox-algorithm"], "lazar"), :dataset_uri => params[:dataset_uri], :feature_uri => params[:feature_uri], :feature_generation_uri => File.join(@@config[:services]["opentox-algorithm"], "fminer") + end + end class Similarity |