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: d709b80c14f654114520acd79c4413d3190b13cda61823f86a25b14336147d78
4
- data.tar.gz: e155c557302ebd4b7474c1d1664e2a7e77e07f8b3e3b77458b34c72f763e2188
3
+ metadata.gz: 8e3f31b7dd03b0f6c372f31bc5bbbe5eecdaeb3232050d794969571145cb90fd
4
+ data.tar.gz: b2c7319392325ce0e78359e275c3c3962d5b20634fd37a2aa693809d7d6224ef
5
5
  SHA512:
6
- metadata.gz: efa19aa4281bb1f26bd251239d1f110a205749e3167a0e3b6694be75d614fbf665cdfaa107e4f1e512d287c286fc841b86e6d55000dc71201a3883c6c2004a12
7
- data.tar.gz: 4ee237c5b58d27527777e59eddfcdfe2d846fd2714baca044fec7e6bd169dbeb409a33f8851ffe1f6170aa62fd748b24668d430b826d1fbfef030bb7c34bb1f4
6
+ metadata.gz: 9db1423a09fa7fd2d3308316cd26b321a93abca693d9bc372a902dbcc2cae3eebf7bedcf8a7e0b9223e5c82582241b05b20d5c8496c0a1d19ab1b84ca4abf83a
7
+ data.tar.gz: 8e8e9316d1ebc5b0f626b473740ec1ee4de9f295f46fbebbd7a71c2516ac279cc458ad5ce5de3985e671a41abdba32f06076bd5ea39a25f954bdf490f61640a6
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022-2023 Atsushi Tatsuma
1
+ Copyright (c) 2022-2024 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -60,9 +60,9 @@ module Rumale
60
60
  end
61
61
 
62
62
  def special_cases?(n_samples, n_classes, n_clusters)
63
- ((n_classes.zero? && n_clusters.zero?) ||
64
- (n_classes == 1 && n_clusters == 1) ||
65
- (n_classes == n_samples && n_clusters == n_samples))
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)
@@ -5,6 +5,6 @@ module Rumale
5
5
  # This module consists of the classes for model evaluation.
6
6
  module EvaluationMeasure
7
7
  # @!visibility private
8
- VERSION = '0.28.0'
8
+ VERSION = '0.29.0'
9
9
  end
10
10
  end
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.28.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: 2023-11-12 00:00:00.000000000 Z
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.28.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.28.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.4.20
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.