rumale-kernel_approximation 0.24.0 → 0.26.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: 30bd034634876366a9bcb1c4aad391a8447b2b6e4c9c11ef2626c20a55d5fbf6
4
- data.tar.gz: bd072bc7a8927e5702ff4ec3bce9e2b289672d31bdab8503fcd77045a6d5d3eb
3
+ metadata.gz: 727dcacffb40599cb49eb1034fd5b9b28f63055deeafc15b17bfbb71259a63f8
4
+ data.tar.gz: 6cfad79d539b390b838405e2bade390c14efebb0cf5946733113ea8988dc745d
5
5
  SHA512:
6
- metadata.gz: ab986c1eac6cc07412dbbcf025f5951ba42f6cf1f93cc4b9c7dcf7c815b0834a7ba24aa713999a0b97b0f4e065e4f2e705238baaca83a91cca0bf5c8cea5771f
7
- data.tar.gz: 2c6abdd6c60d68353da3745a32338daa782ac84a1f1cd47e08816ea393a35d7d5199dfcdca0af4dede04bb5b95291cdc2424a01e69ba1734f3291c18d44d027a
6
+ metadata.gz: d26361201737e2d8268f0e79a31cd40456c1f18758a600fbcb884b3c247390d1f3a194c93732e7055b18e4412c741fed0718414e10c64dfab5dce476c1e24f7c
7
+ data.tar.gz: 7e4c68616b40c390fa7228d528775f8389821d80c20f5bff31c02091498ec6adce3a64d880771b3bafd609f955622a8c3d8ed7a5f37d61cf848176f2ee5368ed
data/LICENSE.txt CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2022 Atsushi Tatsuma
1
+ Copyright (c) 2022-2023 Atsushi Tatsuma
2
2
  All rights reserved.
3
3
 
4
4
  Redistribution and use in source and binary forms, with or without
@@ -71,7 +71,7 @@ module Rumale
71
71
  # initialize some variables.
72
72
  sub_rng = @rng.dup
73
73
  n_samples = x.shape[0]
74
- n_components = [1, [@params[:n_components], n_samples].min].max
74
+ n_components = [1, [@params[:n_components], n_samples].min].max # rubocop:disable Style/ComparableClamp
75
75
 
76
76
  # random sampling.
77
77
  @component_indices = Numo::Int32.cast(Array(0...n_samples).shuffle(random: sub_rng)[0...n_components])
@@ -5,6 +5,6 @@ module Rumale
5
5
  # Module for kernel approximation algorithms.
6
6
  module KernelApproximation
7
7
  # @!visibility private
8
- VERSION = '0.24.0'
8
+ VERSION = '0.26.0'
9
9
  end
10
10
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rumale-kernel_approximation
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.24.0
4
+ version: 0.26.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - yoshoku
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-12-31 00:00:00.000000000 Z
11
+ date: 2023-02-19 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.24.0
33
+ version: 0.26.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.24.0
40
+ version: 0.26.0
41
41
  description: |
42
42
  Rumale::KernelApproximation provides kernel approximation algorithms,
43
43
  such as RBF feature mapping and Nystroem method,