Class: OpenTox::Algorithm::Fminer

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

Class Method Summary collapse

Class Method Details

.create_feature_dataset(params) ⇒ Object



26
27
28
29
30
# File 'lib/algorithm.rb', line 26

def self.create_feature_dataset(params)
				LOGGER.debug File.basename(__FILE__) + ": creating feature dataset"
  resource = RestClient::Resource.new(params[:feature_generation_uri], :user => @@users[:users].keys[0], :password => @@users[:users].values[0])
  resource.post :dataset_uri => params[:dataset_uri], :feature_uri => params[:feature_uri]
end

.uriObject



32
33
34
# File 'lib/algorithm.rb', line 32

def self.uri
	File.join(@@config[:services]["opentox-algorithm"], "fminer")
end