danger_sense 0.1.0 → 0.1.1

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
  SHA256:
3
- metadata.gz: 19e2cdd4fbe488c6ba4c5464e63d061011ecf418a56de9381fdd1b057ac5e18e
4
- data.tar.gz: ca879f209fe0d286ef7e3afeabc37fd94a536c0a06c20b31ee929ed228fa3c1b
3
+ metadata.gz: 5257162d34aa86cb22b6b3abc08489a6c7931066fedef8b3e7df8ffe1e243e58
4
+ data.tar.gz: df7eedcb1e8bd64ab4c2bdb588b570a2a2da4bda019fac8bd71ad029693788df
5
5
  SHA512:
6
- metadata.gz: dacf6d9d897dc5fea46edb76f6257eba095a90d44ccce29903965a3a1b144447b712901cae0498f38b36819948b844db8ab1194432fc7df23adef24a39860aed
7
- data.tar.gz: 48601954bee6216b542cdc830af663afa0812678d0d0b4ad0291c73d5477d42d2671c294168a56b773d84f41eee43f7cfbc1ee7fad9136952916a326890a3b95
6
+ metadata.gz: fac07dbbc661891f707c24dd3ec47aecdeb9834b7ac0a8ffaa415df76d4a2ca5390badff90666b1a8c4053b2b633aefc8bdd9af051db7c4c653eb674ee426c6d
7
+ data.tar.gz: 4fd23a060fb3a110b019580905df6f48d284e4349954d250fda0c77197393a74296374e08da99f6103660237408f3a459139f8188b33e184ec6e69b49103b39a
data/lib/danger_sense.rb CHANGED
@@ -26,7 +26,7 @@ module DangerSense
26
26
  [81.0, "Danger"], [94.5, "Critical"], [108.0, "Automatic"],
27
27
  ]
28
28
 
29
- dec_tree = DecisionTree::ID3Tree.new(attributes, training, 1, :continuous); dec_tree.train
29
+ dec_tree = DecisionTree::ID3Tree.new(attribute, training, 1, :continuous); dec_tree.train
30
30
  test = [input]
31
31
 
32
32
  decision = dec_tree.predict(test)
@@ -1,3 +1,3 @@
1
1
  module DangerSense
2
- VERSION = "0.1.0"
2
+ VERSION = "0.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: danger_sense
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - LWFlouisa