lib/rumale/kernel_approximation/nystroem.rb in rumale-kernel_approximation-0.28.0 vs lib/rumale/kernel_approximation/nystroem.rb in rumale-kernel_approximation-0.28.1
- old
+ new
@@ -52,10 +52,10 @@
kernel: kernel,
gamma: gamma,
degree: degree,
coef: coef,
n_components: n_components,
- random_seed: (random_seed || srand)
+ random_seed: random_seed || srand
}
@rng = Random.new(@params[:random_seed])
end
# Fit the model with given training data.