kazius-alerts 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6e9de1a8aa55a83f154954af7b2722f868d4d171
4
- data.tar.gz: f1f6eec3e8ffe4a80374da84c559f4f8987ae215
3
+ metadata.gz: 5ac364ebc693f3d987ebe695bc59524bfcb5e020
4
+ data.tar.gz: 7b9e508afe3460b1be9a16e9c5df2bcb8f86e50a
5
5
  SHA512:
6
- metadata.gz: 9e3ffc32bacc08799341c0497c71b9cfbbcde7307b79ae67a45339deae86f0131f9a4298833addd09794889c636129206e4e62b3e7c9a0e803d23e71ca99be20
7
- data.tar.gz: 259081db155b37d791f3d5ad348506cb6926e1fb8acfb848843a7489c62a94e16df8841b7731536f3e5a3501ba80d7c9de6609484d1c86ff4b3886fa87102ba1
6
+ metadata.gz: 988a2d77611304fce6dcb7d5a7f0ae424ce4bb407db0aa14d2d94fb54a6c771d3e08c28f715db019f59056f39d8c122ce82b58b0d3c706e6b02a4a13299dead9
7
+ data.tar.gz: f55c6f3cca6cba1dec48acfe5970d10d1cece2ae75bb6afd41489e27257e5246d10da47d0144e4fc023161f8dbd145300a42af954f5d4fb35af1d181c80297f4
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = "kazius-alerts"
3
- s.version = "0.0.3"
3
+ s.version = "0.0.4"
4
4
  s.authors = ["Christoph Helma"]
5
5
  s.email = ["helma@in-silico.ch"]
6
6
  s.homepage = "http://github.com/opentox/kazius-alerts"
@@ -83,24 +83,3 @@ class KaziusAlerts
83
83
  end
84
84
 
85
85
  end
86
-
87
- class ConsensusMutagenicity
88
-
89
- def self.predict smiles
90
- sa_prediction = KaziusAlerts.predict smiles
91
- lazar_prediction = Lazar.predict smiles
92
- confidence = 0
93
- if sa_prediction[:prediction] == false && lazar_mutagenicity.prediction == 0
94
- confidence = 0.85
95
- elsif sa_prediction[:prediction] == true && lazar_mutagenicity.prediction == 1
96
- confidence = 0.85 * ( 1 - sa_prediction[:error_product] )
97
- elsif sa_prediction[:prediction] == false && lazar_mutagenicity.prediction == 1
98
- confidence = 0.11
99
- elsif sa_prediction[:prediction] == true && lazar_mutagenicity.prediction == 0
100
- confidence = ( 1 - sa_prediction[:error_product] ) - 0.57
101
- end
102
- {:prediction => prediction, :confidence => confidence}
103
- end
104
-
105
- end
106
-
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kazius-alerts
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christoph Helma