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 +5 -5
- data/.travis.yml +2 -2
- data/CHANGELOG.md +10 -1
- data/README.md +1 -0
- data/lib/weka/core/attribute.rb +1 -1
- data/lib/weka/version.rb +1 -1
- data/weka.gemspec +3 -3
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 720dd1a5ec6a7bd6805c4d780f2bb049c84f84f5f0f4b000fc867fae85e206cc
|
4
|
+
data.tar.gz: c524af4d481d2dbb246537e1c7b3b3f799c6f2b9af9857b3ac481e10022f4242
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2cfeeaa97c729e57cd8f6f571afb1bf2f4488242cf2d48eb41dca79033fba742c17f3036d9ee60e5b90e08b2757e0e9b85e6aee4882e2d9ba4655c8fe6f55307
|
7
|
+
data.tar.gz: 86dba486f3133a92831591a5579c7dc3490369c5d2c5f77a436d200259c08a78e3e12e812d33c732abcdefc579f2512956fd0a7266ff0565b6ee7033c179a38e
|
data/.travis.yml
CHANGED
data/CHANGELOG.md
CHANGED
@@ -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.
|
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
|
|
data/lib/weka/core/attribute.rb
CHANGED
@@ -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
|
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?
|
data/lib/weka/version.rb
CHANGED
data/weka.gemspec
CHANGED
@@ -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', '~>
|
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.
|
32
|
-
spec.requirements << 'jar nz.ac.waikato.cms.weka, weka-dev, 3.9.
|
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.
|
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-
|
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: '
|
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: '
|
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.
|
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.
|
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.
|
165
|
+
- jar nz.ac.waikato.cms.weka, weka-dev, 3.9.3
|
166
166
|
rubyforge_project:
|
167
|
-
rubygems_version: 2.6
|
167
|
+
rubygems_version: 2.7.6
|
168
168
|
signing_key:
|
169
169
|
specification_version: 4
|
170
170
|
summary: Machine Learning & Data Mining with JRuby.
|