summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordv <dv@dv.de>2011-08-03 16:42:27 +0200
committerdv <dv@dv.de>2011-08-03 16:42:27 +0200
commit8831f981cc246f00d39689843698f6c70475bf26 (patch)
treed3e51479b724848824bb80ef1f9dc3ab21725418
parent8f858ee951da1487dff34186dd4b740fde552546 (diff)
removed comments
-rw-r--r--lib/dataset.rb1
-rw-r--r--lib/model.rb7
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/dataset.rb b/lib/dataset.rb
index 2147a4d..5ebad0f 100644
--- a/lib/dataset.rb
+++ b/lib/dataset.rb
@@ -283,7 +283,6 @@ module OpenTox
@features[feature] = {} unless @features[feature]
@data_entries[compound] = {} unless @data_entries[compound]
@data_entries[compound][feature] = [] unless @data_entries[compound][feature]
- #LOGGER.debug "dv --------------- #{value.class}"
@data_entries[compound][feature] << value if value!=nil
end
diff --git a/lib/model.rb b/lib/model.rb
index d2f86b0..d69a827 100644
--- a/lib/model.rb
+++ b/lib/model.rb
@@ -225,17 +225,10 @@ module OpenTox
end
if OpenTox::Feature.find(metadata[OT.dependentVariables]).feature_type == "regression"
- #t1 = Time.now
- #LOGGER.debug "dv ----------- start"
all_activities = []
all_activities = @activities.values.flatten.collect! { |i| i.to_f }
- #LOGGER.debug "dv ------------------ min_toscale: #{all_activities.to_scale.min}"
- #LOGGER.debug "dv ------------------ max_toscale: #{all_activities.to_scale.max}"
- #LOGGER.debug "dv ------------------ min: #{@activities.values.flatten.to_scale.min}"
- #LOGGER.debug "dv ------------------ max: #{@activities.values.max}"
@prediction_min_max[0] = (all_activities.to_scale.min/2)
@prediction_min_max[1] = (all_activities.to_scale.max*2)
- #LOGGER.debug "dv ----------- end. Duration: '#{Time.now - t1}'"
end
unless database_activity(subjectid) # adds database activity to @prediction_dataset