lib/rumale/clustering/k_medoids.rb in rumale-clustering-0.28.0 vs lib/rumale/clustering/k_medoids.rb in rumale-clustering-0.28.1

- old
+ new

@@ -43,10 +43,10 @@ n_clusters: n_clusters, metric: (metric == 'precomputed' ? 'precomputed' : 'euclidean'), init: (init == 'random' ? 'random' : 'k-means++'), max_iter: max_iter, tol: tol, - random_seed: (random_seed || srand) + random_seed: random_seed || srand } @rng = Random.new(@params[:random_seed]) end # Analysis clusters with given training data.