diff options
author | Andreas Maunz <andreas@maunz.de> | 2012-02-16 14:43:26 +0100 |
---|---|---|
committer | Andreas Maunz <andreas@maunz.de> | 2012-02-16 14:43:26 +0100 |
commit | 1eaa63419dd82b339d0f08230bbbe1c0ab2dfb7d (patch) | |
tree | 525652b1a6fc9b6d42feb3713100bbe3394b2380 | |
parent | 94f4526bcb73ec8586559ae8b476b5a73a176882 (diff) |
Regression: 'paths' as features merely by default.
May be overwritten by user via params[:feature_type]=trees
-rw-r--r-- | lazar.rb | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -144,7 +144,7 @@ post '/lazar/?' do params[:subjectid] = @subjectid prediction_feature = OpenTox::Feature.find params[:prediction_feature], @subjectid if prediction_feature.feature_type == "regression" && feature_generation_uri.match(/fminer/) - params[:feature_type] = "paths" + params[:feature_type] = "paths" unless params[:feature_type] end feature_dataset_uri = OpenTox::Algorithm::Generic.new(feature_generation_uri).run(params, OpenTox::SubTask.new(task,10,70)).to_s training_features = OpenTox::Dataset.new(feature_dataset_uri) |