summaryrefslogtreecommitdiff
path: root/helper.rb
diff options
context:
space:
mode:
authormr <mr@mrautenberg.de>2011-07-15 12:21:01 +0200
committermr <mr@mrautenberg.de>2011-07-15 12:24:15 +0200
commit46451d215e87c8009c95a894522cb44b214e0e57 (patch)
treedcdd3c6a8fc403e6f589bb0762a7efec0814445b /helper.rb
parent183fa2384e642374e7b51ba10aaa29c20bff549f (diff)
crossvalidation confusion matrix multinominal
Diffstat (limited to 'helper.rb')
-rw-r--r--helper.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/helper.rb b/helper.rb
index 0acb90e..408f8bc 100644
--- a/helper.rb
+++ b/helper.rb
@@ -53,7 +53,7 @@ helpers do
def sort(descriptors)
features = {:activating => [], :deactivating => []}
- descriptors.each do |d|
+ descriptors.each do |d|
if d[OT.effect] =~ TRUE_REGEXP
features[:activating] << {:smarts => d[OT.smarts],:p_value => d[OT.pValue]}
elsif d[OT.effect] =~ FALSE_REGEXP