weka 0.7.0-java → 0.7.1-java

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
- SHA1:
3
- metadata.gz: 4e684744d9a4272346ed9792eefc02bfb208be27
4
- data.tar.gz: ee45a7b675deb2eb28fcd72e65539900f61ecdd3
2
+ SHA256:
3
+ metadata.gz: 720dd1a5ec6a7bd6805c4d780f2bb049c84f84f5f0f4b000fc867fae85e206cc
4
+ data.tar.gz: c524af4d481d2dbb246537e1c7b3b3f799c6f2b9af9857b3ac481e10022f4242
5
5
  SHA512:
6
- metadata.gz: ba4aed5d7d2494904ca79c476f4cb4d0f7dd49cfb9380b17f02172e0ad650d3b3b1640cad017b472719ff2087f6bd4a71ae8df490e030180e47f1ef16b4849e8
7
- data.tar.gz: b6932262f8d3caceb0a66378014ab0f2f6efab25e2337bf640417107e5d9c76ce3c8f85e5e5d6ac659614c421fadf352fecd64b164f15726bd3c76d7ee310310
6
+ metadata.gz: 2cfeeaa97c729e57cd8f6f571afb1bf2f4488242cf2d48eb41dca79033fba742c17f3036d9ee60e5b90e08b2757e0e9b85e6aee4882e2d9ba4655c8fe6f55307
7
+ data.tar.gz: 86dba486f3133a92831591a5579c7dc3490369c5d2c5f77a436d200259c08a78e3e12e812d33c732abcdefc579f2512956fd0a7266ff0565b6ee7033c179a38e
@@ -1,7 +1,7 @@
1
- sudo: false
2
1
  language: ruby
3
2
 
4
3
  rvm:
5
- - jruby-9.0.0.0
4
+ - jruby-9.0.1.0
6
5
  - jruby-9.1.0.0
6
+ - jruby-9.2.0.0
7
7
  - jruby-head
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.7.1] – 2018-11-09
11
+ ### Changed
12
+ - Update Weka Jar dependency to weka-dev v3.9.3
13
+ - Update rake to \~>12.0, jar-dependencies to \~>0.4
14
+
15
+ ### Fixed
16
+ - Float::NAN check in Weka::Core::Attributes#internal_value_of
17
+
10
18
  ## [0.7.0] – 2018-01-01
11
19
  ### Added
12
20
  - Add new unsupervised attribute filters added in weka-dev v3.9.2
@@ -69,7 +77,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
69
77
  ## [0.1.0] – 2015-12-26
70
78
  Initial release
71
79
 
72
- [Unreleased]: https://github.com/paulgoetze/weka-jruby/compare/v0.7.0...HEAD
80
+ [Unreleased]: https://github.com/paulgoetze/weka-jruby/compare/v0.7.1...HEAD
81
+ [0.7.1]: https://github.com/paulgoetze/weka-jruby/compare/v0.7.0...v0.7.1
73
82
  [0.7.0]: https://github.com/paulgoetze/weka-jruby/compare/v0.6.0...v0.7.0
74
83
  [0.6.0]: https://github.com/paulgoetze/weka-jruby/compare/v0.5.0...v0.6.0
75
84
  [0.5.0]: https://github.com/paulgoetze/weka-jruby/compare/v0.4.0...v0.5.0
data/README.md CHANGED
@@ -3,6 +3,7 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/weka.svg)](http://badge.fury.io/rb/weka)
4
4
  [![Travis Build](https://travis-ci.org/paulgoetze/weka-jruby.svg)](https://travis-ci.org/paulgoetze/weka-jruby)
5
5
  [![Codacy Badge](https://api.codacy.com/project/badge/Grade/9634a6709ef545198e079a8daddff100)](https://www.codacy.com/app/paul-christoph-goetze/weka-jruby?utm_source=github.com&utm_medium=referral&utm_content=paulgoetze/weka-jruby&utm_campaign=Badge_Grade)
6
+ [![Open Source Helpers](https://www.codetriage.com/paulgoetze/weka-jruby/badges/users.svg)](https://www.codetriage.com/paulgoetze/weka-jruby)
6
7
 
7
8
  Machine Learning & Data Mining with JRuby based on the [Weka](http://www.cs.waikato.ac.nz/~ml/weka/index.html) Java library.
8
9
 
@@ -71,7 +71,7 @@ module Weka
71
71
  # The order of the if statements is important here, because a date is also
72
72
  # a numeric.
73
73
  def internal_value_of(value)
74
- return value if value === Float::NAN
74
+ return value if value.respond_to?(:nan?) && value.nan?
75
75
  return Float::NAN if [nil, '?'].include?(value)
76
76
  return parse_date(value.to_s) if date?
77
77
  return value.to_f if numeric?
@@ -1,3 +1,3 @@
1
1
  module Weka
2
- VERSION = '0.7.0'.freeze
2
+ VERSION = '0.7.1'.freeze
3
3
  end
@@ -24,10 +24,10 @@ Gem::Specification.new do |spec|
24
24
  spec.require_paths = ['lib']
25
25
 
26
26
  spec.add_development_dependency 'bundler', '~> 1.6'
27
- spec.add_development_dependency 'rake', '~> 10.0'
27
+ spec.add_development_dependency 'rake', '~> 12.0'
28
28
  spec.add_development_dependency 'rspec', '~> 3.0'
29
29
  spec.add_development_dependency 'shoulda-matchers', '~> 3.0'
30
30
 
31
- spec.add_runtime_dependency 'jar-dependencies', '~> 0.3.11'
32
- spec.requirements << 'jar nz.ac.waikato.cms.weka, weka-dev, 3.9.2'
31
+ spec.add_runtime_dependency 'jar-dependencies', '~> 0.4'
32
+ spec.requirements << 'jar nz.ac.waikato.cms.weka, weka-dev, 3.9.3'
33
33
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: weka
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: java
6
6
  authors:
7
7
  - Paul Götze
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-01-01 00:00:00.000000000 Z
11
+ date: 2018-11-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -29,7 +29,7 @@ dependencies:
29
29
  requirements:
30
30
  - - "~>"
31
31
  - !ruby/object:Gem::Version
32
- version: '10.0'
32
+ version: '12.0'
33
33
  name: rake
34
34
  prerelease: false
35
35
  type: :development
@@ -37,7 +37,7 @@ dependencies:
37
37
  requirements:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
- version: '10.0'
40
+ version: '12.0'
41
41
  - !ruby/object:Gem::Dependency
42
42
  requirement: !ruby/object:Gem::Requirement
43
43
  requirements:
@@ -71,7 +71,7 @@ dependencies:
71
71
  requirements:
72
72
  - - "~>"
73
73
  - !ruby/object:Gem::Version
74
- version: 0.3.11
74
+ version: '0.4'
75
75
  name: jar-dependencies
76
76
  prerelease: false
77
77
  type: :runtime
@@ -79,7 +79,7 @@ dependencies:
79
79
  requirements:
80
80
  - - "~>"
81
81
  - !ruby/object:Gem::Version
82
- version: 0.3.11
82
+ version: '0.4'
83
83
  description: A JRuby wrapper for the Weka library (http://www.cs.waikato.ac.nz/ml/weka/)
84
84
  email:
85
85
  - paul.christoph.goetze@gmail.com
@@ -162,9 +162,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
162
162
  - !ruby/object:Gem::Version
163
163
  version: '0'
164
164
  requirements:
165
- - jar nz.ac.waikato.cms.weka, weka-dev, 3.9.2
165
+ - jar nz.ac.waikato.cms.weka, weka-dev, 3.9.3
166
166
  rubyforge_project:
167
- rubygems_version: 2.6.14
167
+ rubygems_version: 2.7.6
168
168
  signing_key:
169
169
  specification_version: 4
170
170
  summary: Machine Learning & Data Mining with JRuby.