diff options
author | Christoph Helma <helma@in-silico.ch> | 2013-07-04 18:17:47 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2013-07-04 18:17:47 +0200 |
commit | 825d032d47dd2b52aab11bc1423a7bca9675a44b (patch) | |
tree | ee1712f23ff64dc0f78ee108dfba5d4a91b59eff | |
parent | 23ac5ebadb9eabc666cbc322ab03dbc61937d5dd (diff) |
Algorithm::Generic and Model::Generic classes.
-rw-r--r-- | feature-selection.rb | 2 | ||||
-rw-r--r-- | fminer.rb | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/feature-selection.rb b/feature-selection.rb index dd2f683..2dae47f 100644 --- a/feature-selection.rb +++ b/feature-selection.rb @@ -18,7 +18,7 @@ module OpenTox # Get representation of Recursive Feature Elimination algorithm # @return [String] Representation get "/feature-selection/recursive-feature-elimination/?" do - algorithm = OpenTox::Algorithm.new(to('/feature-selection/recursive-feature-elimination',:full)) + algorithm = OpenTox::Algorithm::Generic.new(to('/feature-selection/recursive-feature-elimination',:full)) algorithm.metadata = { RDF::DC.title => 'Recursive Feature Elimination', RDF::DC.creator => "andreas@maunz.de", @@ -27,7 +27,7 @@ module OpenTox # Get representation of BBRC algorithm # @return [String] Representation get "/fminer/bbrc/?" do - algorithm = OpenTox::Algorithm.new(to('/fminer/bbrc',:full), @subjectid) + algorithm = OpenTox::Algorithm::Generic.new(to('/fminer/bbrc',:full), @subjectid) algorithm.metadata = { RDF::DC.title => 'Backbone Refinement Class Representatives', RDF::DC.creator => "andreas@maunz.de", @@ -49,7 +49,7 @@ module OpenTox # Get representation of BBRC-sample algorithm # @return [String] Representation get "/fminer/bbrc/sample/?" do - algorithm = OpenTox::Algorithm.new(to('/fminer/bbrc/sample',:full), @subjectid) + algorithm = OpenTox::Algorithm::Generic.new(to('/fminer/bbrc/sample',:full), @subjectid) algorithm.metadata = { RDF::DC.title => 'Backbone Refinement Class Representatives, obtained from samples of a dataset', RDF::DC.creator => "andreas@maunz.de", @@ -71,7 +71,7 @@ module OpenTox # Get representation of fminer LAST-PM algorithm # @return [String] Representation get "/fminer/last/?" do - algorithm = OpenTox::Algorithm.new(to('/fminer/last',:full), @subjectid) + algorithm = OpenTox::Algorithm::Generic.new(to('/fminer/last',:full), @subjectid) algorithm.metadata = { RDF::DC.title => 'Latent Structure Pattern Mining descriptors', RDF::DC.creator => "andreas@maunz.de", @@ -92,7 +92,7 @@ module OpenTox # Get representation of matching algorithm # @return [String] Representation get "/fminer/:method/match?" do - algorithm = OpenTox::Algorithm.new(to("/fminer/#{params[:method]}/match",:full), @subjectid) + algorithm = OpenTox::Algorithm::Generic.new(to("/fminer/#{params[:method]}/match",:full), @subjectid) algorithm.metadata = { RDF::DC.title => 'fminer feature matching', RDF::DC.creator => "mguetlein@gmail.com, andreas@maunz.de", |