summaryrefslogtreecommitdiff
path: root/lib/feature.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2015-07-19 21:26:03 +0200
committerChristoph Helma <helma@in-silico.ch>2015-07-19 21:26:03 +0200
commit51e7a29c8aac568ff8ef04de5b15d2f6db8f66da (patch)
tree0f714ff3b20bb2cf156cfa9d4f802581f38688bb /lib/feature.rb
parent52fef792922c59d102825193fff05be9c3fa88a8 (diff)
lazar predictions working in principle
Diffstat (limited to 'lib/feature.rb')
-rw-r--r--lib/feature.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/feature.rb b/lib/feature.rb
index 43cf7e9..b2ddce4 100644
--- a/lib/feature.rb
+++ b/lib/feature.rb
@@ -1,10 +1,16 @@
module OpenTox
+ # TODO subclass features
class Feature
field :string, type: Boolean, default: false
field :nominal, type: Boolean, default: false
field :numeric, type: Boolean, default: false
+ field :substructure, type: Boolean, default: false
+ field :prediction, type: Boolean
+ field :smarts, type: String
+ field :pValue, type: Float
+ field :effect, type: String
field :accept_values, type: Array
# Find out feature type