lib/rumale/clustering/spectral_clustering.rb in rumale-clustering-0.28.0 vs lib/rumale/clustering/spectral_clustering.rb in rumale-clustering-0.28.1
- old
+ new
@@ -50,10 +50,10 @@
affinity: affinity,
gamma: gamma,
init: (init == 'random' ? 'random' : 'k-means++'),
max_iter: max_iter,
tol: tol,
- random_seed: (random_seed || srand)
+ random_seed: random_seed || srand
}
end
# Analysis clusters with given training data.
# To execute this method, Numo::Linalg must be loaded.