rumale-evaluation_measure 0.28.0 → 0.29.0
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8e3f31b7dd03b0f6c372f31bc5bbbe5eecdaeb3232050d794969571145cb90fd
|
4
|
+
data.tar.gz: b2c7319392325ce0e78359e275c3c3962d5b20634fd37a2aa693809d7d6224ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9db1423a09fa7fd2d3308316cd26b321a93abca693d9bc372a902dbcc2cae3eebf7bedcf8a7e0b9223e5c82582241b05b20d5c8496c0a1d19ab1b84ca4abf83a
|
7
|
+
data.tar.gz: 8e8e9316d1ebc5b0f626b473740ec1ee4de9f295f46fbebbd7a71c2516ac279cc458ad5ce5de3985e671a41abdba32f06076bd5ea39a25f954bdf490f61640a6
|
data/LICENSE.txt
CHANGED
@@ -60,9 +60,9 @@ module Rumale
|
|
60
60
|
end
|
61
61
|
|
62
62
|
def special_cases?(n_samples, n_classes, n_clusters)
|
63
|
-
(
|
64
|
-
|
65
|
-
|
63
|
+
(n_classes.zero? && n_clusters.zero?) ||
|
64
|
+
(n_classes == 1 && n_clusters == 1) ||
|
65
|
+
(n_classes == n_samples && n_clusters == n_samples)
|
66
66
|
end
|
67
67
|
|
68
68
|
def comb_two(k)
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumale-evaluation_measure
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- yoshoku
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2024-03-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: numo-narray
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 0.
|
33
|
+
version: 0.29.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.
|
40
|
+
version: 0.29.0
|
41
41
|
description: |
|
42
42
|
Rumale::EvaluationMeasure provides evaluation measures,
|
43
43
|
such as accuracy, precision, recall, and f-score,
|
@@ -97,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
97
97
|
- !ruby/object:Gem::Version
|
98
98
|
version: '0'
|
99
99
|
requirements: []
|
100
|
-
rubygems_version: 3.
|
100
|
+
rubygems_version: 3.5.7
|
101
101
|
signing_key:
|
102
102
|
specification_version: 4
|
103
103
|
summary: Rumale::EvaluationMeasure provides evaluation measures with Rumale interface.
|