summaryrefslogtreecommitdiff
path: root/TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb
diff options
context:
space:
mode:
Diffstat (limited to 'TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb')
-rw-r--r--TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb b/TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb
index 2c4b48d..635a036 100644
--- a/TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb
+++ b/TD50/CV_ds_pctype_algo_rseed_RAT_ttv.rb
@@ -39,6 +39,7 @@ pc_ds_uri = ds[ds_name][pc_type]
algo_params = "prediction_algorithm=#{algo}"
algo_params += ";pc_type=#{pc_type}" unless pc_type == "nil"
algo_params += ";feature_dataset_uri=#{pc_ds_uri}" unless pc_type == "nil"
+algo_params += ";lib=cdk"
#algo_params += ";min_sim=0.3"
#algo_params += ";min_chisq_significance=0.9"
#algo_params += ";min_frequency=6"
@@ -56,7 +57,7 @@ cv_args[:test_dataset_uri] = ds_test_uri
cv_args[:training_dataset_uri] = ds_training_uri
#cv_args[:test_target_dataset_uri] = ds_test_target_uri
cv_args[:prediction_feature] = prediction_feature
-cv_args[:algorithm_uri] = "http://toxcreate3.in-silico.ch:8086/algorithm/lazar"
+cv_args[:algorithm_uri] = File.join(CONFIG[:services]["opentox-algorithm"],"lazar")
cv_args[:algorithm_params] = algo_params
#cv_args[:stratified] = false
#cv_args[:random_seed] = r_seed