diff options
author | Christoph Helma <helma@in-silico.ch> | 2015-07-27 20:51:25 +0200 |
---|---|---|
committer | Christoph Helma <helma@in-silico.ch> | 2015-07-27 20:51:25 +0200 |
commit | 3cea6abe3606ea586b733e943737f77d58f215f9 (patch) | |
tree | dac742811597f550ea0eef5793af2d9596d99638 /lib/feature.rb | |
parent | cd1cba67830505cd2d23ec83e64c0beed42a9f28 (diff) |
reasonable query performace for data_entries
Diffstat (limited to 'lib/feature.rb')
-rw-r--r-- | lib/feature.rb | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lib/feature.rb b/lib/feature.rb index b2f9a93..de8e4c9 100644 --- a/lib/feature.rb +++ b/lib/feature.rb @@ -8,6 +8,8 @@ module OpenTox field :calculated, type: Boolean field :supervised, type: Boolean field :source, as: :title, type: String + #belongs_to :dataset + #belongs_to :data_entry end class NominalFeature < Feature @@ -36,10 +38,9 @@ module OpenTox end class FminerSmarts < Smarts - field :training_algorithm, type: String - field :training_compound_ids, type: Array - field :training_feature_id, type: BSON::ObjectId - field :training_parameters, type: Hash + field :pValue, type: Float + field :effect, type: String + field :dataset_id def initialize params super params supervised = true |