lib/rumale/clustering/power_iteration.rb in rumale-clustering-0.28.0 vs lib/rumale/clustering/power_iteration.rb in rumale-clustering-0.28.1
- old
+ new
@@ -53,10 +53,10 @@
gamma: gamma,
init: (init == 'random' ? 'random' : 'k-means++'),
max_iter: max_iter,
tol: tol,
eps: eps,
- random_seed: (random_seed || srand)
+ random_seed: random_seed || srand
}
end
# Analysis clusters with given training data.
#