rumale-kernel_approximation 0.25.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 727dcacffb40599cb49eb1034fd5b9b28f63055deeafc15b17bfbb71259a63f8
|
4
|
+
data.tar.gz: 6cfad79d539b390b838405e2bade390c14efebb0cf5946733113ea8988dc745d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d26361201737e2d8268f0e79a31cd40456c1f18758a600fbcb884b3c247390d1f3a194c93732e7055b18e4412c741fed0718414e10c64dfab5dce476c1e24f7c
|
7
|
+
data.tar.gz: 7e4c68616b40c390fa7228d528775f8389821d80c20f5bff31c02091498ec6adce3a64d880771b3bafd609f955622a8c3d8ed7a5f37d61cf848176f2ee5368ed
|
@@ -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])
|
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.
|
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: 2023-
|
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.
|
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.
|
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,
|