diff options
author | Christoph Helma <helma@in-silico.ch> | 2016-06-01 10:37:00 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2016-06-01 10:37:00 +0200 |
commit | 65b69d4c35890a7a2d2992108f0cf4eb5202dd1b (patch) | |
tree | d8583d3e745cc21a6897081d28e157f5c0c16024 /lib/model.rb | |
parent | b515a0cfedb887a2af753db6e4a08ae1af430cad (diff) |
validation tests fixed
Diffstat (limited to 'lib/model.rb')
-rw-r--r-- | lib/model.rb | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/model.rb b/lib/model.rb index 988cac9..81f9629 100644 --- a/lib/model.rb +++ b/lib/model.rb @@ -33,7 +33,6 @@ module OpenTox #send(feature_selection_algorithm.to_sym) if feature_selection_algorithm save - self end def correlation_filter @@ -203,7 +202,7 @@ module OpenTox }.each do |key,value| model.neighbor_algorithm_parameters[key] ||= value end - model.neighbor_algorithm_parameters[:type] = "MP2D" if training_dataset.substances.first.is_a? Compound + model.neighbor_algorithm_parameters[:type] ||= "MP2D" if training_dataset.substances.first.is_a? Compound model.save model end |