summaryrefslogtreecommitdiff
path: root/lib/feature.rb
diff options
context:
space:
mode:
authorChristoph Helma <helma@in-silico.ch>2016-05-09 15:51:50 +0200
committerChristoph Helma <helma@in-silico.ch>2016-05-09 15:51:50 +0200
commita18218bd1586edd8097729d242abb8947d6988df (patch)
treee94ac3bffb25751ed7e11a626ddde8b96f1de816 /lib/feature.rb
parente2e7045c3efeb59dd650b78772009281e7fa56a0 (diff)
parent0b416e3b55a9256915a2427afe5bc112bcabc203 (diff)
development branch mergedv0.9.3
Diffstat (limited to 'lib/feature.rb')
-rw-r--r--lib/feature.rb17
1 files changed, 1 insertions, 16 deletions
diff --git a/lib/feature.rb b/lib/feature.rb
index a308a55..b58946b 100644
--- a/lib/feature.rb
+++ b/lib/feature.rb
@@ -5,11 +5,11 @@ module OpenTox
field :nominal, type: Boolean
field :numeric, type: Boolean
field :measured, type: Boolean
+ field :calculated, type: Boolean
end
# Feature for categorical variables
class NominalFeature < Feature
- # TODO check if accept_values are still needed
field :accept_values, type: Array
def initialize params
super params
@@ -34,21 +34,6 @@ module OpenTox
end
end
- # Feature for supervised fragments from Fminer algorithm
- class FminerSmarts < Smarts
- field :p_value, type: Float
- # TODO check if effect is used
- field :effect, type: String
- field :dataset_id
- end
-
- # Feature for physico-chemical descriptors
- class PhysChemDescriptor < NumericFeature
- field :algorithm, type: String, default: "OpenTox::Algorithm::Descriptor.physchem"
- field :parameters, type: Hash
- field :creator, type: String
- end
-
# Feature for categorical bioassay results
class NominalBioAssay < NominalFeature
end